Changeset 21529 for trunk/dports/gnustep


Ignore:
Timestamp:
Jan 27, 2007, 7:31:29 AM (12 years ago)
Author:
yves@…
Message:

GWorkspacr revision with PDFKit dependency placed as a variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnustep/gworkspace/Portfile

    r21269 r21529  
    66name        gworkspace
    77version     0.8.4
     8revision        1
    89platforms   darwin
    910maintainers yves@macports.org
     
    1617    an advanced database based search system, etc.
    1718
    18 depends_lib-append  port:pdfkit port:system-preferences
     19depends_lib-append port:system-preferences
    1920
    2021master_sites  ${homepage}
     
    3435    reinplace "s|ADDITIONAL_TOOL_LIBS +=|ADDITIONAL_LIB_DIRS += -L\$(GNUSTEP_LOCAL_ROOT)/Library/Frameworks|" \
    3536        ${worksrcpath}/GWorkspace/GNUmakefile.preamble
    36     reinplace "s|-lOperation|-lOperation -lPDFKit|" \
    37         ${worksrcpath}/GWorkspace/GNUmakefile.in
    3837}
    3938use_configure yes
     
    4544    system "cp -R *.app ${destroot}${prefix}/GNUstep/Local/Applications"
    4645}
     46
     47variant with_pdfkit {
     48        depends_lib-append      port:PDFKit
     49        post-patch {
     50                reinplace "s|-lOperation|-lOperation -lPDFKit|" \
     51                ${worksrcpath}/GWorkspace/GNUmakefile.in
     52        }
     53}
     54
Note: See TracChangeset for help on using the changeset viewer.