openbsd-ports/graphics/lcms/Makefile
2003-05-12 04:10:54 +00:00

38 lines
833 B
Makefile

# $OpenBSD: Makefile,v 1.5 2003/05/12 04:10:54 brad Exp $
COMMENT= "color management library"
DISTNAME= lcms-1.09
CATEGORIES= graphics
MASTER_SITES= ftp://openbsd.comstyle.com/pub/brad/source/
HOMEPAGE= http://www.littlecms.com/
MAINTAINER= Brad Smith <brad@openbsd.org>
# LGPL
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>