2009-04-09 09:10:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2009/04/09 13:10:49 jasper Exp $
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2008-07-19 07:18:23 -04:00
|
|
|
COMMENT = color management library
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2009-04-09 09:10:49 -04:00
|
|
|
DISTNAME = lcms-1.18
|
2008-07-19 07:18:23 -04:00
|
|
|
SHARED_LIBS = lcms 2.0
|
|
|
|
CATEGORIES = graphics
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lcms/}
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2008-07-19 07:18:23 -04:00
|
|
|
HOMEPAGE = http://www.littlecms.com/
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2008-07-19 07:18:23 -04:00
|
|
|
LIB_DEPENDS += jpeg::graphics/jpeg \
|
2004-02-03 00:15:16 -05:00
|
|
|
tiff::graphics/tiff
|
|
|
|
|
|
|
|
# MIT
|
2008-07-19 07:18:23 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c m z
|
|
|
|
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${WRKBUILD}/src/.libs -L${LOCALBASE}/lib"
|
2001-12-03 11:35:47 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lcms
|
2004-02-03 00:15:16 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/lcms
|
2001-12-03 11:35:47 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|