[21529] trunk/dports/gnustep/gworkspace/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 26 23:31:29 PST 2007


Revision: 21529
          http://trac.macosforge.org/projects/macports/changeset/21529
Author:   yves at macports.org
Date:     2007-01-26 23:31:29 -0800 (Fri, 26 Jan 2007)

Log Message:
-----------
GWorkspacr revision with PDFKit dependency placed as a variant

Modified Paths:
--------------
    trunk/dports/gnustep/gworkspace/Portfile

Modified: trunk/dports/gnustep/gworkspace/Portfile
===================================================================
--- trunk/dports/gnustep/gworkspace/Portfile	2007-01-27 00:59:18 UTC (rev 21528)
+++ trunk/dports/gnustep/gworkspace/Portfile	2007-01-27 07:31:29 UTC (rev 21529)
@@ -5,6 +5,7 @@
 
 name        gworkspace
 version     0.8.4
+revision	1
 platforms   darwin
 maintainers yves at macports.org
 homepage    http://www.gnustep.it/enrico/gworkspace/
@@ -15,7 +16,7 @@
     real-time auditing of the file-system, \
     an advanced database based search system, etc.
 
-depends_lib-append  port:pdfkit port:system-preferences
+depends_lib-append port:system-preferences
 
 master_sites  ${homepage}
 checksums     md5 562017f6f2f889203a18586853ca6700
@@ -33,8 +34,6 @@
 post-patch {
     reinplace "s|ADDITIONAL_TOOL_LIBS +=|ADDITIONAL_LIB_DIRS += -L\$(GNUSTEP_LOCAL_ROOT)/Library/Frameworks|" \
         ${worksrcpath}/GWorkspace/GNUmakefile.preamble
-    reinplace "s|-lOperation|-lOperation -lPDFKit|" \
-        ${worksrcpath}/GWorkspace/GNUmakefile.in
 }
 use_configure yes
 
@@ -44,3 +43,12 @@
     cd ${worksrcpath}/Apps_wrappers
     system "cp -R *.app ${destroot}${prefix}/GNUstep/Local/Applications"
 }
+
+variant with_pdfkit {
+	depends_lib-append	port:PDFKit
+	post-patch {
+		reinplace "s|-lOperation|-lOperation -lPDFKit|" \
+        	${worksrcpath}/GWorkspace/GNUmakefile.in
+	}
+}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070126/d1fa8106/attachment.html


More information about the macports-changes mailing list