diff options
author | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
commit | a5ad2f881e519990668be04e718e20f1b24c9005 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/qstat | |
parent | 5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff) | |
download | pkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/qstat')
-rw-r--r-- | games/qstat/Makefile | 24 |
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" |