pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xplanet Replaced the commands for creating the mis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b33754a9b250
branches:  trunk
changeset: 524294:b33754a9b250
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 23 01:27:00 2007 +0000

description:
Replaced the commands for creating the missing directories with some
magic variable assignments. No functional changes.

diffstat:

 x11/xplanet/Makefile |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r 539ac1f5f869 -r b33754a9b250 x11/xplanet/Makefile
--- a/x11/xplanet/Makefile      Mon Jan 22 23:55:34 2007 +0000
+++ b/x11/xplanet/Makefile      Tue Jan 23 01:27:00 2007 +0000
@@ -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 @@
 _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



Home | Main Index | Thread Index | Old Index