blob: 43190702d27088579f5884c9642b79e5ee168f1e (
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
|
# ports collection makefile for: gimp-print
# Date Created: 2002 01 02
# Whom: dgilbert@velocet.ca
#
# $FreeBSD$
# $MCom: ports/print/gutenprint/Makefile,v 1.8 2007/04/03 17:42:21 ahze Exp $
#
PORTNAME= gutenprint
PORTVERSION= 5.1
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= ahze@FreeBSD.org
COMMENT= The "meta-port" for GutenPrint
RUN_DEPENDS= gutenprint-base>0:${PORTSDIR}/print/gutenprint-base
OPTIONS= CUPS "GutenPrint (gimp-print) Cups Drivers" Off \
GIMP "GutenPrint Plugin for the GIMP (gimp-print)" Off \
IJS "IJS GhostScript Drivers" On \
FOOMATIC "Foomatic data files" Off
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if defined(WITH_CUPS)
RUN_DEPENDS+= gutenprint-cups>0:${PORTSDIR}/print/gutenprint-cups
.endif
.if defined(WITH_GIMP)
RUN_DEPENDS+= gimp-gutenprint>0:${PORTSDIR}/print/gimp-gutenprint
.endif
.if !defined(WITHOUT_IJS)
RUN_DEPENDS+= gutenprint-ijs>0:${PORTSDIR}/print/gutenprint-ijs
.endif
.if defined(WITH_FOOMATIC)
RUN_DEPENDS+= gutenprint-foomatic>0:${PORTSDIR}/print/gutenprint-foomatic
.endif
pre-everything::
@if [ -n "`${PKG_INFO} -xI '^gutenprint-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \
${ECHO_CMD} "${PKGNAME}: Old version of gutenprint detected! Please see ${PORTSDIR}/UPDATING for information on upgrading ${PKGNAME}" ; \
${FALSE}; \
fi
do-install: # empty
.include <bsd.port.post.mk>
|