mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
5c315a864f
Fix the build with -fno-common (default with llvm 11) While here, remove a useless REINPLACE_CMD. MFH: 2020Q3
37 lines
939 B
Makefile
37 lines
939 B
Makefile
# Created by: Koop Mast <kwm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= argyllcms
|
|
PORTVERSION= 1.9.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= https://www.argyllcms.com/
|
|
DISTNAME= Argyll_V${PORTVERSION}_src
|
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
|
COMMENT= ICC compatible color management system
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
BUILD_DEPENDS= jam:devel/jam
|
|
LIB_DEPENDS= libtiff.so:graphics/tiff \
|
|
libpng.so:graphics/png
|
|
|
|
WRKSRC= ${WRKDIR}/Argyll_V${PORTVERSION}
|
|
|
|
USES= compiler:c11 cpe jpeg ssl xorg zip
|
|
USE_XORG= x11 xau xdmcp xext xinerama xrandr xscrnsaver xxf86vm
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${MAKE_ENV} jam -dx -q -fJambase -j${MAKE_JOBS_NUMBER}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${MAKE_ENV} \
|
|
REFSUBDIR=share/argyll/ref \
|
|
jam -dx -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>
|