blob: 45c54bca1ff895267d3263782a19bb68f175e088 (
plain) (
blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# New ports collection makefile for: separate
# Date created: 30 January 2008
# Whom: Pietro Cerutti <gahr@gahr.ch>
#
# $FreeBSD$
#
PORTNAME= separate
PORTVERSION= 0.5.3
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~gahr/distfiles/
MASTER_SITE_SUBDIR= gahr
DISTNAME= ${PORTNAME}+-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A CMYK plugin for The GIMP
BUILD_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep \
gimp-2.6:${PORTSDIR}/graphics/gimp
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_ZIP= yes
GIMP_PLUGINS_DIR= libexec/gimp/2.2/plug-ins/
TARGETS= separate separate_import icc_colorspace
.for PLUGIN in ${TARGETS}
PLIST_FILES+= ${GIMP_PLUGINS_DIR}/${PLUGIN}
.endfor
PORTDOCS= README*
PORTEXAMPLES= quickproof.scm quicksave.scm
MAKE_ENV+= TARGETS="${TARGETS}"
do-install:
${INSTALL} -d ${PREFIX}/${GIMP_PLUGINS_DIR}
.for PLUGIN in ${TARGETS}
${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN} ${PREFIX}/${GIMP_PLUGINS_DIR}/
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README_ICC_COLORSPACE ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quickproof.scm ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quicksave.scm ${EXAMPLESDIR}
.endif
@${CAT} pkg-message
.include <bsd.port.mk>
|