diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/vsftpd | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/vsftpd')
-rw-r--r-- | net/vsftpd/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 2156016401e..04d24bc61e0 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/07/04 20:54:54 jlam Exp $ +# $NetBSD: Makefile,v 1.28 2008/06/20 01:09:32 joerg Exp $ # DISTNAME= vsftpd-2.0.4 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://vsftpd.beasts.org/ COMMENT= FTP server that aims to be very secure +PKG_DESTDIR_SUPPORT= user-destdir + PKG_SYSCONFSUBDIR= vsftpd BUILD_TARGET= vsftpd @@ -32,7 +34,8 @@ CONF_FILES= ${EGDIR}/vsftpd.conf.default ${PKG_SYSCONFDIR}/vsftpd.conf MAKE_DIRS= ${VARBASE}/chroot OWN_DIRS= ${VARBASE}/chroot/vsftpd -INSTALLATION_DIRS= libexec ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 +INSTALLATION_DIRS= libexec ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 \ + ${EGDIR} ${DOCDIR}/SECURITY SUBST_CLASSES+= paths SUBST_FILES.paths= vsftpd.8 vsftpd.conf.5 vsftpd.conf @@ -48,15 +51,12 @@ LIBS.SunOS= -lsocket -lnsl -lrt -lsendfile .include "options.mk" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/libexec - ${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${PREFIX}/${PKGMANDIR}/man5 - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${EGDIR}/vsftpd.conf.default - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${DOCDIR}/SECURITY + ${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${DESTDIR}${PREFIX}/libexec + ${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${DESTDIR}${EGDIR}/vsftpd.conf.default cd ${WRKSRC} && ${INSTALL_DATA} FAQ INSTALL README README.ssl \ - TUNING ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/SECURITY/* ${DOCDIR}/SECURITY + TUNING ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/SECURITY/* ${DESTDIR}${DOCDIR}/SECURITY .include "../../mk/bsd.pkg.mk" |