Sun Jun 12 11:59:20 2011 UTC ()
Update with a working MASTER_SITES, and to FETCH_USING curl,
since ftp does not handle https: URLs.


(schnoebe)
diff -r1.20 -r1.21 pkgsrc/textproc/py-html2text/Makefile

cvs diff -r1.20 -r1.21 pkgsrc/textproc/py-html2text/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-html2text/Makefile 2011/06/09 06:21:38 1.20
+++ pkgsrc/textproc/py-html2text/Makefile 2011/06/12 11:59:20 1.21
@@ -1,29 +1,31 @@ @@ -1,29 +1,31 @@
1# $NetBSD: Makefile,v 1.20 2011/06/09 06:21:38 schmonz Exp $ 1# $NetBSD: Makefile,v 1.21 2011/06/12 11:59:20 schnoebe Exp $
2# 2#
3 3
4DISTNAME= aaronsw-${GHNAME}-${GHVERSION}-0-g${GHCOMMIT} 4DISTNAME= aaronsw-${GHNAME}-${GHVERSION}-0-g${GHCOMMIT}
5GHNAME= html2text 5GHNAME= html2text
6GHVERSION= 3.02 6GHVERSION= 3.02
7GHCOMMIT= d9bf7d6 7GHCOMMIT= d9bf7d6
8PKGNAME= ${PYPKGPREFIX}-${GHNAME}-${GHVERSION} 8PKGNAME= ${PYPKGPREFIX}-${GHNAME}-${GHVERSION}
9CATEGORIES= textproc python 9CATEGORIES= textproc python
10MASTER_SITES= http://download.github.com/ 10MASTER_SITES= https://github.com/aaronsw/html2text/tarball/${GHVERSION}/
11 11
12MAINTAINER= schmonz@NetBSD.org 12MAINTAINER= schmonz@NetBSD.org
13HOMEPAGE= http://www.aaronsw.com/2002/html2text/ 13HOMEPAGE= http://www.aaronsw.com/2002/html2text/
14COMMENT= Convert HTML into easy-to-read plain ASCII text 14COMMENT= Convert HTML into easy-to-read plain ASCII text
15LICENSE= gnu-gpl-v2 15LICENSE= gnu-gpl-v2
16 16
 17FETCH_USING= curl
 18
17PKG_DESTDIR_SUPPORT= user-destdir 19PKG_DESTDIR_SUPPORT= user-destdir
18 20
19WRKSRC= ${WRKDIR}/aaronsw-${GHNAME}-${GHCOMMIT} 21WRKSRC= ${WRKDIR}/aaronsw-${GHNAME}-${GHCOMMIT}
20 22
21NO_BUILD= yes 23NO_BUILD= yes
22 24
23REPLACE_PYTHON= html2text.py 25REPLACE_PYTHON= html2text.py
24 26
25INSTALLATION_DIRS= share/html2text 27INSTALLATION_DIRS= share/html2text
26 28
27do-install: 29do-install:
28 ${INSTALL_SCRIPT} ${WRKSRC}/html2text.py ${DESTDIR}${PREFIX}/share/html2text 30 ${INSTALL_SCRIPT} ${WRKSRC}/html2text.py ${DESTDIR}${PREFIX}/share/html2text
29 31