source: trunk/dports/x11/kdesdk3/Portfile @ 9822

Last change on this file since 9822 was 9822, checked in by toby, 15 years ago

Per rangerrick's email of 15 December 2004 23.59.12 EST, resetting all his ports to darwinports@…

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1# $Id: Portfile,v 1.12 2004/12/17 13:45:31 toby 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 lib:libdl:dlcompat \
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
28patch {
29                foreach patch $patchfiles {
30                        system "cd '${workpath}/${distname}' && \
31                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0"
32                }
33}
34post-patch      {
35                system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
36                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
37}
38configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
39                LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib'
40configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
41                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
42                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
43                --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
44                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --enable-final \
45                --disable-dependency-tracking
46build.env       ${configure.env}
Note: See TracBrowser for help on using the repository browser.