aboutsummaryrefslogtreecommitdiff
path: root/textproc/code2html
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-26 11:57:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-26 11:57:13 +0000
commit5dd4ea2cab04a53916d2bcfd2cafa38c0186a8fe (patch)
treee14a90edc506e3e05e90c1a0c6b962115578a5c7 /textproc/code2html
parentedf41c0c16910b284f2fbfe8d97561828aa04ed2 (diff)
downloadports-5dd4ea2cab04a53916d2bcfd2cafa38c0186a8fe.tar.gz
ports-5dd4ea2cab04a53916d2bcfd2cafa38c0186a8fe.zip
- Convert to staging
- Add license - Rename patch to follow makepatch naming - Use new options knobs Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=341161
Diffstat (limited to 'textproc/code2html')
-rw-r--r--textproc/code2html/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile
index 4e59cb47c316..3d24eb18788e 100644
--- a/textproc/code2html/Makefile
+++ b/textproc/code2html/Makefile
@@ -7,7 +7,6 @@ CATEGORIES= textproc
MASTER_SITES= SF \
http://www.palfrader.org/code2html/all/
-
MAINTAINER= ports@FreeBSD.org
COMMENT= Sourcecode to HTML converter
@@ -15,10 +14,8 @@ NO_BUILD= yes
USES= perl5
USE_PERL5= run
-MAN1= code2html.1
-PLIST_FILES= bin/code2html
+PLIST_FILES= bin/code2html man/man1/code2html.1.gz
-NO_STAGE= yes
do-configure:
@${REINPLACE_CMD} \
-e 's|/usr/bin/bzip2|${BZIP2_CMD}|' \
@@ -29,7 +26,7 @@ do-configure:
${WRKSRC}/code2html.1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/code2html ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/code2html.1 ${PREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/code2html ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/code2html.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>