aboutsummaryrefslogtreecommitdiff
path: root/textproc/code2html
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-03-19 12:40:48 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-03-19 12:40:48 +0000
commit6033a8833cb1b31c311b1887c0df1922c8695ca2 (patch)
treeedf027aab7cf549dbc294d16f662879969ceb6fc /textproc/code2html
parentcbe007d424eb7340c7967f4f9aafd15298c7fdd1 (diff)
downloadports-6033a8833cb1b31c311b1887c0df1922c8695ca2.tar.gz
ports-6033a8833cb1b31c311b1887c0df1922c8695ca2.zip
Notes
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 1ae4e2d469c2..539191893f23 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 7ddec2589584..b2143f3463f7 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 02f0433e8349..7b235083fdc9 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>