diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 20:26:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 20:26:04 +0000 |
commit | 79177f21cedbc5c731c2dddd1d2d6ce9a2c46ece (patch) | |
tree | 509ff22a1862a329ce3962586f04eba03cd3aa4e /games/dungeon | |
parent | afed6d9ef3476470bb406641b823fdaf56726788 (diff) | |
download | pkgsrc-79177f21cedbc5c731c2dddd1d2d6ce9a2c46ece.tar.gz |
DESTDIR support
Diffstat (limited to 'games/dungeon')
-rw-r--r-- | games/dungeon/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile index b6a6bfb15e9..39416e8e81b 100644 --- a/games/dungeon/Makefile +++ b/games/dungeon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2009/11/28 20:25:40 pgoyette Exp $ +# $NetBSD: Makefile,v 1.2 2010/01/29 20:27:03 joerg Exp $ # DISTNAME= dungeon-3.2b @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://eblong.com/zarf/glk/ COMMENT= Classic game of Dungeon +PKG_DESTDIR_SUPPORT= user-destdir + # There really isn't any license in any of the source code or in the # accompanying documentation, but the sources of many versions have # been freely made available for many years with the assumption that @@ -44,9 +46,10 @@ MAKE_ENV+= GDT_FLAG=-DHAVE_GDT pre-build: cd ${WRKDIR}/glkterm && env ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} +INSTALLATION_DIRS+= bin ${DATADIR} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dungeon ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/dundat ${DESTDIR}${DATADIR}/ .include "../../devel/ncurses/buildlink3.mk" |