aboutsummaryrefslogtreecommitdiff
path: root/textproc/code2html
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-30 13:34:29 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-30 13:34:29 +0000
commitf34772a7c61878debb387526852be1e3c6cb9670 (patch)
treea18ea5a6dcbf3ab0b5613a7a7fa63b9da87978b9 /textproc/code2html
parentbdead488c271ffa49fb8f411c9e7e93bf1a731f2 (diff)
downloadports-f34772a7c61878debb387526852be1e3c6cb9670.tar.gz
ports-f34772a7c61878debb387526852be1e3c6cb9670.zip
- Update to 0.9.1
PR: ports/85739 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer timeout (25 days)
Notes
Notes: svn path=/head/; revision=143844
Diffstat (limited to 'textproc/code2html')
-rw-r--r--textproc/code2html/Makefile23
-rw-r--r--textproc/code2html/distinfo4
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