summaryrefslogtreecommitdiffstats
path: root/graphics/lcms/Makefile
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-04-10 23:14:05 +0000
committermi <mi@FreeBSD.org>2001-04-10 23:14:05 +0000
commit8b8c385cc08ddb0db453f91fba7acacd7a550aef (patch)
tree53ff5e71ae635170c7de7aaf743f685b420107ef /graphics/lcms/Makefile
parent61d3aaf1a724bac93285c5f7d355e947173b3860 (diff)
downloadFreeBSD-ports-8b8c385cc08ddb0db453f91fba7acacd7a550aef.zip
FreeBSD-ports-8b8c385cc08ddb0db453f91fba7acacd7a550aef.tar.gz
Upgrade to 1.07. Use the official PORTDOCS instead of the pre-PORTDOCS
homegrown DOCS variable. Do not install the test-executable, but run it after build. Change the mastersite and WWW. Thanks to: KATO Tsuguru who sent me the cleaning up and WWW changing patch, which made me look and notice, the new version is also available. I will submit the fix for ImageMagick -- lcms.h is now <lcms.h>, not <lcms/lcms.h>.
Diffstat (limited to 'graphics/lcms/Makefile')
-rw-r--r--graphics/lcms/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile
index 421bde8..9693cfd 100644
--- a/graphics/lcms/Makefile
+++ b/graphics/lcms/Makefile
@@ -6,25 +6,27 @@
#
PORTNAME= lcms
-PORTVERSION= 1.06
+PORTVERSION= 1.07
CATEGORIES= graphics
-MASTER_SITES= http://www.abaforum.es/martim/
+MASTER_SITES= http://www.littlecms.com/
MAINTAINER= mi@aldan.algebra.com
-USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-
-.ifndef NOPORTDOCS
-PLIST_SUB= DOC=""
-.else
-PLIST_SUB= DOC="@comment "
-.endif
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+MAKE_ARGS+= -j2
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
.ifndef NOPORTDOCS
post-install:
${MKDIR} ${PREFIX}/share/doc/lcms
- ${CP} -rp ${WRKSRC}/doc/* ${PREFIX}/share/doc/lcms/
+ ${CP} -rp ${WRKSRC}/../doc/* ${WRKSRC}/../samples/tifficc.c \
+ ${WRKSRC}/../samples/wtpt.c ${WRKSRC}/../samples/neutral.c \
+ ${PREFIX}/share/doc/lcms/
.endif
+post-build test:
+ cd ${WRKSRC}/../testbed && \
+ ${SETENV} CFLAGS="${CFLAGS} -I../src" make -E CFLAGS test
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud