summaryrefslogtreecommitdiff
path: root/graphics/jpeg/Makefile
diff options
context:
space:
mode:
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"