summaryrefslogtreecommitdiff
path: root/games/qstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/qstat/Makefile')
-rw-r--r--games/qstat/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/games/qstat/Makefile b/games/qstat/Makefile
index b9556bb3244..6693f11933c 100644
--- a/games/qstat/Makefile
+++ b/games/qstat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/05/18 10:03:31 peter Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/04 06:59:05 jlam Exp $
DISTNAME= qstat-2.10
CATEGORIES= games
@@ -8,7 +8,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.qstat.org/
COMMENT= Program that gathers real-time statistics from game servers
-INSTALLATION_DIRS= bin
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR:Q}\""
@@ -16,14 +16,18 @@ CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR:Q}\""
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/qstat.cfg ${PKG_SYSCONFDIR}/qstat.cfg
+INSTALLATION_DIRS= bin
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGBASE}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}/template
- ${INSTALL_PROGRAM} ${WRKSRC}/qstat ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/template/*.html ${PREFIX}/share/doc/${PKGBASE}/template
- ${INSTALL_DATA} ${WRKSRC}/contrib.cfg ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/qstat.cfg ${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/template
+ ${INSTALL_PROGRAM} ${WRKSRC}/qstat ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/qstatdoc.html \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/template/*.html \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/template
+ ${INSTALL_DATA} ${WRKSRC}/contrib.cfg ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/qstat.cfg ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"