summaryrefslogtreecommitdiff
path: root/games/freeciv-manual
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 06:59:03 +0000
committerjlam <jlam>2008-03-04 06:59:03 +0000
commita5ad2f881e519990668be04e718e20f1b24c9005 (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/freeciv-manual
parent5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff)
downloadpkgsrc-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/freeciv-manual')
-rw-r--r--games/freeciv-manual/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/freeciv-manual/Makefile b/games/freeciv-manual/Makefile
index 664d3a4652d..01a9b857eeb 100644
--- a/games/freeciv-manual/Makefile
+++ b/games/freeciv-manual/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:29:41 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/04 06:59:04 jlam Exp $
#
DISTNAME= manual-1.8.1-2
@@ -10,14 +10,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freeciv.org/
COMMENT= Manuals for freeciv (game, client, and server)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/manual
NO_BUILD= YES
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/freeciv/img
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/freeciv/img
cd ${WRKSRC} && \
- ${INSTALL_DATA} *.html ${PREFIX}/share/doc/html/freeciv
+ ${INSTALL_DATA} *.html ${DESTDIR}${PREFIX}/share/doc/html/freeciv
cd ${WRKSRC}/img && \
- ${INSTALL_DATA} *.jpg ${PREFIX}/share/doc/html/freeciv/img
+ ${INSTALL_DATA} *.jpg ${DESTDIR}${PREFIX}/share/doc/html/freeciv/img
.include "../../mk/bsd.pkg.mk"