aboutsummaryrefslogtreecommitdiff
path: root/ftp/p5-Net-FTPServer
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2006-08-14 10:55:49 +0000
committerMathieu Arnold <mat@FreeBSD.org>2006-08-14 10:55:49 +0000
commit8d7fbfa5380e040c4ba15cf2eac93bf32e56738a (patch)
treee919a1a8803e9cce67dbf7892eccc70b4607afc3 /ftp/p5-Net-FTPServer
parent2a2b71bb1c0d9b9e1c63841d34b1d9fdf41e971f (diff)
downloadports-8d7fbfa5380e040c4ba15cf2eac93bf32e56738a.tar.gz
ports-8d7fbfa5380e040c4ba15cf2eac93bf32e56738a.zip
Notes
Diffstat (limited to 'ftp/p5-Net-FTPServer')
-rw-r--r--ftp/p5-Net-FTPServer/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile
index a7a0c80fba01..a82816deab28 100644
--- a/ftp/p5-Net-FTPServer/Makefile
+++ b/ftp/p5-Net-FTPServer/Makefile
@@ -63,11 +63,11 @@ IGNORE= requires perl 5.6.1 or later. Install lang/perl5 then try again
post-patch:
@${REINPLACE_CMD} -e "s/root,root/root,wheel/" \
- -e "s,/usr/sbin,${PREFIX}/sbin," \
+ -e "s,/usr/sbin,${TARGETDIR}/sbin," \
${WRKSRC}/Net-FTPServer.spec.PL
@${REINPLACE_CMD} -e "s/-g root/-g wheel/" \
- -e "s,$$.PREFIX./sbin,${PREFIX}/sbin," \
- -e "s,$$.SITEPREFIX./sbin,${PREFIX}/sbin," \
+ -e "s,$$.PREFIX./sbin,${TARGETDIR}/sbin," \
+ -e "s,$$.SITEPREFIX./sbin,${TARGETDIR}/sbin," \
${WRKSRC}/Makefile.PL
post-install:
@@ -77,7 +77,7 @@ post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
- @${PERL} -p -e 's,PREFIX,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
+ @${PERL} -p -e 's,PREFIX,${TARGETDIR},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>