2000-11-03 17:03:33 +00:00
|
|
|
# New ports collection makefile for: lcms
|
|
|
|
# Date created: October 30, 2000
|
|
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lcms
|
2003-05-21 22:39:38 +00:00
|
|
|
PORTVERSION= 1.09
|
|
|
|
PORTEPOCH= 1
|
2000-11-03 17:03:33 +00:00
|
|
|
CATEGORIES= graphics
|
2002-11-06 05:29:10 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://www.littlecms.com/
|
|
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
2000-11-03 17:03:33 +00:00
|
|
|
|
2003-05-22 21:07:14 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Light Color Management System -- a color management library
|
2000-11-03 17:03:33 +00:00
|
|
|
|
|
|
|
INSTALLS_SHLIB= yes
|
2001-04-10 23:14:05 +00:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
MAKE_ARGS+= -j2
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
2000-11-03 17:03:33 +00:00
|
|
|
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/lcms
|
2002-01-05 10:53:21 +00:00
|
|
|
${CP} -rp ${WRKSRC}/../doc/* ${WRKSRC}/../tifficc/tifficc.c \
|
2002-11-06 05:29:10 +00:00
|
|
|
${WRKSRC}/../jpegicc/jpegicc.c ${WRKSRC}/../jpegicc/iccjpeg.c \
|
2002-01-05 10:53:21 +00:00
|
|
|
${WRKSRC}/../samples/wtpt.c ${WRKSRC}/../samples/icctrans.c \
|
2001-04-10 23:14:05 +00:00
|
|
|
${PREFIX}/share/doc/lcms/
|
2000-11-03 17:03:33 +00:00
|
|
|
.endif
|
|
|
|
|
2001-04-10 23:14:05 +00:00
|
|
|
post-build test:
|
|
|
|
cd ${WRKSRC}/../testbed && \
|
2002-11-06 05:29:10 +00:00
|
|
|
${SETENV} CFLAGS="${CFLAGS} -I../include" ${MAKE} -E CFLAGS test
|
2001-04-10 23:14:05 +00:00
|
|
|
|
2000-11-03 17:03:33 +00:00
|
|
|
.include <bsd.port.mk>
|