aboutsummaryrefslogtreecommitdiff
path: root/ftp/p5-Net-FTPServer/Makefile
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:41:30 +0000
commit42542fb07642b8336e808272918f3ae46aa67e0b (patch)
tree98ff235c33c6493aa26457284f122652c38935f7 /ftp/p5-Net-FTPServer/Makefile
parent4c9cd257fd4e6eca46807a43e128d298429ee3cd (diff)
downloadports-42542fb07642b8336e808272918f3ae46aa67e0b.tar.gz
ports-42542fb07642b8336e808272918f3ae46aa67e0b.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)
Notes
Notes: svn path=/head/; revision=197075
Diffstat (limited to 'ftp/p5-Net-FTPServer/Makefile')
-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>