diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-01-16 11:37:29 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-01-16 11:37:29 +0000 |
commit | 599045794c084f8f7c1bcc24fecdf4df16b1e72a (patch) | |
tree | 709804cc0e56ee0dd34d657f0c61b78e5547680d /x11-toolkits | |
parent | bd7f5525d7eeff04fbd14eed1c664435a1885e05 (diff) | |
download | FreeBSD-ports-599045794c084f8f7c1bcc24fecdf4df16b1e72a.zip FreeBSD-ports-599045794c084f8f7c1bcc24fecdf4df16b1e72a.tar.gz |
- add support for cups
- new option WITHOUT_CUPS
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gnustep-gui/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/gnustep-gui/pkg-plist | 5 |
2 files changed, 13 insertions, 0 deletions
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 |