diff options
author | joerg <joerg> | 2010-02-11 22:04:09 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 22:04:09 +0000 |
commit | 14676837007204de3f0e71098fecb886f311b474 (patch) | |
tree | 19ed02ced0800441c8568b58f95af2ddf1b7cc02 /net/mtftpd | |
parent | 09415b94ccff8db1bce7117c45e2b5db123317d7 (diff) | |
download | pkgsrc-14676837007204de3f0e71098fecb886f311b474.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" |