diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-02 21:04:00 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-02 21:04:00 +0000 |
commit | 9d2996c3ec076a3e064cf7ca8f5db88cf3fb46fc (patch) | |
tree | 14b82bafdc5a5f0fb8f287589ffd3cad98a31130 /games/netmaj/Makefile | |
parent | b8d0df489a752c90a051d916a741004314b0f327 (diff) | |
download | pkgsrc-9d2996c3ec076a3e064cf7ca8f5db88cf3fb46fc.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'games/netmaj/Makefile')
-rw-r--r-- | games/netmaj/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/netmaj/Makefile b/games/netmaj/Makefile index c6f69d03ab4..3542da93b27 100644 --- a/games/netmaj/Makefile +++ b/games/netmaj/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/09/02 11:45:06 kei Exp $ +# $NetBSD: Makefile,v 1.13 2008/02/02 21:04:00 heinz Exp $ # DISTNAME= netmaj-2.0.7 @@ -10,6 +10,8 @@ MAINTAINER= kei@NetBSD.org HOMEPAGE= http://www.sfc.wide.ad.jp/~kusune/netmaj/ COMMENT= Mahjongg game with network and 1-4 player(s) support +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/netmaj USE_TOOLS+= perl:run @@ -21,7 +23,7 @@ do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} post-install: - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${INSTALL_DATA} ${WRKSRC}/html/* ${HTMLDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/html/* ${DESTDIR}${HTMLDIR} .include "../../mk/bsd.pkg.mk" |