ports/85739: [update] textproc/code2html to 0.9.1
Andrej Zverev
az at inec.ru
Mon Sep 5 11:10:28 UTC 2005
>Number: 85739
>Category: ports
>Synopsis: [update] textproc/code2html to 0.9.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 05 11:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andrej Zverev
>Release: FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root at az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386
>Description:
>How-To-Repeat:
>Fix:
--- code2html.diff begins here ---
diff -Nru code2html.orig/Makefile code2html/Makefile
--- code2html.orig/Makefile Fri Feb 6 16:12:37 2004
+++ code2html/Makefile Mon Sep 5 15:01:50 2005
@@ -6,7 +6,7 @@
#
PORTNAME= code2html
-PORTVERSION= 0.9
+PORTVERSION= 0.9.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.palfrader.org/code2html/all/
@@ -15,28 +15,21 @@
MAINTAINER= jedgar at FreeBSD.org
COMMENT= Sourcecode to HTML converter
-.if !exists(/usr/bin/bzip2)
-RUN_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2
-
-BZIP2BASE= ${PREFIX}
-.else
-BZIP2BASE= /usr
-.endif
-
NO_BUILD= yes
USE_REINPLACE= yes
+USE_PERL5_RUN= yes
MAN1= code2html.1
PLIST_FILES= bin/code2html
do-configure:
- @${MV} ${WRKSRC}/code2html ${WRKSRC}/code2html.orig
- @${SED} -e 's|/usr/bin/bzip2|${BZIP2BASE}/bin/bzip2|' \
+ @${REINPLACE_CMD} \
+ -e 's|/usr/bin/bzip2|${BZIP2_CMD}|' \
-e 's|/bin/gzip|/usr/bin/gzip|' \
- -e 's|/etc/code|${PREFIX}/etc/code|' \
- < ${WRKSRC}/code2html.orig > ${WRKSRC}/code2html
- @${REINPLACE_CMD} -e 's|/etc/code|${PREFIX}/etc/code|' \
- ${WRKSRC}/code2html.1
+ -e 's|/etc/|${PREFIX}/etc/|' \
+ ${WRKSRC}/code2html
+ @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' \
+ ${WRKSRC}/code2html.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/code2html ${PREFIX}/bin
diff -Nru code2html.orig/distinfo code2html/distinfo
--- code2html.orig/distinfo Wed Mar 31 07:11:39 2004
+++ code2html/distinfo Mon Sep 5 14:01:48 2005
@@ -1,2 +1,2 @@
-MD5 (code2html-0.9.tar.gz) = 2a62840b9238a003f0d9f0527137bd1f
-SIZE (code2html-0.9.tar.gz) = 36645
+MD5 (code2html-0.9.1.tar.gz) = 368377696547026c79c51a274571dc39
+SIZE (code2html-0.9.1.tar.gz) = 39811
--- code2html.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list