2008-06-09 20:42:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2008/06/10 00:42:40 okan Exp $
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= color management library
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2008-06-09 20:42:40 -04:00
|
|
|
DISTNAME= lcms-1.17
|
|
|
|
SHARED_LIBS= lcms 2.0
|
2001-12-03 11:35:47 -05:00
|
|
|
CATEGORIES= graphics
|
2004-02-03 00:15:16 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lcms/}
|
2001-12-03 11:35:47 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.littlecms.com/
|
|
|
|
|
2004-02-03 00:15:16 -05:00
|
|
|
LIB_DEPENDS+= jpeg::graphics/jpeg \
|
|
|
|
tiff::graphics/tiff
|
|
|
|
|
|
|
|
# MIT
|
2001-12-03 11:35:47 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-29 20:06:33 -05:00
|
|
|
WANTLIB= c m z
|
2001-12-03 11:35:47 -05:00
|
|
|
|
2005-12-26 12:27:24 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2004-02-03 00:15:16 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2006-03-16 06:03:07 -05:00
|
|
|
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>
|