summaryrefslogtreecommitdiff
path: root/graphics/lcms/Makefile
blob: cd1685ac6e32d3e9b6d5eab285b7f71dac0dcabd (plain) (blame)
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
# New ports collection makefile for:	lcms
# Date created:		October 30, 2000
# Whom:			Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#

PORTNAME=	lcms
PORTVERSION=	1.08
CATEGORIES=	graphics
MASTER_SITES=	http://www.littlecms.com/

MAINTAINER=	mi@aldan.algebra.com

INSTALLS_SHLIB=	yes
MAKEFILE=	${FILESDIR}/Makefile.bsd
MAKE_ARGS+=	-j2
WRKSRC=		${WRKDIR}/${DISTNAME}/src

.ifndef NOPORTDOCS
post-install:
	${MKDIR} ${PREFIX}/share/doc/lcms
	${CP} -rp ${WRKSRC}/../doc/* ${WRKSRC}/../tifficc/tifficc.c \
		${WRKSRC}/../samples/wtpt.c ${WRKSRC}/../samples/icctrans.c \
		${PREFIX}/share/doc/lcms/
.endif

post-build test:
	cd ${WRKSRC}/../testbed && \
		${SETENV} CFLAGS="${CFLAGS} -I../include" make -E CFLAGS test

.include <bsd.port.mk>