diff options
author | minskim <minskim> | 2005-06-14 17:23:24 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-06-14 17:23:24 +0000 |
commit | 11d06184b8491ad82113683708ac6636a9d3d395 (patch) | |
tree | d70c42a90a1c489b9aa18539bbad4dc5405656b5 /games/xbill/Makefile | |
parent | e869972e2e53bbbee6b4070815f5e0969f030bb3 (diff) | |
download | pkgsrc-11d06184b8491ad82113683708ac6636a9d3d395.tar.gz |
Use VARBASE instead of hardcoding /var.
Diffstat (limited to 'games/xbill/Makefile')
-rw-r--r-- | games/xbill/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/xbill/Makefile b/games/xbill/Makefile index e5f25513e6d..04a7923a0ce 100644 --- a/games/xbill/Makefile +++ b/games/xbill/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/06/14 17:18:54 minskim Exp $ +# $NetBSD: Makefile,v 1.18 2005/06/14 17:23:24 minskim Exp $ # DISTNAME= xbill-2.0 @@ -17,10 +17,11 @@ USE_IMAKE= YES USE_PKGINSTALL= YES NO_INSTALL_MANPAGES= YES +CPPFLAGS+= -DVARBASE=\"${VARBASE}\" PKG_GROUPS= ${GAMEGRP} -MAKE_DIRS_PERMS+= /var/games ${BINOWN} ${GAMEGRP} 0775 +MAKE_DIRS_PERMS+= ${VARBASE}/games ${BINOWN} ${GAMEGRP} 0775 MAKE_ENV+= GAMEGRP=${GAMEGRP} GAMEMODE=${GAMEMODE} -SUPPORT_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores /var/games/xbill.scores ${BINOWN} ${GAMEGRP} ${GAMEDATAMODE} +SUPPORT_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores ${VARBASE}/games/xbill.scores ${BINOWN} ${GAMEGRP} ${GAMEDATAMODE} post-install: ${INSTALL_MAN} ${WRKSRC}/xbill.man ${PREFIX}/man/man6/xbill.6 |