freebsd-ports/graphics/argyllcms/Makefile
Boris Samorodov 7493532a0f Change mode for binaries: 711 -> 755.
Approved by:	maintainer (kwm@)
2014-11-22 19:16:42 +00:00

40 lines
995 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= argyllcms
PORTVERSION= 1.6.3
CATEGORIES= graphics
MASTER_SITES= http://www.argyllcms.com/
DISTNAME= Argyll_V${PORTVERSION}_src
MAINTAINER= kwm@FreeBSD.org
COMMENT= ICC compatible color management system
LICENSE= AGPLv3
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libtiff.so:${PORTSDIR}/graphics/tiff
WRKSRC= ${WRKDIR}/Argyll_V${PORTVERSION}
USES= zip
USE_XORG= x11 xau xdmcp xext xinerama xrandr xscrnsaver xxf86vm
post-patch:
@${REINPLACE_CMD} 's:711:755:g' ${WRKSRC}/Jambase
do-build:
@cd ${WRKSRC} && jam -q -fJambase -j${MAKE_JOBS_NUMBER}
do-install:
@cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} PREFIX=${PREFIX} \
REFSUBDIR=share/argyll/ref \
jam -q -fJambase -j${MAKE_JOBS_NUMBER} install
@${MV} ${STAGEDIR}${PREFIX}/bin/License.txt \
${STAGEDIR}${PREFIX}/share/argyll/
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>