summaryrefslogtreecommitdiff
path: root/textproc/code2html/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/code2html/Makefile')
-rw-r--r--textproc/code2html/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile
index d7b06a8c85b7..d35302fd4f30 100644
--- a/textproc/code2html/Makefile
+++ b/textproc/code2html/Makefile
@@ -1,15 +1,16 @@
# New ports collection makefile for: code2html
-# Version required: 0.8.7c
+# Version required: 0.8.8
# Date created: 01 October 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
-DISTNAME= code2html.pl
-PKGNAME= code2html-0.8.7c
+DISTNAME= code2html
+PKGNAME= code2html-0.8.8
CATEGORIES= textproc
-MASTER_SITES= http://www.cosy.sbg.ac.at/~ppalfrad/code2html/
+MASTER_SITES= http://ckb.dhs.org/projects/code2html/latest/ \
+ http://www.cosy.sbg.ac.at/~ppalfrad/code2html/all/latest/
EXTRACT_SUFX= .gz
MAINTAINER= jedgar@FreeBSD.org
@@ -24,13 +25,13 @@ do-extract:
@${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/${DISTNAME}
do-configure:
- @${MV} ${WRKSRC}/code2html.pl ${WRKSRC}/code2html.pl.orig
+ @${MV} ${WRKSRC}/code2html ${WRKSRC}/code2html.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
+ < ${WRKSRC}/code2html.orig > ${WRKSRC}/code2html
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/code2html.pl ${PREFIX}/bin/code2html
+ ${INSTALL_SCRIPT} ${WRKDIR}/code2html ${PREFIX}/bin/
.include <bsd.port.mk>