summaryrefslogtreecommitdiff
path: root/graphics/hermes
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commita459d6adc77b22d7efa499cea1bcfbae7c929a42 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /graphics/hermes
parent7854cf84ecbcc45c6b18092fadae7896937e468a (diff)
downloadpkgsrc-a459d6adc77b22d7efa499cea1bcfbae7c929a42.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics/hermes')
-rw-r--r--graphics/hermes/Makefile4
-rw-r--r--graphics/hermes/distinfo4
-rw-r--r--graphics/hermes/patches/patch-ac15
3 files changed, 14 insertions, 9 deletions
diff --git a/graphics/hermes/Makefile b/graphics/hermes/Makefile
index a1905858a84..e8a08bbc535 100644
--- a/graphics/hermes/Makefile
+++ b/graphics/hermes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/01/19 09:16:24 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2008/06/12 02:14:31 joerg Exp $
DISTNAME= Hermes-1.3.3
PKGREVISION= 2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.clanlib.org/hermes/
COMMENT= Library for conversion of pixel graphics
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/Hermes-1.3.3
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
diff --git a/graphics/hermes/distinfo b/graphics/hermes/distinfo
index 591ae408a0e..31b9aad872c 100644
--- a/graphics/hermes/distinfo
+++ b/graphics/hermes/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 08:45:07 agc Exp $
+$NetBSD: distinfo,v 1.8 2008/06/12 02:14:31 joerg Exp $
SHA1 (Hermes-1.3.3.tar.bz2) = c760eb17fcbf2052907e42b637cd22c2b96657d6
RMD160 (Hermes-1.3.3.tar.bz2) = 6c169d7f33bb0ca5a82aef346ed092bb28936182
Size (Hermes-1.3.3.tar.bz2) = 356380 bytes
SHA1 (patch-aa) = 459804a7fe816c4b2d37bc0461d923352f99c129
-SHA1 (patch-ac) = 986475db735c3e01b7c7f0edb0c3bf5d6708b704
+SHA1 (patch-ac) = 2ee249e619306672cd9a52e2622dff1b61388191
SHA1 (patch-ad) = 480f7ef8dd9ec2ebb7b273328be163ae152d8226
SHA1 (patch-ae) = b45652212ece5a7c70f86717ed81ba9993e03e9a
diff --git a/graphics/hermes/patches/patch-ac b/graphics/hermes/patches/patch-ac
index 035f0efe310..f3bdb990ba4 100644
--- a/graphics/hermes/patches/patch-ac
+++ b/graphics/hermes/patches/patch-ac
@@ -1,13 +1,16 @@
-$NetBSD: patch-ac,v 1.3 2003/01/19 06:59:53 salo Exp $
+$NetBSD: patch-ac,v 1.4 2008/06/12 02:14:31 joerg Exp $
---- src/Makefile.in.orig Mon Nov 29 16:22:58 1999
-+++ src/Makefile.in Mon Nov 29 16:22:58 1999
-@@ -438,7 +438,7 @@
+--- src/Makefile.in.orig 2003-07-06 15:56:57.000000000 +0000
++++ src/Makefile.in
+@@ -544,9 +544,9 @@ uninstall-am: uninstall-info-am uninstal
cp $@ `echo $@ | sed -e 's/\.lo$$/.o/'`
install-data-local:
- $(INSTALL) -m 0755 -d $(includedir)/Hermes
-+ $(BSD_INSTALL_PROGRAM_DIR) -m 0755 $(includedir)/Hermes
++ $(BSD_INSTALL_PROGRAM_DIR) -m 0755 ${DESTDIR}$(includedir)/Hermes
for incfile in $(publicheaders); do \
- $(INSTALL) -m 0644 $$incfile $(includedir)/Hermes; \
+- $(INSTALL) -m 0644 $$incfile $(includedir)/Hermes; \
++ $(INSTALL) -m 0644 $$incfile ${DESTDIR}$(includedir)/Hermes; \
done
+
+ uninstall-local: