d5259e6b72
ok sthen@
39 lines
926 B
Makefile
39 lines
926 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/09/25 22:52:16 brad Exp $
|
|
|
|
COMMENT = color management library
|
|
|
|
DISTNAME = lcms2-2.4
|
|
SHARED_LIBS = lcms2 0.2
|
|
CATEGORIES = graphics
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lcms/}
|
|
|
|
HOMEPAGE = http://www.littlecms.com/
|
|
|
|
LIB_DEPENDS += graphics/jpeg \
|
|
graphics/tiff
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c jpeg m tiff z
|
|
|
|
USE_LIBTOOL = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/lcms2
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
cd ${WRKSRC}/doc; \
|
|
${INSTALL_DATA} LittleCMS2.??API.pdf ${DOCDIR}/api.pdf; \
|
|
${INSTALL_DATA} LittleCMS2*Plugin?API.pdf ${DOCDIR}/plugin-api.pdf; \
|
|
${INSTALL_DATA} LittleCMS2*tutorial.pdf ${DOCDIR}/tutorial.pdf
|
|
|
|
.include <bsd.port.mk>
|