blob: 781f670b3fc750cc3da1c26bc4c2686bd91ae0bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.37 2007/08/01 11:47:15 obache Exp $
#
DISTNAME= jpegsrc.v6b
PKGNAME= jpeg-6b
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/jpeg/ \
ftp://ftp.uu.net/graphics/jpeg/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ijg.org/
COMMENT= IJG's jpeg compression utilities
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
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
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
post-extract:
${CP} ${FILESDIR}/jpegexiforient.c ${WRKSRC}
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/exifautotran ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jpeg
${INSTALL_DATA} ${WRKSRC}/*.doc ${DESTDIR}${PREFIX}/share/doc/jpeg
${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
|