diff options
author | dillo <dillo> | 2010-05-29 16:28:17 +0000 |
---|---|---|
committer | dillo <dillo> | 2010-05-29 16:28:17 +0000 |
commit | 17afbaa96323a6db6371312dee012432c4107fa7 (patch) | |
tree | 5fae481373d589042189b1984e9a27a018ff67c2 | |
parent | 9c2d221c9b70fb51872b86bba93d98772155447d (diff) | |
download | pkgsrc-17afbaa96323a6db6371312dee012432c4107fa7.tar.gz |
Add destdir support.
-rw-r--r-- | emulators/gens/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile index 66d308b6e12..cc92b532f87 100644 --- a/emulators/gens/Makefile +++ b/emulators/gens/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2009/08/26 19:57:26 sno Exp $ +# $NetBSD: Makefile,v 1.16 2010/05/29 16:28:17 dillo Exp $ # DISTNAME= gens-rc3 @@ -16,15 +16,18 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm # contains i386 assembler sources ONLY_FOR_PLATFORM= *-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/GensForLinux GNU_CONFIGURE= yes USE_TOOLS+= gmake pkg-config +INSTALLATION_DIRS+= share/doc/gens + .include "../../devel/SDL/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gens - ${INSTALL_DATA} ${WRKSRC}/gens.txt ${PREFIX}/share/doc/gens + ${INSTALL_DATA} ${WRKSRC}/gens.txt ${DESTDIR}${PREFIX}/share/doc/gens .include "../../mk/bsd.pkg.mk" |