aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gnustep-gui
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-01-16 19:37:29 +0800
committerdinoex <dinoex@FreeBSD.org>2006-01-16 19:37:29 +0800
commit599045794c084f8f7c1bcc24fecdf4df16b1e72a (patch)
tree709804cc0e56ee0dd34d657f0c61b78e5547680d /x11-toolkits/gnustep-gui
parentbd7f5525d7eeff04fbd14eed1c664435a1885e05 (diff)
downloadfreebsd-ports-gnome-599045794c084f8f7c1bcc24fecdf4df16b1e72a.tar.gz
freebsd-ports-gnome-599045794c084f8f7c1bcc24fecdf4df16b1e72a.tar.zst
freebsd-ports-gnome-599045794c084f8f7c1bcc24fecdf4df16b1e72a.zip
- add support for cups
- new option WITHOUT_CUPS
Diffstat (limited to 'x11-toolkits/gnustep-gui')
-rw-r--r--x11-toolkits/gnustep-gui/Makefile8
-rw-r--r--x11-toolkits/gnustep-gui/pkg-plist5
2 files changed, 13 insertions, 0 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 974ce99db6d5..43b6c07530fa 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnustep-gui
PORTVERSION= 0.10.2
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR= core
@@ -53,6 +54,13 @@ IGNORE= requires procfs mounted to build or run, for details see procfs(5)
.endif
.endif
+.if !defined(WITHOUT_CUPS)
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
+PLIST_SUB+= WITH_CUPS=""
+.else
+PLIST_SUB+= WITH_CUPS="@comment "
+.endif
+
pre-configure:
.for file in config.guess config.sub install-sh
@${CP} ${PREFIX}/System/Library/Makefiles/${file} ${WRKSRC}
diff --git a/x11-toolkits/gnustep-gui/pkg-plist b/x11-toolkits/gnustep-gui/pkg-plist
index 06b394e76155..79fed6193192 100644
--- a/x11-toolkits/gnustep-gui/pkg-plist
+++ b/x11-toolkits/gnustep-gui/pkg-plist
@@ -1,3 +1,6 @@
+%%WITH_CUPS%%System/Library/Bundles/GSPrinting/GSCUPS.bundle/GSCUPS
+%%WITH_CUPS%%System/Library/Bundles/GSPrinting/GSCUPS.bundle/Resources/Info-gnustep.plist
+%%WITH_CUPS%%System/Library/Bundles/GSPrinting/GSCUPS.bundle/stamp.make
System/Library/Bundles/GSPrinting/GSLPR.bundle/GSLPR
System/Library/Bundles/GSPrinting/GSLPR.bundle/Resources/Info-gnustep.plist
System/Library/Bundles/GSPrinting/GSLPR.bundle/stamp.make
@@ -687,5 +690,7 @@ System/Tools/set_show_service
@dirrm System/Library/Bundles/TextConverters
@dirrm System/Library/Bundles/GSPrinting/GSLPR.bundle/Resources
@dirrm System/Library/Bundles/GSPrinting/GSLPR.bundle
+%%WITH_CUPS%%@dirrm System/Library/Bundles/GSPrinting/GSCUPS.bundle/Resources
+%%WITH_CUPS%%@dirrm System/Library/Bundles/GSPrinting/GSCUPS.bundle
@dirrm System/Library/Bundles/GSPrinting
%%PORTDOCS%%@exec mkdir -p %D/System/Library/Documentation/Developer/Gui/ProgrammingManual