summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2007-04-28 06:05:35 +0000
committerMichael Johnson <ahze@FreeBSD.org>2007-04-28 06:05:35 +0000
commit975866a2819cf91608d07accc24c319ba4fca2b0 (patch)
tree9eb6b32d9a47574cfa414ca43d231911f97bf52b /print
parentMore broken-ruby-1.8.6-backward-compatibility adaptation. (diff)
- Add gimp-devel-gutenprint [1]
- Make gimp-devel depend on gimp-devel-gutenprint instead of gimp-gutenprint [2] Repocopied by: marcus [1] Reported by: kris mail [2]
Notes
Notes: svn path=/head/; revision=191050
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/gimp-devel-gutenprint/Makefile4
-rw-r--r--print/gutenprint-base/Makefile12
3 files changed, 11 insertions, 6 deletions
diff --git a/print/Makefile b/print/Makefile
index 1ea88ab409eb..213ff79ea119 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -92,6 +92,7 @@
SUBDIR += ghostscript-gpl
SUBDIR += ghostscript-gpl-nox11
SUBDIR += ghostview
+ SUBDIR += gimp-devel-gutenprint
SUBDIR += gimp-gutenprint
SUBDIR += gimp-print
SUBDIR += gl2ps
diff --git a/print/gimp-devel-gutenprint/Makefile b/print/gimp-devel-gutenprint/Makefile
index 109e99f4ee79..1f3caba12491 100644
--- a/print/gimp-devel-gutenprint/Makefile
+++ b/print/gimp-devel-gutenprint/Makefile
@@ -7,7 +7,7 @@
PORTREVISION= 0
PORTEPOCH= 0
-PKGNAMEPREFIX= gimp-
+PKGNAMEPREFIX= gimp-devel-
PKGNAMESUFFIX= # empty
MAINTAINER= ahze@FreeBSD.org
@@ -15,7 +15,7 @@ COMMENT= Gimp print plug-in
MASTERDIR= ${.CURDIR}/../../print/gutenprint-base
-GUT_SLAVE= gimp
+GUT_SLAVE= gimp-devel
PLIST= ${.CURDIR}/pkg-plist
.include "${MASTERDIR}/Makefile"
diff --git a/print/gutenprint-base/Makefile b/print/gutenprint-base/Makefile
index 44325388fe04..447d3334c46f 100644
--- a/print/gutenprint-base/Makefile
+++ b/print/gutenprint-base/Makefile
@@ -1,4 +1,4 @@
-# ports collection makefile for: [Jgimp-print
+# ports collection makefile for: gimp-print
# Date Created: 2002 01 02
# Whom: dgilbert@velocet.ca
#
@@ -43,9 +43,13 @@ GUTENPRINTUI2_LIBS=`${PKG_CONFIG} --libs gutenprintui2`
MAN1+= escputil.1
.endif
-.if defined(GUT_SLAVE) && ${GUT_SLAVE}=="gimp"
-LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-app \
- gutenprint.2:${PORTSDIR}/print/gutenprint-base
+.if defined(GUT_SLAVE) && (${GUT_SLAVE}=="gimp" || ${GUT_SLAVE}=="gimp-devel")
+.if ${GUT_SLAVE}=="gimp"
+LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-app
+.elif ${GUT_SLAVE}=="gimp-devel"
+LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-app-devel
+.endif
+LIB_DEPENDS+= gutenprint.2:${PORTSDIR}/print/gutenprint-base
CONFIGURE_ARGS=--with-gimp2=yes # Override CONFIGURE_ARGS
BUILD_WRKSRC= ${WRKSRC}/src/gimp2
INSTALL_WRKSRC= ${WRKSRC}/src/gimp2