summaryrefslogtreecommitdiff
path: root/x11/ssystem
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 18:16:00 +0000
committerjoerg <joerg>2009-07-07 18:16:00 +0000
commitcaa3b002edf1312b116c87ec13ddf9a2b0375270 (patch)
tree47e05aabd38b2d14ed573faf69cc216dc036b38d /x11/ssystem
parentea2901f7498f64d391e7095d4da09bd10fe50991 (diff)
downloadpkgsrc-caa3b002edf1312b116c87ec13ddf9a2b0375270.tar.gz
user-destdir support
Diffstat (limited to 'x11/ssystem')
-rw-r--r--x11/ssystem/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/x11/ssystem/Makefile b/x11/ssystem/Makefile
index e41ebe89de9..27a483e9f08 100644
--- a/x11/ssystem/Makefile
+++ b/x11/ssystem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/06/30 00:07:25 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2009/07/07 18:16:43 joerg Exp $
#
DISTNAME= ssystem-1.6
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www1.las.es/~amil/ssystem/
COMMENT= Solar System Flyby Simulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
@@ -22,17 +24,14 @@ MAKE_FILE= Makefile.FreeBSD
DATA_FILES= *.jpg *.dat ssystem.conf
DOC_FILES= LICENSE README
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/ssystem/hires share/doc/ssystem
do-install:
cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} ssystem ${PREFIX}/bin; \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/ssystem; \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ssystem; \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/ssystem/hires; \
- ${INSTALL_DATA} ${DATA_FILES} ${PREFIX}/share/ssystem; \
- ${INSTALL_DATA} ${DOC_FILES} ${PREFIX}/share/doc/ssystem; \
- ${INSTALL_DATA} hires/README ${PREFIX}/share/ssystem/hires
+ ${INSTALL_PROGRAM} ssystem ${DESTDIR}${PREFIX}/bin; \
+ ${INSTALL_DATA} ${DATA_FILES} ${DESTDIR}${PREFIX}/share/ssystem; \
+ ${INSTALL_DATA} ${DOC_FILES} ${DESTDIR}${PREFIX}/share/doc/ssystem; \
+ ${INSTALL_DATA} hires/README ${DESTDIR}${PREFIX}/share/ssystem/hires
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"