summaryrefslogtreecommitdiff
path: root/net/tnftpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
commit693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /net/tnftpd
parent53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff)
downloadpkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.tar.gz
DESTDIR support
Diffstat (limited to 'net/tnftpd')
-rw-r--r--net/tnftpd/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/net/tnftpd/Makefile b/net/tnftpd/Makefile
index ffd961a4fb2..b1d2bcbedac 100644
--- a/net/tnftpd/Makefile
+++ b/net/tnftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2008/10/09 04:14:28 lukem Exp $
+# $NetBSD: Makefile,v 1.19 2010/01/27 17:30:14 joerg Exp $
#
DISTNAME= tnftpd-20081009
@@ -8,6 +8,8 @@ MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/
MAINTAINER= lukem@NetBSD.org
COMMENT= The NetBSD FTP Daemon
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= wu-ftpd-[0-9]*
CONFLICTS+= kth-krb4-[0-9]*
CONFLICTS+= lukemftpd-[0-9]*
@@ -27,15 +29,15 @@ OPSYSVARS+= MAKE_ENV
MAKE_ENV.SunOS+= CPPFLAGS=""
EXAMPLEDIR= ${PREFIX}/share/examples/tnftpd
-INSTALLATION_DIRS= libexec ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
+INSTALLATION_DIRS= libexec ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 \
+ ${EXAMPLEDIR}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec
- ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.man ${PREFIX}/${PKGMANDIR}/man5/ftpd.conf.5
- ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.man ${PREFIX}/${PKGMANDIR}/man5/ftpusers.5
- ${INSTALL_MAN} ${WRKSRC}/src/tnftpd.man ${PREFIX}/${PKGMANDIR}/man8/tnftpd.8
- ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/ftpd.conf ${EXAMPLEDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/ftpusers ${EXAMPLEDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${DESTDIR}${PREFIX}/libexec
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ftpd.conf.5
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/ftpusers.5
+ ${INSTALL_MAN} ${WRKSRC}/src/tnftpd.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/tnftpd.8
+ ${INSTALL_DATA} ${WRKSRC}/examples/ftpd.conf ${DESTDIR}${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/ftpusers ${DESTDIR}${EXAMPLEDIR}
.include "../../mk/bsd.pkg.mk"