diff options
author | obache <obache@pkgsrc.org> | 2008-02-12 13:56:48 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-02-12 13:56:48 +0000 |
commit | a0159eb4db985638a4a4425f82722c84107c35e5 (patch) | |
tree | 30552810f82c73ea29f4c0217d1dc98301ce3725 /graphics/zphoto | |
parent | 0b19984225af39fc3a2c231983d7fab06539023f (diff) | |
download | pkgsrc-a0159eb4db985638a4a4425f82722c84107c35e5.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'graphics/zphoto')
-rw-r--r-- | graphics/zphoto/Makefile | 4 | ||||
-rw-r--r-- | graphics/zphoto/distinfo | 3 | ||||
-rw-r--r-- | graphics/zphoto/patches/patch-ad | 17 |
3 files changed, 22 insertions, 2 deletions
diff --git a/graphics/zphoto/Makefile b/graphics/zphoto/Makefile index 0a029b827fe..93d7ff0b02e 100644 --- a/graphics/zphoto/Makefile +++ b/graphics/zphoto/Makefile @@ -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 @@ MAINTAINER= obache@NetBSD.org HOMEPAGE= http://0xcc.net/zphoto/ COMMENT= Flash-based photo album generator +PKG_DESTDIR_SUPPORT= user-destdir + .include "options.mk" USE_PKGLOCALEDIR= yes diff --git a/graphics/zphoto/distinfo b/graphics/zphoto/distinfo index b52b7dabea0..a336d21455a 100644 --- a/graphics/zphoto/distinfo +++ b/graphics/zphoto/distinfo @@ -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 @@ Size (zphoto-1.2.tar.gz) = 414079 bytes SHA1 (patch-aa) = 4c15d45ecfbefadc4b9b2195e00d005e3ed2a936 SHA1 (patch-ab) = d365aeba430374b3ba6b4f1f88731f3b809fca31 SHA1 (patch-ac) = b810ce437c8bc7be796e7206f99300422fb9467c +SHA1 (patch-ad) = cda6e504d5d88cdf1ae202ce1bad786313546f3d diff --git a/graphics/zphoto/patches/patch-ad b/graphics/zphoto/patches/patch-ad new file mode 100644 index 00000000000..1879d8a8a89 --- /dev/null +++ b/graphics/zphoto/patches/patch-ad @@ -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 |