pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xglobe user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/e8092a0ea0f2
branches: trunk
changeset: 395183:e8092a0ea0f2
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 17:47:26 2009 +0000
description:
user-destdir support
diffstat:
x11/xglobe/Makefile | 20 +++++++++++---------
x11/xglobe/distinfo | 4 ++--
x11/xglobe/patches/patch-aa | 4 ++--
3 files changed, 15 insertions(+), 13 deletions(-)
diffs (78 lines):
diff -r fe031ec9d1d1 -r e8092a0ea0f2 x11/xglobe/Makefile
--- a/x11/xglobe/Makefile Tue Jul 07 17:45:42 2009 +0000
+++ b/x11/xglobe/Makefile Tue Jul 07 17:47:26 2009 +0000
@@ -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 @@
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_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 -r fe031ec9d1d1 -r e8092a0ea0f2 x11/xglobe/distinfo
--- a/x11/xglobe/distinfo Tue Jul 07 17:45:42 2009 +0000
+++ b/x11/xglobe/distinfo Tue Jul 07 17:47:26 2009 +0000
@@ -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 @@
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 -r fe031ec9d1d1 -r e8092a0ea0f2 x11/xglobe/patches/patch-aa
--- a/x11/xglobe/patches/patch-aa Tue Jul 07 17:45:42 2009 +0000
+++ b/x11/xglobe/patches/patch-aa Tue Jul 07 17:47:26 2009 +0000
@@ -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 @@
####### 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
Home |
Main Index |
Thread Index |
Old Index