diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 22:04:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 22:04:09 +0000 |
commit | 5f957cbaba96350964b357db5ed3b76eb9d719c0 (patch) | |
tree | 19ed02ced0800441c8568b58f95af2ddf1b7cc02 /net/mtftpd | |
parent | 73fdebd8393f1f8c55088920fbbb18e72efc9805 (diff) | |
download | pkgsrc-5f957cbaba96350964b357db5ed3b76eb9d719c0.tar.gz |
DESTDIR support
Diffstat (limited to 'net/mtftpd')
-rw-r--r-- | net/mtftpd/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/mtftpd/Makefile b/net/mtftpd/Makefile index 2eca9fc25ce..155d77ca225 100644 --- a/net/mtftpd/Makefile +++ b/net/mtftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/03/18 13:29:32 jmcneill Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/11 22:10:59 joerg Exp $ DISTNAME= mtftpd-20080229 CATEGORIES= net @@ -7,6 +7,8 @@ MASTER_SITES= http://www.invisible.ca/~jmcneill/netbsd/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Open-loop multicast TFTP server +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/mtftpd USE_BSD_MAKEFILE= yes @@ -15,8 +17,9 @@ USE_BSD_MAKEFILE= yes CFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\" +INSTALLATION_DIRS+= bin share/examples/mtftpd + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtftpd - ${INSTALL_DATA} ${WRKSRC}/mtftpd.plist ${PREFIX}/share/examples/mtftpd + ${INSTALL_DATA} ${WRKSRC}/mtftpd.plist ${DESTDIR}${PREFIX}/share/examples/mtftpd .include "../../mk/bsd.pkg.mk" |