diff options
author | snj <snj> | 2009-02-17 01:08:24 +0000 |
---|---|---|
committer | snj <snj> | 2009-02-17 01:08:24 +0000 |
commit | 1375dace4d2875c115b2ce34efe6803382f4bce2 (patch) | |
tree | 2f8a35a14390e45f2de3dcaa8c18350403a99ad0 /graphics/qiv | |
parent | 369c924e5a8bdc0ea877dad8c15982f337871026 (diff) | |
download | pkgsrc-1375dace4d2875c115b2ce34efe6803382f4bce2.tar.gz |
Add user-destdir support.
Diffstat (limited to 'graphics/qiv')
-rw-r--r-- | graphics/qiv/Makefile | 4 | ||||
-rw-r--r-- | graphics/qiv/distinfo | 4 | ||||
-rw-r--r-- | graphics/qiv/patches/patch-aa | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile index df07932f9b3..2ba01981124 100644 --- a/graphics/qiv/Makefile +++ b/graphics/qiv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/01/07 09:13:56 rillig Exp $ +# $NetBSD: Makefile,v 1.22 2009/02/17 01:08:24 snj Exp $ DISTNAME= qiv-2.0-src PKGNAME= ${DISTNAME:S/-src//} @@ -13,6 +13,8 @@ COMMENT= Quick image viewer PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= gmake diff --git a/graphics/qiv/distinfo b/graphics/qiv/distinfo index 026aebe6173..5c035faf2de 100644 --- a/graphics/qiv/distinfo +++ b/graphics/qiv/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2005/02/24 08:45:12 agc Exp $ +$NetBSD: distinfo,v 1.8 2009/02/17 01:08:24 snj Exp $ SHA1 (qiv-2.0-src.tgz) = 46eef04c492b9f01d79eab7c2fec78b4edd13550 RMD160 (qiv-2.0-src.tgz) = 82b17c20468228258f7c1e7c61588c80e1c40107 Size (qiv-2.0-src.tgz) = 76561 bytes -SHA1 (patch-aa) = bcf9b2b335db8235e46ec4a85df32cf945b185b5 +SHA1 (patch-aa) = 5d37ccd524079fe29b2c8c295cc1f4d35dc15946 diff --git a/graphics/qiv/patches/patch-aa b/graphics/qiv/patches/patch-aa index b5168cfa4dd..b6c48f9bb8f 100644 --- a/graphics/qiv/patches/patch-aa +++ b/graphics/qiv/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 2004/11/26 22:18:28 snj Exp $ +$NetBSD: patch-aa,v 1.6 2009/02/17 01:08:24 snj Exp $ --- Makefile.orig 2004-05-22 00:21:47.000000000 -0700 +++ Makefile 2004-11-26 14:05:41.000000000 -0800 @@ -48,8 +48,8 @@ $NetBSD: patch-aa,v 1.5 2004/11/26 22:18:28 snj Exp $ - else echo "-- Test Failed --" ; \ - fi - @echo -ne "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example /usr/local/bin/qiv-command\n\n" -+ $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(PREFIX)/bin -+ $(BSD_INSTALL_DATA) $(PROGRAM).1 $(PREFIX)/man/man1 ++ $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin ++ $(BSD_INSTALL_DATA) $(PROGRAM).1 $(DESTDIR)$(PREFIX)/man/man1 install-xscreensaver: install @echo "#!/bin/sh" > $(SS_PROG) |