diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-10-16 04:16:15 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-10-16 04:16:15 +0800 |
commit | 79e1879759854c1f4b0de55e94d0443e2aac0e48 (patch) | |
tree | 54927ff7c92aae0352f5e3e7d438adc044bf3cb5 /graphics | |
parent | d665cb6d24cd641527c1b11feadf31ef1aae369b (diff) | |
download | freebsd-ports-gnome-79e1879759854c1f4b0de55e94d0443e2aac0e48.tar.gz freebsd-ports-gnome-79e1879759854c1f4b0de55e94d0443e2aac0e48.tar.zst freebsd-ports-gnome-79e1879759854c1f4b0de55e94d0443e2aac0e48.zip |
- Add LICENSE_FILE
- Use USES=localbase
- Convert to new options target helper
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/lcms/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index 2b7dd752a3f4..1a53babaa910 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -13,6 +13,7 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Light Color Management System -- a color management library LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DOCS JPEGICC TIFFICC OPTIONS_DEFAULT=JPEGICC TIFFICC @@ -20,21 +21,17 @@ 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-patch: @@ -42,7 +39,7 @@ post-patch: @${REINPLACE_CMD} -e '/^#ifdef __sgi/ s|__sgi|__unix__|; /^#include "sgidefs.h"/d' ${WRKSRC}/include/icc34.h.in @${REINPLACE_CMD} -e '/^testcms_LDFLAGS = / s|$$| -static|' ${WRKSRC}/testbed/Makefile.in -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} doc/LCMSAPI.TXT doc/TUTORIAL.TXT tifficc/tifficc.c \ jpegicc/jpegicc.c jpegicc/iccjpeg.c samples/wtpt.c samples/icctrans.c ${STAGEDIR}${DOCSDIR}/ |