diff options
author | az <az@FreeBSD.org> | 2013-07-26 13:33:51 +0800 |
---|---|---|
committer | az <az@FreeBSD.org> | 2013-07-26 13:33:51 +0800 |
commit | c1e6f9b1282b29ade869dbab3f1768fbcc2443a6 (patch) | |
tree | eb22256c13100460a384a64ae5d3fbefbaab9ab7 /ftp/profxp | |
parent | d52530844c122dbe12c5c32217f4ffdae83fe830 (diff) | |
download | freebsd-ports-gnome-c1e6f9b1282b29ade869dbab3f1768fbcc2443a6.tar.gz freebsd-ports-gnome-c1e6f9b1282b29ade869dbab3f1768fbcc2443a6.tar.zst freebsd-ports-gnome-c1e6f9b1282b29ade869dbab3f1768fbcc2443a6.zip |
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore.
- trim Makefile header
Approved by: bapt@ (portmrg@)
Diffstat (limited to 'ftp/profxp')
-rw-r--r-- | ftp/profxp/Makefile | 14 |
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 |