summaryrefslogtreecommitdiff
path: root/x11/xplanet
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-23 01:27:00 +0000
committerrillig <rillig>2007-01-23 01:27:00 +0000
commit0f220159fa8aab7380276bae6ed2d8d2baebf2e8 (patch)
treea003a62417f314e4b8b1112b45c7a6c5236a8e9f /x11/xplanet
parent59f67fbda5c68775d0bf91745615bacd8eb15e66 (diff)
downloadpkgsrc-0f220159fa8aab7380276bae6ed2d8d2baebf2e8.tar.gz
Replaced the commands for creating the missing directories with some
magic variable assignments. No functional changes.
Diffstat (limited to 'x11/xplanet')
-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