summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
commit2102a055adffd47c5968002068e9f1827b14e15e (patch)
treebf98a947b9317d506539cf3bb1a6aee497b8bb5f /graphics
parent29c1255e82e84bcc71b1f45e385207db68721c64 (diff)
downloadpkgsrc-2102a055adffd47c5968002068e9f1827b14e15e.tar.gz
DESTDIR support.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jpeg/Makefile11
-rw-r--r--graphics/jpeg/distinfo4
-rw-r--r--graphics/jpeg/patches/patch-aa4
-rw-r--r--graphics/png/Makefile3
-rw-r--r--graphics/tiff/Makefile3
5 files changed, 15 insertions, 10 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index 3aced557980..fea15721bab 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2006/09/03 00:56:29 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2006/11/02 18:00:43 joerg Exp $
#
DISTNAME= jpegsrc.v6b
@@ -13,6 +13,7 @@ HOMEPAGE= http://www.ijg.org/
COMMENT= IJG's jpeg compression utilities
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= yes
@@ -24,9 +25,11 @@ CONFIGURE_ARGS+= --enable-static
INSTALL_TARGET= install install-lib
INSTALLATION_DIRS= bin lib include ${PKGMANDIR}/man1
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg
- ${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/jpeg
- ${INSTALL_DATA} ${WRKSRC}/jpegint.h ${PREFIX}/include
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jpeg
+ ${INSTALL_DATA} ${WRKSRC}/*.doc ${DESTDIR}${PREFIX}/share/doc/jpeg
+ ${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jpeg/distinfo b/graphics/jpeg/distinfo
index 3ef3aa28c67..70cc612b1e3 100644
--- a/graphics/jpeg/distinfo
+++ b/graphics/jpeg/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/12/27 17:30:50 reed Exp $
+$NetBSD: distinfo,v 1.5 2006/11/02 18:00:43 joerg Exp $
SHA1 (jpegsrc.v6b.tar.gz) = 7079f0d6c42fad0cfba382cf6ad322add1ace8f9
RMD160 (jpegsrc.v6b.tar.gz) = 18892206014fbb8cae2a44e281f4ed53feaf7882
Size (jpegsrc.v6b.tar.gz) = 613261 bytes
-SHA1 (patch-aa) = c328b9d8840749a8a9c57c28250bee223f7d79bf
+SHA1 (patch-aa) = ffb4a89925187ebc74487ad8980266d1230a5efb
diff --git a/graphics/jpeg/patches/patch-aa b/graphics/jpeg/patches/patch-aa
index 36268798cb7..d26e5839ca0 100644
--- a/graphics/jpeg/patches/patch-aa
+++ b/graphics/jpeg/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.8 2005/12/27 17:30:50 reed Exp $
+$NetBSD: patch-aa,v 1.9 2006/11/02 18:00:43 joerg Exp $
--- makefile.cfg.orig 1998-03-21 11:08:57.000000000 -0800
+++ makefile.cfg
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.8 2005/12/27 17:30:50 reed Exp $
manprefix =
manext = 1
-mandir = $(prefix)/man/man$(manext)
-+mandir = @mandir@/man$(manext)
++mandir = $(DESTDIR)@mandir@/man$(manext)
# The name of your C compiler:
CC= @CC@
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 56ad1ee0b13..eec8f552f81 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.82 2006/07/07 09:35:05 rillig Exp $
+# $NetBSD: Makefile,v 1.83 2006/11/02 18:00:43 joerg Exp $
DISTNAME= libpng-1.2.12
PKGNAME= ${DISTNAME:S/lib//}
@@ -15,6 +15,7 @@ HOMEPAGE= http://www.libpng.org/pub/png/
COMMENT= Library for manipulating PNG images
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= scripts/libpng.pc.in
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index e22efd50998..282ccba36de 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2006/08/02 15:42:25 salo Exp $
+# $NetBSD: Makefile,v 1.85 2006/11/02 18:00:43 joerg Exp $
DISTNAME= tiff-3.8.2
PKGREVISION= 3
@@ -13,6 +13,7 @@ COMMENT= Library and tools for reading and writing TIFF data files
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes