diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-10-27 07:20:39 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-10-27 07:20:39 +0000 |
commit | 2095ac8367b40b45530f61aa5bcfac40a896dac3 (patch) | |
tree | 6c23381f0527d04f575c6a7bdeac3f248d7713cc /textproc/code2html | |
parent | 0094b03c28d8d446790f50dd05ad40819d61b825 (diff) | |
download | ports-2095ac8367b40b45530f61aa5bcfac40a896dac3.tar.gz ports-2095ac8367b40b45530f61aa5bcfac40a896dac3.zip |
Notes
Diffstat (limited to 'textproc/code2html')
-rw-r--r-- | textproc/code2html/Makefile | 15 | ||||
-rw-r--r-- | textproc/code2html/distinfo | 2 |
2 files changed, 13 insertions, 4 deletions
diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile index fdf718405607..6d6be14e34a7 100644 --- a/textproc/code2html/Makefile +++ b/textproc/code2html/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: code2html -# Version required: 0.8.6 +# Version required: 0.8.7c # Date created: 01 October 1999 # Whom: Chris D. Faulhaber <jedgar@fxp.org> # @@ -7,19 +7,28 @@ # DISTNAME= code2html.pl -PKGNAME= code2html-0.8.6 +PKGNAME= code2html-0.8.7c CATEGORIES= textproc MASTER_SITES= http://www.giga.or.at/~weasel/pub/code2html/latest/ EXTRACT_SUFX= .gz MAINTAINER= jedgar@fxp.org +RUN_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 + NO_WRKSUBDIR= yes NO_BUILD= yes do-extract: @${MKDIR} ${WRKDIR} - ${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/${DISTNAME} + @${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/${DISTNAME} + +do-configure: + @${MV} ${WRKSRC}/code2html.pl ${WRKSRC}/code2html.pl.orig + @${SED} -e 's|/usr/bin/bzip2|${PREFIX}/bin/bzip2|' \ + -e 's|/bin/gzip|/usr/bin/gzip|' \ + -e 's|/etc/code|${PREFIX}/etc/code|' \ + < ${WRKSRC}/code2html.pl.orig > ${WRKSRC}/code2html.pl do-install: ${INSTALL_SCRIPT} ${WRKDIR}/code2html.pl ${PREFIX}/bin/code2html diff --git a/textproc/code2html/distinfo b/textproc/code2html/distinfo index c73dc2e26d96..2b6456f2f28f 100644 --- a/textproc/code2html/distinfo +++ b/textproc/code2html/distinfo @@ -1 +1 @@ -MD5 (code2html.pl.gz) = cc138c6d85f3b0c9707da6c40bae19ec +MD5 (code2html.pl.gz) = 6b87940e57d32c881f2140200ea06f98 |