source: trunk/dports/x11/kdeartwork3/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.6 KB
Line 
1# $Id: Portfile,v 1.16 2005/04/04 10:08:39 jkh Exp $
2
3PortSystem 1.0
4name            kdeartwork3
5version         3.1.2
6revision        2
7categories      x11
8maintainers     darwinports@opendarwin.org
9description     extra icons and screensavers for 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        kdeartwork-${version}
16distfiles       ${distname}.tar.bz2 kde-admindir-20030601.tar.bz2:admin detect-autoconf.tar.bz2:darwin
17depends_lib     lib:libDCOP:kdelibs3 lib:libart_lgpl_2:libart_lgpl \
18                lib:libkdecore.4:kdelibs3 bin:startkde:kdebase3 lib:libpng.3:libpng \
19                lib:libqt-mt.3.1:qt3 lib:libX11.6:XFree86
20
21checksums       kdeartwork-${version}.tar.bz2 md5 0ac7fda2acfa32ce26913ff864722e44 \
22                kde-admindir-20030601.tar.bz2 md5 6135f81de4b1561942be8fd31ae21297 \
23                detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
24
25set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
26
27platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
28
29variant darwin {
30                patchfiles \
31                        stable/patch-kdeartwork-kwin-styles-cde-Makefile.am.diff \
32                        stable/patch-kdeartwork-kwin-styles-glow-Makefile.am.diff \
33                        stable/patch-kdeartwork-kwin-styles-openlook-Makefile.am.diff
34}
35
36variant cvs {
37                version 3.2.0
38                revision 0
39
40                ##### THIS IS UNSUPPORTED, DO NOT USE THIS IN YOUR PORTS! #####
41                cvs.root :pserver:anonymous@anoncvs.kde.org:/home/kde
42                cvs.module kdeartwork
43                pre-extract cvsfetch
44                ##### I MEAN IT, LANDONF WILL KILL YOU IF YOU DO THIS! #####
45
46                distname kdeartwork
47                distfiles kde-admindir-cvs-20030701.tar.bz2:admin
48                checksums kde-admindir-cvs-20030701.tar.bz2 md5 b9bf2dc286d2e434c2cfdadc421c79b6
49
50                patchfiles
51}
52
53patch {
54                foreach patch $patchfiles {
55                        system "cd '${workpath}/${distname}' && \
56                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0"
57                }
58}
59post-patch      {
60                system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
61                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
62}
63
64configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
65                LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='${prefix}/lib'
66configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
67                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
68                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
69                --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
70                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
71                --disable-dependency-tracking
72build.env       ${configure.env}
Note: See TracBrowser for help on using the repository browser.