aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/p5-Net-FTPServer
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-08-04 19:41:30 +0800
committergabor <gabor@FreeBSD.org>2007-08-04 19:41:30 +0800
commit1f31ff34b514d77244257a9a94391d3aae8edab0 (patch)
treea676504f8edaca31196a243aa7393f33f26078fa /ftp/p5-Net-FTPServer
parentfb4c30cf2c9bc123dc0c05a0e070f2c48e83be57 (diff)
downloadfreebsd-ports-gnome-1f31ff34b514d77244257a9a94391d3aae8edab0.tar.gz
freebsd-ports-gnome-1f31ff34b514d77244257a9a94391d3aae8edab0.tar.zst
freebsd-ports-gnome-1f31ff34b514d77244257a9a94391d3aae8edab0.zip
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
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 89ef334c17e9..5f2355dc7b86 100644
--- a/ftp/p5-Net-FTPServer/Makefile
+++ b/ftp/p5-Net-FTPServer/Makefile
@@ -66,11 +66,11 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Di
post-patch:
@${REINPLACE_CMD} -e "s/root,root/root,wheel/" \
- -e "s,/usr/sbin,${TARGETDIR}/sbin," \
+ -e "s,/usr/sbin,${PREFIX}/sbin," \
${WRKSRC}/Net-FTPServer.spec.PL
@${REINPLACE_CMD} -e "s/-g root/-g wheel/" \
- -e "s,$$.PREFIX./sbin,${TARGETDIR}/sbin," \
- -e "s,$$.SITEPREFIX./sbin,${TARGETDIR}/sbin," \
+ -e "s,$$.PREFIX./sbin,${PREFIX}/sbin," \
+ -e "s,$$.SITEPREFIX./sbin,${PREFIX}/sbin," \
${WRKSRC}/Makefile.PL
post-install:
@@ -80,7 +80,7 @@ post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
- @${PERL} -p -e 's,PREFIX,${TARGETDIR},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
+ @${PERL} -p -e 's,PREFIX,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>