diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2004-04-07 11:53:19 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2004-04-07 11:53:19 +0000 |
commit | 10862cf7ae519588ebf3c040e2142678ababd137 (patch) | |
tree | ac9fb8a433038729149507170a240838e114812a /lang/diveintopython/Makefile | |
parent | b92c08caeaff3aa5342945abbda7ef315e24bbb8 (diff) | |
download | ports-10862cf7ae519588ebf3c040e2142678ababd137.tar.gz ports-10862cf7ae519588ebf3c040e2142678ababd137.zip |
Notes
Diffstat (limited to 'lang/diveintopython/Makefile')
-rw-r--r-- | lang/diveintopython/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lang/diveintopython/Makefile b/lang/diveintopython/Makefile index 88f3426b0842..d9a3e7d97433 100644 --- a/lang/diveintopython/Makefile +++ b/lang/diveintopython/Makefile @@ -6,8 +6,8 @@ # PORTNAME= diveintopython -PORTVERSION= 4.1 -PORTREVISION= 1 +PORTVERSION= 4.9 +#PORTREVISION= 1 CATEGORIES= lang python MASTER_SITES= http://diveintopython.org/download/ DISTNAME= ${PORTNAME} @@ -16,7 +16,6 @@ DISTFILES= ${DISTNAME}-html-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-pdf-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-text-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-word-${VERSIONSTR}${EXTRACT_SUFX} \ - ${DISTNAME}-help-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-xml-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-common-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-examples-${VERSIONSTR}${EXTRACT_SUFX} @@ -36,17 +35,17 @@ VERSIONSTR= ${PORTVERSION:C|(\.[^.]*)\.([^.]*)$|\1-\2|} PLIST_SUB+= VERSION=${VERSIONSTR} post-patch: - @ ${REINPLACE_CMD} \ - "s#http[^>]*\(download/${PORTNAME}-examples-${VERSIONSTR}.zip\)#\1#" \ - ${WRKSRC}/*.html + @ ${FIND} ${WRKSRC} -name \*.html | xargs ${REINPLACE_CMD} \ + "s#http[^>]*\(download/${PORTNAME}-examples-${VERSIONSTR}.zip\)#\1#" do-install: @ ${MKDIR} ${DIPDLDIR} - @ cd ${WRKSRC} && ${FIND} *.html *.css images \ + @ cd ${WRKSRC} && \ + ${FIND} . -name \*.html -o -name \*.css -o -name \*.png \ | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} @ cd ${WRKDIR}/py && ${FIND} * \ | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} -.for format in html html-flat pdf text word help xml common examples +.for format in html html-flat pdf text word xml common examples @ ${INSTALL_DATA} \ ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.zip \ ${DIPDLDIR} |