diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 17:47:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 17:47:26 +0000 |
commit | 5f84dbb3294cf9b89fed4f4f2d68ef6a58dd979a (patch) | |
tree | 26c61e2cdf9228de39f747f13b14eff229e47ef4 | |
parent | 328367d8fbd1bceb3f41e99524679626049e868c (diff) | |
download | pkgsrc-5f84dbb3294cf9b89fed4f4f2d68ef6a58dd979a.tar.gz |
user-destdir support
-rw-r--r-- | x11/xglobe/Makefile | 20 | ||||
-rw-r--r-- | x11/xglobe/distinfo | 4 | ||||
-rw-r--r-- | x11/xglobe/patches/patch-aa | 4 |
3 files changed, 15 insertions, 13 deletions
diff --git a/x11/xglobe/Makefile b/x11/xglobe/Makefile index d220134337c..00b03d666e7 100644 --- a/x11/xglobe/Makefile +++ b/x11/xglobe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2007/12/02 12:34:39 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2009/07/07 17:47:26 joerg Exp $ # DISTNAME= xglobe-0.5 @@ -16,6 +16,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cs.unc.edu/~scheuerm/xglobe/ COMMENT= Displays the earth as seen from space, similar to xearth +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= xglobe MAPS= LE.400.gif Brill.400.gif mggd.gif EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -24,15 +26,15 @@ USE_X11BASE= YES USE_TOOLS+= gmake USE_LANGUAGES= c++ +INSTALLATION_DIRS= lib/xglobe share/doc/xglobe + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/xglobe - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/mggd.gif ${PREFIX}/lib/xglobe/mggd.gif - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/LE.400.gif ${PREFIX}/lib/xglobe/daymap.gif - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Brill.400.gif ${PREFIX}/lib/xglobe/nightmap.gif - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xglobe - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xglobe - ${INSTALL_DATA} ${WRKSRC}/README.maps ${PREFIX}/share/doc/xglobe - ${INSTALL_DATA} ${WRKSRC}/getcloudmap.sh ${PREFIX}/bin/xglobe-getcloudmap.sh + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/mggd.gif ${DESTDIR}${PREFIX}/lib/xglobe/mggd.gif + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/LE.400.gif ${DESTDIR}${PREFIX}/lib/xglobe/daymap.gif + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Brill.400.gif ${DESTDIR}${PREFIX}/lib/xglobe/nightmap.gif + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xglobe + ${INSTALL_DATA} ${WRKSRC}/README.maps ${DESTDIR}${PREFIX}/share/doc/xglobe + ${INSTALL_DATA} ${WRKSRC}/getcloudmap.sh ${DESTDIR}${PREFIX}/bin/xglobe-getcloudmap.sh .include "../../x11/qt3-libs/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" diff --git a/x11/xglobe/distinfo b/x11/xglobe/distinfo index 6e24883944a..343c7c18288 100644 --- a/x11/xglobe/distinfo +++ b/x11/xglobe/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2008/01/13 22:53:10 rillig Exp $ +$NetBSD: distinfo,v 1.8 2009/07/07 17:47:26 joerg Exp $ SHA1 (xglobe/LE.400.gif) = acfe3f73a9513b312e2c65403b6b4242c53d9c1a RMD160 (xglobe/LE.400.gif) = 438e79c256f91f979d5fd08f4eb2812c10c4f28b @@ -12,7 +12,7 @@ Size (xglobe/mggd.gif) = 899276 bytes SHA1 (xglobe/xglobe-0.5.tar.gz) = ba436e1105462577dd9fb1cbedcec93dd58e4e3a RMD160 (xglobe/xglobe-0.5.tar.gz) = 0aa1f0c6fefa2a87d09a0c75fdc897a07889ee5c Size (xglobe/xglobe-0.5.tar.gz) = 982309 bytes -SHA1 (patch-aa) = b71a6bd947c0b9c2b4993e66f789083863ed8141 +SHA1 (patch-aa) = 3121c7f7fcb63a67318ae348348874be07c49ecd SHA1 (patch-ab) = 4b8297a44eca21a964d873c02cfc9db1e0893b45 SHA1 (patch-ac) = 3548c21bad7c95f1a5abd8884fa474a297c33b90 SHA1 (patch-ad) = fcc4b34402ec7ff2ceedb5391bb9553f891783fc diff --git a/x11/xglobe/patches/patch-aa b/x11/xglobe/patches/patch-aa index e2d54fbc3c5..9dd4fc0e467 100644 --- a/x11/xglobe/patches/patch-aa +++ b/x11/xglobe/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.9 2006/01/04 14:54:17 joerg Exp $ +$NetBSD: patch-aa,v 1.10 2009/07/07 17:47:26 joerg Exp $ --- Makefile.orig 1999-07-19 07:56:27.000000000 -0500 +++ Makefile 2003-11-14 12:31:20.000000000 -0600 @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.9 2006/01/04 14:54:17 joerg Exp $ ####### Installation directory -XGLOBE_DIR = /usr/local -+XGLOBE_DIR = ${PREFIX} ++XGLOBE_DIR = ${DESTDIR}${PREFIX} XGLOBE_LIB_DIR = $(XGLOBE_DIR)/lib/xglobe XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin |