openbsd-ports/graphics/lcms/Makefile
2002-08-25 23:05:49 +00:00

37 lines
828 B
Makefile

# $OpenBSD: Makefile,v 1.4 2002/08/25 23:08:40 brad Exp $
COMMENT= "color management library"
DISTNAME= lcms-1.08
CATEGORIES= graphics
MASTER_SITES= ftp://openbsd.comstyle.com/pub/brad/source/
HOMEPAGE= http://www.littlecms.com/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE_FLAGS= DESTDIR="${WRKINST}" PREFIX="${PREFIX}"
MAKE_ENV= CC="${CC}"
MAKE_FILE= Makefile.openbsd
WRKDIST= ${WRKDIR}/${DISTNAME}/src
post-extract:
@cp -f ${FILESDIR}/Makefile.openbsd ${WRKSRC}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lcms
${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/lcms
do-regress:
@cd ${WRKSRC}/../testbed && \
${MAKE_PROGRAM} CFLAGS="${CFLAGS} -I../include" test
.include <bsd.port.mk>