summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 23:50:26 +0000
committerjoerg <joerg>2010-01-29 23:50:26 +0000
commitba5b4924e240c4068de75386223f43770c159804 (patch)
tree1ee3f20800498240db8a2a67d583bb4c50613c95 /graphics
parente2bcd15668107946235f1a2907abad2d4979a11f (diff)
downloadpkgsrc-ba5b4924e240c4068de75386223f43770c159804.tar.gz
DESTDIR support
Diffstat (limited to 'graphics')
-rw-r--r--graphics/wmphoto/Makefile11
-rw-r--r--graphics/wmphoto/distinfo4
-rw-r--r--graphics/wmphoto/patches/patch-aa4
-rw-r--r--graphics/xplot-devel/Makefile11
4 files changed, 19 insertions, 11 deletions
diff --git a/graphics/wmphoto/Makefile b/graphics/wmphoto/Makefile
index 040da49f401..a0499ee08d6 100644
--- a/graphics/wmphoto/Makefile
+++ b/graphics/wmphoto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/12/27 13:37:38 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2010/01/29 23:50:26 joerg Exp $
#
DISTNAME= wmphoto-0.3a
@@ -10,15 +10,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dcc.uchile.cl/~amartoq/wmphoto/
COMMENT= Dock-app that can show you a photo
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS= wmphoto
USE_X11BASE= YES
USE_TOOLS+= gmake
MAKE_ENV+= X11PREFIX=${X11PREFIX:Q} X11BASE=${X11BASE:Q}
+INSTALLATION_DIRS+= bin share/doc/wmphoto
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmphoto
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmphoto
- ${INSTALL_DATA} ${WRKSRC}/HINTS ${PREFIX}/share/doc/wmphoto
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/HINTS \
+ ${DESTDIR}${PREFIX}/share/doc/wmphoto
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
diff --git a/graphics/wmphoto/distinfo b/graphics/wmphoto/distinfo
index 830110686e7..f2fbf3778a2 100644
--- a/graphics/wmphoto/distinfo
+++ b/graphics/wmphoto/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/11/03 22:12:36 rillig Exp $
+$NetBSD: distinfo,v 1.4 2010/01/29 23:50:26 joerg Exp $
SHA1 (wmphoto-0.3a.tar.gz) = dbec1ddd49671bc915b6e9ce37462247557f7fb9
RMD160 (wmphoto-0.3a.tar.gz) = 64b0006b90d187ec01da32f1bc9b7607d19f4330
Size (wmphoto-0.3a.tar.gz) = 19320 bytes
-SHA1 (patch-aa) = 952c53a00cb6a73e4b780e9d643144c394c7d6af
+SHA1 (patch-aa) = fc65409f609cf4484abf13a72437dd8e7fe77e5b
diff --git a/graphics/wmphoto/patches/patch-aa b/graphics/wmphoto/patches/patch-aa
index 6421e111609..ae101d16bca 100644
--- a/graphics/wmphoto/patches/patch-aa
+++ b/graphics/wmphoto/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2005/11/03 22:12:36 rillig Exp $
+$NetBSD: patch-aa,v 1.3 2010/01/29 23:50:26 joerg Exp $
--- wmphoto/Makefile.orig Wed Mar 28 10:09:18 2001
+++ wmphoto/Makefile Wed Mar 28 10:15:59 2001
@@ -40,7 +40,7 @@ $NetBSD: patch-aa,v 1.2 2005/11/03 22:12:36 rillig Exp $
- cp $(APP) $(INSTALL)
- chown root.root $(APP)
- chmod 755 $(APP)
-+ install -s -c $(APP) ${X11PREFIX}/bin
++ ${BSD_INSTALL_PROGRAM} $(APP) ${DESTDIR}${X11PREFIX}/bin
clean::
for i in $(OBJS) ; do \
diff --git a/graphics/xplot-devel/Makefile b/graphics/xplot-devel/Makefile
index 21fad56b3b3..2c43e5e67cd 100644
--- a/graphics/xplot-devel/Makefile
+++ b/graphics/xplot-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/02/01 16:08:21 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/29 23:54:31 joerg Exp $
DISTNAME= xplot-0.90.8
PKGREVISION= 1
@@ -9,16 +9,21 @@ HOMEPAGE= http://www.xplot.org/
MAINTAINER= gdt@NetBSD.org
COMMENT= Plotting program (development snapshot)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
GNU_CONFIGURE= yes
DOCFILES= ANNOUNCE README README.tcp_plots \
demo.0 demo.1 demo.2 demo.3 demo.4 demo.5 demo.6 demo.7
+INSTALLATION_DIRS+= share/doc/xplot
+INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xplot
.for file in ${DOCFILES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xplot
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/xplot
.endfor
.include "../../x11/libX11/buildlink3.mk"