mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Stanislav Sedov <stas@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lcms2
|
|
PORTVERSION= 2.8
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/lcms/lcms/${PORTVERSION} \
|
|
http://www.littlecms.com/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Accurate, fast, and small-footprint color management engine
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
OPTIONS_DEFINE= DOCS JPEGICC TIFFICC
|
|
OPTIONS_DEFAULT=JPEGICC TIFFICC
|
|
OPTIONS_SUB= yes
|
|
JPEGICC_DESC= Build color profile applier for JPEG
|
|
TIFFICC_DESC= Build color profile applier for TIFF
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
USE_LDCONFIG= yes
|
|
USES= libtool localbase:ldflags pathfix
|
|
|
|
PORTDOCS= *
|
|
|
|
JPEGICC_CONFIGURE_WITH= jpeg
|
|
JPEGICC_USES= jpeg
|
|
TIFFICC_CONFIGURE_WITH= tiff
|
|
TIFFICC_LIB_DEPENDS= libtiff.so:graphics/tiff
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/utils/ && ${INSTALL_MAN} linkicc/linkicc.1 psicc/psicc.1 transicc/transicc.1 ${STAGEDIR}${PREFIX}/man/man1/
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|