ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/graphics/lcms/Makefile
Revision: 24935
Committed: Sat Feb 9 17:33:24 2019 UTC (5 years, 2 months ago) by laffer1
File size: 1672 byte(s)
Log Message:
remove la file

File Contents

# Content
1 # $MidnightBSD$
2 # $FreeBSD: ports/graphics/lcms/Makefile,v 1.23 2006/08/10 20:59:53 miwi Exp $
3
4 PORTNAME= lcms
5 PORTVERSION= 1.19
6 PORTREVISION= 2
7 PORTEPOCH= 1
8 CATEGORIES= graphics
9 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
10 http://www.littlecms.com/
11
12 MAINTAINER= ports@MidnightBSD.org
13 COMMENT= Light Color Management System -- a color management library
14
15 LICENSE= mit
16
17 OPTIONS_DEFINE= DOCS JPEGICC TIFFICC
18 OPTIONS_DEFAULT=JPEGICC TIFFICC
19 OPTIONS_SUB= yes
20 JPEGICC_DESC= Build color profile applier for JPEG
21 TIFFICC_DESC= Build color profile applier for TIFF
22
23 CPPFLAGS+= -I${LOCALBASE}/include
24 GNU_CONFIGURE= yes
25 INSTALL_TARGET= install-strip
26 LDFLAGS+= -L${LOCALBASE}/lib
27 USE_LDCONFIG= yes
28 USES= libtool pathfix
29
30 PORTDOCS= *
31
32 JPEGICC_CONFIGURE_OFF= --without-jpeg
33 JPEGICC_CONFIGURE_ON= --with-jpeg=${LOCALBASE}
34 JPEGICC_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
35 TIFFICC_CONFIGURE_OFF= --without-tiff
36 TIFFICC_CONFIGURE_ON= --with-tiff=${LOCALBASE}
37 TIFFICC_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff
38
39 post-patch:
40 @${REINPLACE_CMD} -e '/^SUBDIRS = / s| python samples||' ${WRKSRC}/Makefile.in
41 @${REINPLACE_CMD} -e '/^#ifdef __sgi/ s|__sgi|__unix__|; /^#include "sgidefs.h"/d' ${WRKSRC}/include/icc34.h.in
42 @${REINPLACE_CMD} -e '/^testcms_LDFLAGS = / s|$$| -static|' ${WRKSRC}/testbed/Makefile.in
43
44 post-install:
45 ${MKDIR} ${STAGEDIR}${DOCSDIR}/
46 cd ${WRKSRC}/ && ${INSTALL_DATA} doc/LCMSAPI.TXT doc/TUTORIAL.TXT tifficc/tifficc.c \
47 jpegicc/jpegicc.c jpegicc/iccjpeg.c samples/wtpt.c samples/icctrans.c ${STAGEDIR}${DOCSDIR}/
48
49 regression-test test: build
50 cd ${WRKSRC}/testbed/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
51
52 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H