aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/code2html
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>1999-10-27 15:20:39 +0800
committermharo <mharo@FreeBSD.org>1999-10-27 15:20:39 +0800
commit0e06941497d4cc0e1221e81f3c0cc084f326a3e8 (patch)
tree7fff57b86f58ade6bdde1586bdb77ebe8f60f619 /textproc/code2html
parent482d03ee7d9e9ec1087ba68b29a5ad5448787102 (diff)
downloadfreebsd-ports-graphics-0e06941497d4cc0e1221e81f3c0cc084f326a3e8.tar.gz
freebsd-ports-graphics-0e06941497d4cc0e1221e81f3c0cc084f326a3e8.tar.zst
freebsd-ports-graphics-0e06941497d4cc0e1221e81f3c0cc084f326a3e8.zip
upgrade to 0.8.7c
PR: 14502 Submitted by: maintainer
Diffstat (limited to 'textproc/code2html')
-rw-r--r--textproc/code2html/Makefile15
-rw-r--r--textproc/code2html/distinfo2
2 files changed, 13 insertions, 4 deletions
diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile
index fdf71840560..6d6be14e34a 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 c73dc2e26d9..2b6456f2f28 100644
--- a/textproc/code2html/distinfo
+++ b/textproc/code2html/distinfo
@@ -1 +1 @@
-MD5 (code2html.pl.gz) = cc138c6d85f3b0c9707da6c40bae19ec
+MD5 (code2html.pl.gz) = 6b87940e57d32c881f2140200ea06f98