aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/code2html
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-03-19 20:40:48 +0800
committerjedgar <jedgar@FreeBSD.org>2000-03-19 20:40:48 +0800
commitfacf5aede27ee71b38d4f39baa0dc71f14d68a30 (patch)
tree0c62deae2f8ce5f60323df0ed2864d109c5a5a07 /textproc/code2html
parent7e4eadd7b1fc2c79662c228bb33bd4742e540da6 (diff)
downloadfreebsd-ports-graphics-facf5aede27ee71b38d4f39baa0dc71f14d68a30.tar.gz
freebsd-ports-graphics-facf5aede27ee71b38d4f39baa0dc71f14d68a30.tar.zst
freebsd-ports-graphics-facf5aede27ee71b38d4f39baa0dc71f14d68a30.zip
Update port to 0.8.9
Diffstat (limited to 'textproc/code2html')
-rw-r--r--textproc/code2html/Makefile18
-rw-r--r--textproc/code2html/distinfo2
-rw-r--r--textproc/code2html/pkg-descr2
3 files changed, 10 insertions, 12 deletions
diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile
index 1ae4e2d469c..539191893f2 100644
--- a/textproc/code2html/Makefile
+++ b/textproc/code2html/Makefile
@@ -1,28 +1,24 @@
# New ports collection makefile for: code2html
-# Version required: 0.8.8b
+# Version required: 0.8.9
# Date created: 01 October 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
-DISTNAME= code2html
-PKGNAME= code2html-0.8.8b
+DISTNAME= code2html-0.8.9
CATEGORIES= textproc
-MASTER_SITES= http://ckb.dhs.org/projects/code2html/latest/ \
+MASTER_SITES= ftp://code2html.sourceforge.net/pub/code2html/all/ \
http://www.cosy.sbg.ac.at/~ppalfrad/code2html/all/latest/
-EXTRACT_SUFX= .gz
MAINTAINER= jedgar@FreeBSD.org
RUN_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2
-NO_WRKSUBDIR= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/code2html-8.8.9
-do-extract:
- @${MKDIR} ${WRKDIR}
- @${GZCAT} ${DISTDIR}/${DISTFILES} > ${WRKDIR}/${DISTNAME}
+MAN1= code2html.1
do-configure:
@${MV} ${WRKSRC}/code2html ${WRKSRC}/code2html.orig
@@ -30,8 +26,10 @@ do-configure:
-e 's|/bin/gzip|/usr/bin/gzip|' \
-e 's|/etc/code|${PREFIX}/etc/code|' \
< ${WRKSRC}/code2html.orig > ${WRKSRC}/code2html
+ @${PERL} -pi.orig -e 's|etc/code|usr/local/etc/code|' ${WRKSRC}/code2html.1
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/code2html ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKDIR}/code2html ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKDIR}/code2html.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/textproc/code2html/distinfo b/textproc/code2html/distinfo
index 7ddec258958..b2143f3463f 100644
--- a/textproc/code2html/distinfo
+++ b/textproc/code2html/distinfo
@@ -1 +1 @@
-MD5 (code2html.gz) = 7ebe0513fececb63b0cffa6defc86fc7
+MD5 (code2html-0.8.9.tar.gz) = 44ef54aa74fcafb13c89b92ab892de23
diff --git a/textproc/code2html/pkg-descr b/textproc/code2html/pkg-descr
index 02f0433e834..7b235083fdc 100644
--- a/textproc/code2html/pkg-descr
+++ b/textproc/code2html/pkg-descr
@@ -11,4 +11,4 @@ Support for the following languages:
WWW: http://www.cosy.sbg.ac.at/~ppalfrad/code2html/
- Chris D. Faulhaber
-jedgar@FreeBSD.org
+ <jedgar@FreeBSD.org>