summaryrefslogtreecommitdiff
path: root/graphics/gimp-devel/Makefile
blob: c27e38f783078b78034642f094940313ac5b384e (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:    The GIMP
# Date created:         Mon Nov 18 21:28:43 CST 1996
# Whom:                 erich@FreeBSD.org
#
# $FreeBSD$
#   $MCom: ports/graphics/gimp-devel/Makefile,v 1.30 2007/04/03 17:42:21 ahze Exp $
#

PORTNAME=	gimp
PORTVERSION?=	2.3
PORTREVISION=	2
PORTEPOCH?=	2
CATEGORIES=	graphics gnome
MASTER_SITES?=	# empty
PKGNAMESUFFIX=	-devel
DISTFILES?=	# empty
EXTRACT_ONLY?=	# empty

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	The "meta-port" for The Gimp

RUN_DEPENDS=	gimp-2.3:${PORTSDIR}/graphics/gimp-app-devel

OPTIONS=	PYTHON "Python-fu support" Off \
		PRINT "Gutenprint (gimp-print) plugin" On
#		HELP "Install Gimp-Help (50+MB distfile)" Off

NO_BUILD=	yes

.include <bsd.port.pre.mk>

pre-everything::
	@if [ -n "`${PKG_INFO} -xI '^gimp[-gnome]*-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \
		${ECHO_CMD} "${PKGNAME}: Old version of gimp detected! Please see ${PORTSDIR}/UPDATING for information on upgrading ${PKGNAME}" ; \
		${FALSE}; \
	fi

#.if defined(WITH_HELP)
#RUN_DEPENDS+=	gimp-help>0:${PORTSDIR}/graphics/gimp-help
#.endif

.if defined(WITH_PYTHON)
RUN_DEPENDS+=	${LOCALBASE}/libexec/gimp/2.2/environ/pygimp.env:${PORTSDIR}/graphics/py-gimp
.endif

.if !defined(WITHOUT_PRINT)
RUN_DEPENDS+=	${LOCALBASE}/libexec/gimp/2.2/plug-ins/print:${PORTSDIR}/print/gimp-devel-gutenprint
.endif

do-install:	# empty

.include <bsd.port.post.mk>