aboutsummaryrefslogtreecommitdiff
path: root/graphics/lcms2
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-15 20:16:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-15 20:16:20 +0000
commite57664843328553b6cfd654fb60101850de2436f (patch)
treed2c219dc4579a98d1e5c905beef1411ada946372 /graphics/lcms2
parentfec4d450065810cdb305998af679583ea3a87f81 (diff)
downloadports-e57664843328553b6cfd654fb60101850de2436f.tar.gz
ports-e57664843328553b6cfd654fb60101850de2436f.zip
- Add LICENSE_FILE
- Use USES=localbase - Convert to new options target helper
Notes
Notes: svn path=/head/; revision=399366
Diffstat (limited to 'graphics/lcms2')
-rw-r--r--graphics/lcms2/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/lcms2/Makefile b/graphics/lcms2/Makefile
index b8587c7e4e26..f784f9eb788a 100644
--- a/graphics/lcms2/Makefile
+++ b/graphics/lcms2/Makefile
@@ -11,6 +11,7 @@ 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
@@ -18,25 +19,23 @@ OPTIONS_SUB= yes
JPEGICC_DESC= Build color profile applier for JPEG
TIFFICC_DESC= Build color profile applier for TIFF
-CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-LDFLAGS+= -L${LOCALBASE}/lib
TEST_TARGET= check
USE_LDCONFIG= yes
-USES= libtool pathfix
+USES= libtool localbase pathfix
PORTDOCS= *
-JPEGICC_CONFIGURE_OFF= --without-jpeg
-JPEGICC_CONFIGURE_ON= --with-jpeg=${LOCALBASE}
+JPEGICC_CONFIGURE_WITH= jpeg
JPEGICC_USES= jpeg
-TIFFICC_CONFIGURE_OFF= --without-tiff
-TIFFICC_CONFIGURE_ON= --with-tiff=${LOCALBASE}
+TIFFICC_CONFIGURE_WITH= tiff
TIFFICC_LIB_DEPENDS= libtiff.so:${PORTSDIR}/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}/