diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:25:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:25:27 +0000 |
commit | 99b23421ba6766aec8d6395e46736b7b19c2d009 (patch) | |
tree | ac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /time/emiclock | |
parent | aeb2d168e47ed0ee66a89960498014672ab4a148 (diff) | |
download | pkgsrc-99b23421ba6766aec8d6395e46736b7b19c2d009.tar.gz |
user-destdir support
Diffstat (limited to 'time/emiclock')
-rw-r--r-- | time/emiclock/Makefile | 9 | ||||
-rw-r--r-- | time/emiclock/distinfo | 4 | ||||
-rw-r--r-- | time/emiclock/patches/patch-ad | 21 |
3 files changed, 23 insertions, 11 deletions
diff --git a/time/emiclock/Makefile b/time/emiclock/Makefile index 12ddd57efa2..ac6392f1d4f 100644 --- a/time/emiclock/Makefile +++ b/time/emiclock/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2009/05/30 00:24:00 zafer Exp $ +# $NetBSD: Makefile,v 1.22 2009/07/07 20:25:27 joerg Exp $ # DISTNAME= emiclock-2.0.2 @@ -10,6 +10,8 @@ MAINTAINER= minoura@NetBSD.org COMMENT= Analog clock with image in the middle LICENSE= emiclock-license +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= Do not distribute NO_SRC_ON_FTP=${RESTRICTED} NO_BIN_ON_FTP=${RESTRICTED} @@ -28,10 +30,11 @@ post-patch: ${ECHO} "#undef USE_XAW3D" > ${WRKSRC}/xawconfig.h .endif +INSTALLATION_DIRS= lib/X11/ja_JP.eucJP/app-defaults + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults ${INSTALL_DATA} ${WRKSRC}/resources/R6/EUC/EmiClock.ad \ - ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/EmiClock + ${DESTDIR}${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/EmiClock .include "../../mk/xaw.buildlink3.mk" .include "../../x11/libXp/buildlink3.mk" diff --git a/time/emiclock/distinfo b/time/emiclock/distinfo index ce3a1977e48..ffb76b96afb 100644 --- a/time/emiclock/distinfo +++ b/time/emiclock/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2006/01/05 16:58:41 hira Exp $ +$NetBSD: distinfo,v 1.7 2009/07/07 20:25:27 joerg Exp $ SHA1 (emiclock-2.0.2.tar.gz) = e1c042d600faf59ecdb11f1199f1793282db90c1 RMD160 (emiclock-2.0.2.tar.gz) = 25a753aaefbd9b8b57c16fbfe13678a002ab8179 @@ -6,5 +6,5 @@ Size (emiclock-2.0.2.tar.gz) = 308682 bytes SHA1 (patch-aa) = 082873291d05709ecc392a3e6295078065aa1d30 SHA1 (patch-ab) = 8c83e056bd03b0f493f91afd33ce572ed673511b SHA1 (patch-ac) = 4b020ac03c958d1ca44968c17b7d657edda77690 -SHA1 (patch-ad) = 079da0fad45d8c4ab14416aa427cf2451c024b8f +SHA1 (patch-ad) = 47a12bfb61ed37f5ad9625f161e5e2a6c1d3e47f SHA1 (patch-ae) = 75250a553700eeacd5fcc6f71ed4477541cab6c0 diff --git a/time/emiclock/patches/patch-ad b/time/emiclock/patches/patch-ad index 22c02408c03..6dace7b5759 100644 --- a/time/emiclock/patches/patch-ad +++ b/time/emiclock/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.4 2006/01/05 16:58:41 hira Exp $ +$NetBSD: patch-ad,v 1.5 2009/07/07 20:25:27 joerg Exp $ ---- Imakefile.orig 2006-01-06 01:38:37.000000000 +0900 -+++ Imakefile 2006-01-06 01:39:37.000000000 +0900 -@@ -106,6 +106,11 @@ +--- Imakefile.orig 1999-09-02 16:33:47.000000000 +0200 ++++ Imakefile +@@ -106,6 +106,11 @@ XCOMM #define StartupSound myu.au #endif /* i386BsdArchitecture && (i386FreeBsd || FreeBSDArchitecture) */ @@ -14,7 +14,7 @@ $NetBSD: patch-ad,v 1.4 2006/01/05 16:58:41 hira Exp $ #else /* USE_NETAUDIO */ /* netaudio (NCDaudio) */ -@@ -143,7 +148,7 @@ +@@ -143,7 +148,7 @@ XCOMM LOCAL_LIBRARIES = XawClientLibs # ifdef USE_XAW3D DEPXAWLIB = $(USRLIBDIR)/libXaw3d.a @@ -23,7 +23,7 @@ $NetBSD: patch-ad,v 1.4 2006/01/05 16:58:41 hira Exp $ # endif /* USE_XAW3D */ SYS_LIBRARIES = SoundLibrary -lm -@@ -219,6 +224,8 @@ +@@ -219,6 +224,8 @@ XCOMM #define ResourceDir resources/Xaw3d #endif /* !USE_XAW3D */ @@ -32,3 +32,12 @@ $NetBSD: patch-ad,v 1.4 2006/01/05 16:58:41 hira Exp $ EmiClock.ad:: ResourceDir/EmiClock.ad $(CP) ResourceDir/EmiClock.ad . +@@ -234,6 +241,6 @@ XCOMM + + #ifdef USE_SOUND + install:: sounds/StartupSound +- MakeDir(EmiClockLib) +- $(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound EmiClockLib/StartupSound ++ MakeDir(${DESTDIR}EmiClockLib) ++ $(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound ${DESTDIR}EmiClockLib/StartupSound + #endif /* USE_SOUND */ |