openbsd-ports/graphics/lcms/Makefile

33 lines
755 B
Makefile
Raw Normal View History

2008-06-09 20:42:40 -04:00
# $OpenBSD: Makefile,v 1.16 2008/06/10 00:42:40 okan Exp $
COMMENT= color management library
2008-06-09 20:42:40 -04:00
DISTNAME= lcms-1.17
SHARED_LIBS= lcms 2.0
CATEGORIES= graphics
2004-02-03 00:15:16 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lcms/}
HOMEPAGE= http://www.littlecms.com/
2004-02-03 00:15:16 -05:00
LIB_DEPENDS+= jpeg::graphics/jpeg \
tiff::graphics/tiff
# MIT
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
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"
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
.include <bsd.port.mk>