diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/xsc | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/xsc')
-rw-r--r-- | games/xsc/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/xsc/Makefile b/games/xsc/Makefile index a0969db65dd..c97ca72ee57 100644 --- a/games/xsc/Makefile +++ b/games/xsc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/02/02 01:13:57 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 06:59:06 jlam Exp $ # DISTNAME= xsc-1.5 @@ -10,14 +10,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.panix.com/~mbh/xsc/ COMMENT= Star Castle clone +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xsc ${PREFIX}/bin/xsc - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xsc - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xsc + ${INSTALL_PROGRAM} ${WRKSRC}/xsc ${DESTDIR}${PREFIX}/bin/xsc + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xsc + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xsc BUILDLINK_DEPMETHOD.libXt?= build |