summaryrefslogtreecommitdiff
path: root/graphics/jpeg
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
commit7f279c69f3bbfb01502eb4a86a67241c8385a76a (patch)
treebf98a947b9317d506539cf3bb1a6aee497b8bb5f /graphics/jpeg
parenta249557e2ef3692a146b62db38822e71392b403b (diff)
downloadpkgsrc-7f279c69f3bbfb01502eb4a86a67241c8385a76a.tar.gz
DESTDIR support.
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/Makefile11
-rw-r--r--graphics/jpeg/distinfo4
-rw-r--r--graphics/jpeg/patches/patch-aa4
3 files changed, 11 insertions, 8 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@