From f34772a7c61878debb387526852be1e3c6cb9670 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 30 Sep 2005 13:34:29 +0000 Subject: - Update to 0.9.1 PR: ports/85739 Submitted by: Andrej Zverev Approved by: maintainer timeout (25 days) --- textproc/code2html/Makefile | 23 ++++++++--------------- textproc/code2html/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile index f2ca9ae6fff5..035c7dfc2573 100644 --- a/textproc/code2html/Makefile +++ b/textproc/code2html/Makefile @@ -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 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= jedgar@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 --git a/textproc/code2html/distinfo b/textproc/code2html/distinfo index bb6132fa98a9..f2dfe3d6304e 100644 --- a/textproc/code2html/distinfo +++ b/textproc/code2html/distinfo @@ -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 -- cgit v1.2.3