34 lines
873 B
Makefile
34 lines
873 B
Makefile
# $NetBSD: Makefile,v 1.48 2013/10/11 14:54:05 joerg Exp $
|
|
|
|
DISTNAME= jpegsrc.v9
|
|
PKGNAME= ${DISTNAME:S/src.v/-/}
|
|
PKGREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ijg.org/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.ijg.org/
|
|
COMMENT= IJG's jpeg compression utilities
|
|
|
|
CONFLICTS= libjpeg-turbo-[0-9]*
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-ld-version-script
|
|
|
|
INSTALLATION_DIRS= bin include share/doc/jpeg
|
|
|
|
TEST_TARGET= test
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/jpegexiforient.c ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/exifautotran ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/jpeg
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|