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/xevil | |
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/xevil')
-rw-r--r-- | games/xevil/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/xevil/Makefile b/games/xevil/Makefile index 775ac520b72..8722a90ea45 100644 --- a/games/xevil/Makefile +++ b/games/xevil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/12/15 20:32:56 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/04 06:59:06 jlam Exp $ DISTNAME= xevilsrc2.02r2 PKGNAME= xevil-2.02 @@ -11,6 +11,8 @@ MAINTAINER= snj@pobox.com HOMEPAGE= http://www.xevil.com/ COMMENT= Side scrolling, bloody action game +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= makefile BUILD_TARGET= pkgsrc @@ -23,9 +25,9 @@ USE_LANGUAGES= c++ INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/x11/PKGSRC/xevil ${PREFIX}/bin/xevil - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xevil - ${INSTALL_DATA} ${WRKSRC}/instructions/* ${PREFIX}/share/doc/xevil + ${INSTALL_PROGRAM} ${WRKSRC}/x11/PKGSRC/xevil ${DESTDIR}${PREFIX}/bin/xevil + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xevil + ${INSTALL_DATA} ${WRKSRC}/instructions/* ${DESTDIR}${PREFIX}/share/doc/xevil SUBST_CLASSES+= uname SUBST_STAGE.uname= pre-configure |