mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
897d8a455f
build on our supported architectures.
38 lines
954 B
Makefile
38 lines
954 B
Makefile
# New ports collection makefile for: lcms
|
|
# Date created: October 30, 2000
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lcms
|
|
PORTVERSION= 1.09
|
|
PORTEPOCH= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://www.littlecms.com/
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Light Color Management System -- a color management library
|
|
|
|
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}/../jpegicc/jpegicc.c ${WRKSRC}/../jpegicc/iccjpeg.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>
|