Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 16:05:04 -0400 (EDT)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14502: Update port: textproc/code2html
Message-ID:  <19991024200504.A7DCB9B22@pawn.primelocation.net>

next in thread | raw e-mail | index | archive | help

>Number:         14502
>Category:       ports
>Synopsis:       Update port: textproc/code2html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 24 13:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris D. Faulhaber
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
BUGO - BSD Users Group of Orlando
>Environment:

FreeBSD 4.0-CURRENT i386

>Description:

Update port: textproc/code2html to 0.8.7c

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/code2html/Makefile,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 Makefile
--- Makefile	1999/10/03 14:31:35	1.1.1.1
+++ Makefile	1999/10/24 19:58:38
@@ -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
Index: files/md5
===================================================================
RCS file: /home/ncvs/ports/textproc/code2html/files/md5,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 md5
--- md5	1999/10/03 14:31:35	1.1.1.1
+++ md5	1999/10/24 19:58:38
@@ -1 +1 @@
-MD5 (code2html.pl.gz) = cc138c6d85f3b0c9707da6c40bae19ec
+MD5 (code2html.pl.gz) = 6b87940e57d32c881f2140200ea06f98

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991024200504.A7DCB9B22>