View | Details | Raw Unified | Return to bug 146457 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-22 / +20 lines)
Lines 2-18 Link Here
2
# Date created:        30 January 2008
2
# Date created:        30 January 2008
3
# Whom:                Pietro Cerutti <gahr@gahr.ch>
3
# Whom:                Pietro Cerutti <gahr@gahr.ch>
4
#
4
#
5
# $FreeBSD: ports/graphics/separate/Makefile,v 1.8 2010/03/28 06:37:58 dinoex Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	separate
8
PORTNAME=	separate
9
PORTVERSION=	0.5.3
9
PORTVERSION=	0.5.7
10
PORTREVISION=	3
11
PORTEPOCH=	1
10
PORTEPOCH=	1
12
CATEGORIES=	graphics
11
CATEGORIES=	graphics
13
MASTER_SITES=	${MASTER_SITE_LOCAL} \
12
MASTER_SITES=	SFJP \
14
		http://people.freebsd.org/~gahr/distfiles/
13
		http://people.freebsd.org/~gahr/distfiles/
15
MASTER_SITE_SUBDIR=	gahr
14
MASTER_SITE_SUBDIR=	separate-plus/46785
16
DISTNAME=	${PORTNAME}+-${PORTVERSION}
15
DISTNAME=	${PORTNAME}+-${PORTVERSION}
17
16
18
MAINTAINER=	gahr@FreeBSD.org
17
MAINTAINER=	gahr@FreeBSD.org
Lines 22-59 Link Here
22
		gimp-2.6:${PORTSDIR}/graphics/gimp
21
		gimp-2.6:${PORTSDIR}/graphics/gimp
23
LIB_DEPENDS=	lcms.1:${PORTSDIR}/graphics/lcms
22
LIB_DEPENDS=	lcms.1:${PORTSDIR}/graphics/lcms
24
23
25
WRKSRC=		${WRKDIR}/${DISTNAME}
26
27
USE_ZIP=	yes
24
USE_ZIP=	yes
25
USE_GMAKE=	yes
28
26
29
GIMP_PLUGINS_DIR=	libexec/gimp/2.2/plug-ins/
27
BIN_TARGETS=	separate separate_import icc_colorspace
30
TARGETS=		separate separate_import icc_colorspace
28
L10N_TARGETS=	cs fr ja ko pl ru
31
29
32
.for PLUGIN in ${TARGETS}
30
.for PLUGIN in ${BIN_TARGETS}
33
PLIST_FILES+=	${GIMP_PLUGINS_DIR}/${PLUGIN}
31
PLIST_FILES+=	libexec/gimp/2.2/plug-ins/${PLUGIN}
32
.endfor
33
.for lang in ${L10N_TARGETS}
34
PLIST_FILES+=	share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo
34
.endfor
35
.endfor
35
36
36
PORTDOCS=	README*
37
PORTDOCS=	README*
37
PORTEXAMPLES=	quickproof.scm quicksave.scm
38
PORTEXAMPLES=	qproof.scm qexport.scm
38
39
39
MAKE_ENV+=	TARGETS="${TARGETS}"
40
MAKE_ENV+=	TARGETS="${BIN_TARGETS}"
40
41
41
do-install:
42
post-patch:
42
	${INSTALL} -d ${PREFIX}/${GIMP_PLUGINS_DIR}
43
	@${REINPLACE_CMD} -e 's@%%PREFIX%%@${PREFIX}@; s@%%GMAKE%%@${GMAKE}@' \
43
.for PLUGIN in ${TARGETS}
44
	${WRKSRC}/Makefile
44
	${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN} ${PREFIX}/${GIMP_PLUGINS_DIR}/
45
.endfor
46
45
47
post-install:
46
post-install:
48
.if !defined(NOPORTDOCS)
47
.if !defined(NOPORTDOCS)
49
	${MKDIR} ${DOCSDIR}
48
	${MKDIR} ${DOCSDIR}
50
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
49
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
51
	${INSTALL_DATA} ${WRKSRC}/README_ICC_COLORSPACE ${DOCSDIR}
52
.endif
50
.endif
53
.if !defined(NOPORTEXAMPLES)
51
.if !defined(NOPORTEXAMPLES)
54
	${MKDIR} ${EXAMPLESDIR}
52
	${MKDIR} ${EXAMPLESDIR}
55
	${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quickproof.scm ${EXAMPLESDIR}
53
	cd ${WRKSRC}/sample-scripts && \
56
	${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quicksave.scm ${EXAMPLESDIR}
54
	${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
57
.endif
55
.endif
58
	@${CAT} pkg-message
56
	@${CAT} pkg-message
59
57
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (separate+-0.5.3.zip) = 2c9b8ba641ba02f4bbb6a3b7e862d46f
1
MD5 (separate+-0.5.7.zip) = 3040baa11a9bf9c5c3112cdd715eaada
2
SHA256 (separate+-0.5.3.zip) = e43a778a7f54cf1a524984463bc4fe6d38bd22cfa9b985e086fb25085abdf123
2
SHA256 (separate+-0.5.7.zip) = d7524f28c2634ad0aacdf2c6c4bb113b58638444c303140a1d222444c5a36fe2
3
SIZE (separate+-0.5.3.zip) = 201919
3
SIZE (separate+-0.5.7.zip) = 242592

Return to bug 146457