summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-23 01:27:00 +0000
committerrillig <rillig@pkgsrc.org>2007-01-23 01:27:00 +0000
commitbe03fb899978bf0e8ead32ae959ea633960fe1d5 (patch)
treea003a62417f314e4b8b1112b45c7a6c5236a8e9f /x11
parent627e7ee6f5498bd1ea820a73a32ce7a7a9bf346f (diff)
downloadpkgsrc-be03fb899978bf0e8ead32ae959ea633960fe1d5.tar.gz
Replaced the commands for creating the missing directories with some
magic variable assignments. No functional changes.
Diffstat (limited to 'x11')
-rw-r--r--x11/xplanet/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/x11/xplanet/Makefile b/x11/xplanet/Makefile
index 39f85b67173..c7a968d03af 100644
--- a/x11/xplanet/Makefile
+++ b/x11/xplanet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2006/12/27 13:37:46 joerg Exp $
+# $NetBSD: Makefile,v 1.36 2007/01/23 01:27:00 rillig Exp $
DISTNAME= xplanet-1.2.0
PKGREVISION= 3
@@ -16,12 +16,9 @@ CONFIGURE_ENV+= PERL=${_ENV_PERL:Q}
_ENV_PERL= ${TOOLS_SETENV} perl
# directory creation should be fixed in the future release of xplanet
-pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/xplanet
-.for dir in arcs config fonts images markers origin satellites \
- scripts spice stars
- ${INSTALL_DATA_DIR} ${PREFIX}/share/xplanet/${dir}
-.endfor
+XPLANET_DIRS= arcs config fonts images markers origin
+XPLANET_DIRS+= satellites scripts spice stars
+INSTALLATION_DIRS+= ${XPLANET_DIRS:C,.*,share/xplanet/&,g}
PKG_OPTIONS_VAR= PKG_OPTIONS.xplanet
PKG_SUPPORTED_OPTIONS= x11