freebsd-ports/graphics/argyllcms/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

40 lines
998 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= argyllcms
PORTVERSION= 1.7.0
PORTREVISION= 1
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
BROKEN_powerpc64= Does not build
BUILD_DEPENDS= jam:devel/jam
LIB_DEPENDS= libtiff.so:graphics/tiff
WRKSRC= ${WRKDIR}/Argyll_V${PORTVERSION}
USES= compiler:c11 cpe jpeg 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} && ${MAKE_ENV} 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/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>