aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp/Makefile
blob: 39485b20f66c49383ed0670246acea410ea54c45 (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
# 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/Makefile,v 1.9 2007/04/04 14:54:04 ahze Exp $
#

PORTNAME=   gimp
PORTVERSION?=   2.2
PORTEPOCH?= 2
CATEGORIES= graphics gnome
MASTER_SITES?=  # empty
DISTFILES?= # empty
EXTRACT_ONLY?=  # empty

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

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

OPTIONS=    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-[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-gutenprint
.endif

do-install: # empty

.include <bsd.port.post.mk>