source: trunk/dports/x11/koffice/Portfile @ 11593

Last change on this file since 11593 was 11593, checked in by jkh, 15 years ago

The disposition of the dlopen() and poll() routines has evolved over 3 releases. Properly
conditionalize usage of this in the ports that need it to ensure that builds on Jaguar, Panther
and Tiger all work.

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1# $Id: Portfile,v 1.10 2005/04/04 10:08:42 jkh Exp $
2
3PortSystem 1.0
4name            koffice
5version         1.2.90
6revision        1
7categories      x11
8maintainers     darwinports@opendarwin.org
9description     the KDE office suite
10
11platforms       darwin
12master_sites    kde:unstable/${name}-${version}/src http://ranger.befunk.com/fink/:admin http://ranger.befunk.com/darwin/:darwin
13extract.suffix  .tar.bz2
14use_bzip2       yes
15distname        koffice-${version}
16distfiles       ${distname}.tar.bz2 koffice-admindir-20030601.tar.bz2:admin detect-autoconf.tar.bz2:darwin
17patchfiles      patch-${name}.darwin
18depends_lib     lib:libDCOP:kdelibs3 lib:libart_lgpl_2:libart_lgpl \
19                lib:libjpeg:jpeg lib:libkdecore.4:kdelibs3 bin:startkde:kdebase3 \
20                lib:libpng.3:libpng lib:libqt-mt.3.1:qt3 lib:libX11.6:XFree86 \
21                bin:python:python24 lib:libxml2.2:libxml2 lib:libxslt:libxslt
22
23checksums       ${name}-${version}.tar.bz2 md5 5f08ec8a42aacd7dcaf7899d486c9885 \
24                koffice-admindir-20030601.tar.bz2 md5 6f1d1ac6c098d08fd216ffec11a6778e \
25                detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
26
27set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
28
29platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
30
31patch {
32                foreach patch $patchfiles {
33                        system "cd '${workpath}/${distname}' && \
34                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0"
35                }
36}
37post-patch      {
38                system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
39                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
40}
41configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
42                LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib'
43configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
44                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
45                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
46                --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
47                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --enable-final \
48                --disable-dependency-tracking
49build.env       ${configure.env}
Note: See TracBrowser for help on using the repository browser.