172c057f5a
And use PKGMANDIR for the INSTALLATION_DIRS. PKGREVISION not bumped -- no change in default build. And before would have failed if PKGMANDIR was set to non-default.
32 lines
826 B
Makefile
32 lines
826 B
Makefile
# $NetBSD: Makefile,v 1.33 2005/12/27 17:30:50 reed Exp $
|
|
#
|
|
|
|
DISTNAME= jpegsrc.v6b
|
|
PKGNAME= jpeg-6b
|
|
PKGREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/jpeg/ \
|
|
ftp://ftp.uu.net/graphics/jpeg/
|
|
|
|
MAINTAINER= mycroft@NetBSD.org
|
|
HOMEPAGE= http://www.ijg.org/
|
|
COMMENT= IJG's jpeg compression utilities
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
INSTALL_TARGET= install install-lib
|
|
INSTALLATION_DIRS= bin lib include ${PKGMANDIR}/man1
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg
|
|
${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/jpeg
|
|
${INSTALL_DATA} ${WRKSRC}/jpegint.h ${PREFIX}/include
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|