aboutsummaryrefslogtreecommitdiff
path: root/ftp/profxp/Makefile
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-26 05:33:51 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-26 05:33:51 +0000
commita4fc6158f566f3061d1acce1ef519be9cd17a69a (patch)
treeeb22256c13100460a384a64ae5d3fbefbaab9ab7 /ftp/profxp/Makefile
parentf720ee1568631cec981d47b6deaf26f18bc44159 (diff)
downloadports-a4fc6158f566f3061d1acce1ef519be9cd17a69a.tar.gz
ports-a4fc6158f566f3061d1acce1ef519be9cd17a69a.zip
Notes
Diffstat (limited to 'ftp/profxp/Makefile')
-rw-r--r--ftp/profxp/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/ftp/profxp/Makefile b/ftp/profxp/Makefile
index 529d077f4235..9206db9334e0 100644
--- a/ftp/profxp/Makefile
+++ b/ftp/profxp/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: profxp
-# Date created: Jun 1, 2001
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= profxp
PORTVERSION= 3p2
@@ -24,9 +19,12 @@ RUN_DEPENDS= p5-SOCKS>=0:${PORTSDIR}/net/p5-Socks \
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
+USES= shebangfix
+SHEBANG_FILES= profxpv3.pl
+perl_OLD_CMD= /home/tom/ActivePerl-5.6/bin/perl
-post-patch:
- @${PERL} -pi -e "s,^#!.*,#!${PERL},g" ${WRKSRC}/profxpv3.pl
+post-patch1:
+ @${REINPLACE_CMD} -i '' '1s|^\#.*|#!${PERL}|' ${WRKSRC}/profxpv3.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/profxpv3.pl ${PREFIX}/bin/profxp