aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
commit7c47779cb9cc1f12908949c26b831e944047ed17 (patch)
treecc6e929ebf67eee2cc8ce1692ea0663387b3a559 /news
parentb4c4d6656e7b913544a3cbd1bea7f40f7cad2e74 (diff)
downloadports-7c47779cb9cc1f12908949c26b831e944047ed17.tar.gz
ports-7c47779cb9cc1f12908949c26b831e944047ed17.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/ubh/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/news/ubh/Makefile b/news/ubh/Makefile
index 2c1841ed5b39..9f2a0b4e8801 100644
--- a/news/ubh/Makefile
+++ b/news/ubh/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ubh
PORTVERSION= 2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= news graphics
MASTER_SITES= http://ubh.sourceforge.net/download/
@@ -18,15 +18,11 @@ RUN_DEPENDS= \
p5-String-CRC32>=0:${PORTSDIR}/devel/p5-String-CRC32
NO_BUILD= YES
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= ubh
OPTIONS_DEFINE= DOCS
-pre-patch:
- @${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
- @${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
- ${WRKSRC}/ubh.old > ${WRKSRC}/ubh
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ubh ${STAGEDIR}${PREFIX}/bin
${CP} -R ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/ubh