source: trunk/dports/x11/kdesdk3/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.0 KB
Line 
1# $Id: Portfile,v 1.13 2005/04/04 10:08:41 jkh Exp $
2
3PortSystem 1.0
4name            kdesdk3
5version         3.1.2
6revision        1
7categories      x11
8maintainers     darwinports@opendarwin.org
9description     tools for developing with KDE
10
11platforms       darwin
12master_sites    kde:stable/${version}/src http://ranger.befunk.com/fink/:admin http://ranger.befunk.com/darwin/:darwin
13extract.suffix  .tar.bz2
14use_bzip2       yes
15distname        kdesdk-${version}
16distfiles       ${distname}.tar.bz2 kde-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:libkdecore.4:kdelibs3 bin:startkde:kdebase3 lib:libpng.3:libpng \
20                lib:libqt-mt.3.1:qt3 lib:libX11.6:XFree86
21
22checksums       kdesdk-${version}.tar.bz2 md5 279b42135756e0e3640cf5f6612f572d \
23                kde-admindir-20030601.tar.bz2 md5 6135f81de4b1561942be8fd31ae21297 \
24                detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
25
26set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
27
28platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
29
30patch {
31                foreach patch $patchfiles {
32                        system "cd '${workpath}/${distname}' && \
33                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0"
34                }
35}
36post-patch      {
37                system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
38                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
39}
40configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
41                LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib'
42configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
43                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
44                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
45                --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
46                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --enable-final \
47                --disable-dependency-tracking
48build.env       ${configure.env}
Note: See TracBrowser for help on using the repository browser.