diff options
-rw-r--r-- | graphics/ljpeg/Makefile | 15 | ||||
-rw-r--r-- | graphics/ljpeg/distinfo | 4 | ||||
-rw-r--r-- | graphics/ljpeg/patches/patch-aa | 8 |
3 files changed, 15 insertions, 12 deletions
diff --git a/graphics/ljpeg/Makefile b/graphics/ljpeg/Makefile index 4d934d97aef..948b78f0c30 100644 --- a/graphics/ljpeg/Makefile +++ b/graphics/ljpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/06/15 13:31:29 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2009/10/29 22:34:33 tnn Exp $ # DISTNAME= ljpg @@ -11,16 +11,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= ftp://ftp.cs.cornell.edu/pub/multimed/ COMMENT= Lossless JPEG codec +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} DIST_SUBDIR= ${PKGNAME_NOREV} BUILD_TARGET= default +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 \ + share/doc/ljpeg share/examples/ljpeg + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ljpeg - ${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/ljpeg - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ljpeg - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ljpeg - ${INSTALL_DATA} ${WRKSRC}/F-18* ${PREFIX}/share/examples/ljpeg + ${INSTALL_DATA} ${WRKSRC}/Copyright ${DESTDIR}${PREFIX}/share/doc/ljpeg + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ljpeg + ${INSTALL_DATA} ${WRKSRC}/F-18* ${DESTDIR}${PREFIX}/share/examples/ljpeg .include "../../mk/bsd.pkg.mk" diff --git a/graphics/ljpeg/distinfo b/graphics/ljpeg/distinfo index b216110c5bc..626a7e1aa28 100644 --- a/graphics/ljpeg/distinfo +++ b/graphics/ljpeg/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 08:45:10 agc Exp $ +$NetBSD: distinfo,v 1.4 2009/10/29 22:34:33 tnn Exp $ SHA1 (ljpg-1.0/ljpg.tar.Z) = 47071fad1f11a3b9241a34b188ab07d54dcd13bc RMD160 (ljpg-1.0/ljpg.tar.Z) = c61e5207ebf449e016ea9e2f23c54d323f680a54 Size (ljpg-1.0/ljpg.tar.Z) = 334459 bytes -SHA1 (patch-aa) = 562ce4a8f82c6ed59b4b730f59822d4749e925a3 +SHA1 (patch-aa) = ceb910a141d782597d2d3dbb15b520e6284cb394 SHA1 (patch-ab) = c56ad99b8ce278d58f50fc8770c6ca62aa8936f4 diff --git a/graphics/ljpeg/patches/patch-aa b/graphics/ljpeg/patches/patch-aa index 5f24f757e56..08545828485 100644 --- a/graphics/ljpeg/patches/patch-aa +++ b/graphics/ljpeg/patches/patch-aa @@ -1,19 +1,19 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/12/21 21:30:14 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2009/10/29 22:34:33 tnn Exp $ ---- Makefile.orig Wed Jun 22 18:48:40 1994 +--- Makefile.orig 1994-06-22 18:48:40.000000000 +0200 +++ Makefile @@ -1,19 +1,19 @@ # # Set BINDIR to where you want the binaries to go. # -BINDIR= /usr/public/sun4/bin -+BINDIR= ${PREFIX}/bin ++BINDIR= ${DESTDIR}${PREFIX}/bin # # Set MANDIR to where you want the man pages to go. # -MANDIR= /usr/public/share/man/man1 -+MANDIR= ${PREFIX}/man/man1 ++MANDIR= ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 # # Select your favorite compiler and compilation flags here. |