summaryrefslogtreecommitdiff
path: root/graphics/icc-profiles-adobe-cs4/Makefile
blob: 827395a98384fc5c9d6f7093a700e37b1ec946fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PORTNAME=	icc-profiles-adobe-cs4
PORTVERSION=	1
CATEGORIES=	graphics
MASTER_SITES=	https://download.adobe.com/pub/adobe/iccprofiles/win/
DISTNAME=	AdobeICCProfilesCS4Win_end-user

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	Adobe ICC CMYK and RGB profiles for graphics professionals

LICENSE=	ADOBEEULA.pdf
LICENSE_NAME=	Adobe End-User License Agreement
LICENSE_FILE=	${WRKDIR}/Adobe\ ICC\ Profiles\ \(end-user\)/Color\ Profile\ EULA.pdf
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept

USES=		zip
NO_BUILD=	yes
NO_ARCH=	yes

SYSCOLORDIR=	share/color
PLIST_SUB=	SYSCOLORDIR=${SYSCOLORDIR}

OPTIONS_DEFINE=	DOCS

do-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKDIR}/Adobe\ ICC\ Profiles\ \(end-user\) && ${COPYTREE_SHARE} \*.pdf ${STAGEDIR}${DOCSDIR})
.for d in CMYK RGB
	@${MKDIR} ${STAGEDIR}${PREFIX}/${SYSCOLORDIR}/Adobe/${d}
	(cd ${WRKDIR}/Adobe\ ICC\ Profiles\ \(end-user\)/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SYSCOLORDIR}/Adobe/${d})
.endfor

.include <bsd.port.mk>