summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabberd/Makefile2
-rw-r--r--net-im/ttytter/Makefile6
2 files changed, 2 insertions, 6 deletions
diff --git a/net-im/jabberd/Makefile b/net-im/jabberd/Makefile
index d4cc5e434f0a..c757fcd412cc 100644
--- a/net-im/jabberd/Makefile
+++ b/net-im/jabberd/Makefile
@@ -137,8 +137,6 @@ post-patch:
router.xml s2s.xml sm.xml templates/roster.xml
@${MV} ${WRKSRC}/etc/${FILE}.dist.in ${WRKSRC}/etc/${FILE}.sample.in
.endfor
- @${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|g' \
- ${WRKSRC}/tools/jabberd.in
#.if ${PORT_OPTIONS:MCYRUS}
# @${REINPLACE_CMD} -e '/^#error /d' \
# ${WRKSRC}/sx/sasl_cyrus.c
diff --git a/net-im/ttytter/Makefile b/net-im/ttytter/Makefile
index d335f3186cb1..b8277ba5986a 100644
--- a/net-im/ttytter/Makefile
+++ b/net-im/ttytter/Makefile
@@ -22,8 +22,9 @@ RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
+SHEBANG_FILES= ${PORTVERSION}.txt
OPTIONS_DEFINE= READLINE RLTTYTTER
OPTIONS_DEFAULT=READLINE
@@ -47,9 +48,6 @@ do-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${PORTVERSION}.txt ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/license.txt ${WRKSRC}
-post-patch:
- @${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/${PORTVERSION}.txt
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTVERSION}.txt ${STAGEDIR}${PREFIX}/bin/${PORTNAME}