From 599045794c084f8f7c1bcc24fecdf4df16b1e72a Mon Sep 17 00:00:00 2001 From: dinoex Date: Mon, 16 Jan 2006 11:37:29 +0000 Subject: - add support for cups - new option WITHOUT_CUPS --- x11-toolkits/gnustep-gui/Makefile | 8 ++++++++ x11-toolkits/gnustep-gui/pkg-plist | 5 +++++ 2 files changed, 13 insertions(+) (limited to 'x11-toolkits') diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile index 974ce99..43b6c07 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 06b394e..79fed61 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 -- cgit v1.1