summaryrefslogtreecommitdiff
path: root/graphics/jpeg/Makefile
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-10-03 14:48:40 +0000
committersalo <salo@pkgsrc.org>2003-10-03 14:48:40 +0000
commit8c6f9f2a431eecf40c3b1ddc3701f8d52d706072 (patch)
tree0c4b3da86062c45bcdab3942c70db2aea6fa58ae /graphics/jpeg/Makefile
parente2eb984bc09cb2e8d7e593dfa223ac6243340c8f (diff)
downloadpkgsrc-8c6f9f2a431eecf40c3b1ddc3701f8d52d706072.tar.gz
PKGREVISION++
Install documentation. Style nits, while here. Addresses PR pkg/23046 by Ben Collver.
Diffstat (limited to 'graphics/jpeg/Makefile')
-rw-r--r--graphics/jpeg/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index a2bb0233bf9..246bfd89647 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2003/09/05 18:53:30 tron Exp $
+# $NetBSD: Makefile,v 1.25 2003/10/03 14:48:40 salo Exp $
#
DISTNAME= jpegsrc.v6b
PKGNAME= jpeg-6b
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/jpeg/ \
@@ -12,15 +13,21 @@ MAINTAINER= mycroft@NetBSD.org
HOMEPAGE= http://www.ijg.org/
COMMENT= IJG's jpeg compression utilities
+USE_BUILDLINK2= yes
USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
-USE_BUILDLINK2= yes
-GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-static
+
INSTALL_TARGET= install install-lib
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg
+ ${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/jpeg
+
.include "../../mk/bsd.pkg.mk"