aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
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