pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/zphoto Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2416c98ea085
branches:  trunk
changeset: 538544:2416c98ea085
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Feb 12 13:56:48 2008 +0000

description:
Add DESTDIR support.

diffstat:

 graphics/zphoto/Makefile         |   4 +++-
 graphics/zphoto/distinfo         |   3 ++-
 graphics/zphoto/patches/patch-ad |  17 +++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r e8ee813d13bb -r 2416c98ea085 graphics/zphoto/Makefile
--- a/graphics/zphoto/Makefile  Tue Feb 12 13:44:06 2008 +0000
+++ b/graphics/zphoto/Makefile  Tue Feb 12 13:56:48 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/11/17 01:47:02 obache Exp $
+# $NetBSD: Makefile,v 1.7 2008/02/12 13:56:48 obache Exp $
 #
 
 DISTNAME=      zphoto-1.2
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://0xcc.net/zphoto/
 COMMENT=       Flash-based photo album generator
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "options.mk"
 
 USE_PKGLOCALEDIR=      yes
diff -r e8ee813d13bb -r 2416c98ea085 graphics/zphoto/distinfo
--- a/graphics/zphoto/distinfo  Tue Feb 12 13:44:06 2008 +0000
+++ b/graphics/zphoto/distinfo  Tue Feb 12 13:56:48 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/11/17 01:47:02 obache Exp $
+$NetBSD: distinfo,v 1.4 2008/02/12 13:56:48 obache Exp $
 
 SHA1 (zphoto-1.2.tar.gz) = 2d45c5df2f2a00db0d8170f18ea5ed399fb9d611
 RMD160 (zphoto-1.2.tar.gz) = 54a93da3c8303ebbf9c505891e9fa8fb32bd6a64
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 4c15d45ecfbefadc4b9b2195e00d005e3ed2a936
 SHA1 (patch-ab) = d365aeba430374b3ba6b4f1f88731f3b809fca31
 SHA1 (patch-ac) = b810ce437c8bc7be796e7206f99300422fb9467c
+SHA1 (patch-ad) = cda6e504d5d88cdf1ae202ce1bad786313546f3d
diff -r e8ee813d13bb -r 2416c98ea085 graphics/zphoto/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/zphoto/patches/patch-ad  Tue Feb 12 13:56:48 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.1 2008/02/12 13:56:48 obache Exp $
+
+--- templates/default/all/Makefile.in.orig     2004-07-20 16:49:24.000000000 +0000
++++ templates/default/all/Makefile.in
+@@ -369,9 +369,9 @@ all: zphoto.css .photo.html
+       | sh
+ 
+ install-data-local:
+-      mkdir -p $(templatesdir)
+-      cp -p *.html.* $(templatesdir)
+-      cp -p *.js.* $(templatesdir)
++      mkdir -p $(DESTDIR)$(templatesdir)
++      cp -p *.html.* $(DESTDIR)$(templatesdir)
++      cp -p *.js.* $(DESTDIR)$(templatesdir)
+ 
+ clean:
+       rm -f zphoto.css .photo.html *.html.* *.js.* *.txt



Home | Main Index | Thread Index | Old Index