source: trunk/dports/x11/kdelibs3/Portfile @ 5871

Last change on this file since 5871 was 5871, checked in by mij, 16 years ago

Chase the libintl library version from the gettext update.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 6.8 KB
Line 
1# $Id: Portfile,v 1.25 2004/03/19 23:18:47 mij Exp $
2
3PortSystem 1.0
4name            kdelibs3
5version         3.1.2
6revision        4
7categories      x11
8maintainers     ranger@befunk.com
9description     essential libraries for KDE applications
10
11platforms       darwin
12master_sites    \
13                kde:stable/${version}/src \
14                http://ranger.befunk.com/fink/:admin \
15                http://ranger.befunk.com/darwin/:darwin
16extract.suffix  .tar.bz2
17use_bzip2       yes
18distname        kdelibs-${version}
19distfiles       ${distname}.tar.bz2 kde-admindir-20030601.tar.bz2:admin detect-autoconf.tar.bz2:darwin
20patchfiles      patch-${name}.darwin
21depends_lib     lib:libart_lgpl_2:libart_lgpl lib:libartsflow.1:arts \
22                lib:libaudiofile.0:audiofile lib:libbz2:bzip2 lib:libiconv.2:libiconv \
23                lib:libjpeg.62:jpeg lib:libmad:mad lib:libogg:libogg lib:libpcre:pcre \
24                lib:libpng.3:libpng lib:libtiff.3:tiff lib:libqt-mt.3:qt3 \
25                lib:libvorbis.0:libvorbis lib:libxml2.2:libxml2 lib:libxslt:libxslt \
26                lib:libX11.6:XFree86 lib:libintl.3:gettext
27
28checksums       kdelibs-${version}.tar.bz2 md5 2b896ce9a6942e4cc4fe1758236bafa3 \
29                kde-admindir-20030601.tar.bz2 md5 6135f81de4b1561942be8fd31ae21297 \
30                detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
31
32set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
33
34variant darwin {
35                depends_lib-append lib:libdl:dlcompat lib:libpoll.1:poll-emulator \
36                        path:${prefix}/include/cups/cups.h:cups-headers
37                patchfiles \
38                        stable/patch-kdelibs-arts-kde-mcop-dcop-kmcop.cpp.diff \
39                        stable/patch-kdelibs-arts-kde-mcop-dcop-kmcop_main.cpp.diff \
40                        stable/patch-kdelibs-arts-kde-mcop-dcop-Makefile.am.diff \
41                        stable/patch-kdelibs-arts-knotify-knotify.cpp.diff \
42                        stable/patch-kdelibs-arts-knotify-Makefile.am.diff \
43                        stable/patch-kdelibs-arts-knotify-stub_main.cpp.diff \
44                        stable/patch-kdelibs-dcop-dcopserver.cpp.diff \
45                        stable/patch-kdelibs-dcop-dcopserver_main.cpp.diff \
46                        stable/patch-kdelibs-dcop-Makefile.am.diff \
47                        stable/patch-kdelibs-interfaces-kmediaplayer-Makefile.am.diff \
48                        stable/patch-kdelibs-interfaces-kscript-Makefile.am.diff \
49                        stable/patch-kdelibs-interfaces-kscript-sample-Makefile.am.diff \
50                        stable/patch-kdelibs-interfaces-ktexteditor-Makefile.am.diff \
51                        stable/patch-kdelibs-kab-Makefile.am.diff \
52                        stable/patch-kdelibs-kabc-Makefile.am.diff \
53                        stable/patch-kdelibs-kabc-plugins-ldap-configure.in.in.diff \
54                        stable/patch-kdelibs-kabc-vcard-Makefile.am.diff \
55                        stable/patch-kdelibs-kate-interfaces-Makefile.am.diff \
56                        stable/patch-kdelibs-kcert-Makefile.am.diff \
57                        stable/patch-kdelibs-kconf_update-kconf_update.cpp.diff \
58                        stable/patch-kdelibs-kconf_update-kconf_update_main.cpp.diff \
59                        stable/patch-kdelibs-kconf_update-Makefile.am.diff \
60                        stable/patch-kdelibs-kdecore-kiconloader.cpp.diff \
61                        stable/patch-kdelibs-kdecore-kstandarddirs.cpp.diff \
62                        stable/patch-kdelibs-kdecore-Makefile.am.diff \
63                        stable/patch-kdelibs-kdecore-svgicons-Makefile.am.diff \
64                        stable/patch-kdelibs-kded-kbuildsycoca.cpp.diff \
65                        stable/patch-kdelibs-kded-kbuildsycoca_main.cpp.diff \
66                        stable/patch-kdelibs-kded-kded.cpp.diff \
67                        stable/patch-kdelibs-kded-kded_main.cpp.diff \
68                        stable/patch-kdelibs-kded-Makefile.am.diff \
69                        stable/patch-kdelibs-kdeprint-cups-cupsdconf2-main.cpp.diff \
70                        stable/patch-kdelibs-kdeprint-cups-cupsdconf2-Makefile.am.diff \
71                        stable/patch-kdelibs-kdeprint-cups-cupsdconf2-stub_main.cpp.diff \
72                        stable/patch-kdelibs-kdeprint-management-Makefile.am.diff \
73                        stable/patch-kdelibs-kdeui-kedittoolbar.cpp.diff \
74                        stable/patch-kdelibs-kdeui-kxmlguifactory.cpp.diff \
75                        stable/patch-kdelibs-kdeui-Makefile.am.diff \
76                        stable/patch-kdelibs-kdoctools-Makefile.am.diff \
77                        stable/patch-kdelibs-khtml-java-dummy-Makefile.am.diff \
78                        stable/patch-kdelibs-khtml-Makefile.am.diff \
79                        stable/patch-kdelibs-kimgio-Makefile.am.diff \
80                        stable/patch-kdelibs-kinit-kinit.cpp.diff \
81                        stable/patch-kdelibs-kinit-Makefile.am.diff \
82                        stable/patch-kdelibs-kinit-setproctitle.cpp.diff \
83                        stable/patch-kdelibs-kinit-wrapper.c.diff \
84                        stable/patch-kdelibs-kio-kio-kurlcompletion.cpp.diff \
85                        stable/patch-kdelibs-kio-kio-kurlcompletion.h.diff \
86                        stable/patch-kdelibs-kio-kio-lex.c.diff \
87                        stable/patch-kdelibs-kio-kssl-kopenssl.cc.diff \
88                        stable/patch-kdelibs-kio-misc-kio_uiserver_main.cpp.diff \
89                        stable/patch-kdelibs-kio-misc-kpac-kpac_dhcp_helper.c.diff \
90                        stable/patch-kdelibs-kio-misc-Makefile.am.diff \
91                        stable/patch-kdelibs-kio-misc-uiserver.cpp.diff \
92                        stable/patch-kdelibs-kioslave-file-Makefile.am.diff \
93                        stable/patch-kdelibs-kioslave-ftp-Makefile.am.diff \
94                        stable/patch-kdelibs-kioslave-http-http.cc.diff \
95                        stable/patch-kdelibs-kioslave-http-http_cache_cleaner.cpp.diff \
96                        stable/patch-kdelibs-kioslave-http-kcookiejar-Makefile.am.diff \
97                        stable/patch-kdelibs-kioslave-http-Makefile.am.diff \
98                        stable/patch-kdelibs-kioslave-http-stub_main.cpp.diff \
99                        stable/patch-kdelibs-kparts-Makefile.am.diff \
100                        stable/patch-kdelibs-kspell-Makefile.am.diff \
101                        stable/patch-kdelibs-libkmid-Makefile.am.diff \
102                        stable/patch-kdelibs-libkscreensaver-Makefile.am.diff \
103                        stable/patch-kdelibs-libltdl-ltdl.c.diff \
104                        stable/patch-kdelibs-libltdl-ltdl.m4.diff
105}
106
107variant cvs {
108                version 3.2
109                revision 0
110
111                ##### THIS IS UNSUPPORTED, DO NOT USE THIS IN YOUR PORTS! #####
112                cvs.root :pserver:anonymous@anoncvs.kde.org:/home/kde
113                cvs.module kdelibs
114                pre-extract {
115                        cvsfetch
116                }
117                ##### I MEAN IT, LANDONF WILL KILL YOU IF YOU DO THIS! #####
118
119                distname kdelibs
120                distfiles kde-libtool-20030815.tar.bz2:admin
121                checksums kde-libtool-20030815.tar.bz2 md5 27a4e3456d9d0d0e34101b95d185df37
122
123                patchfiles \
124                        current/kdelibs.diff
125}
126
127variant aqua {
128                configure.args-append --enable-mac --without-arts
129                depends_lib-delete lib:libX11.6:XFree86
130                depends_lib-delete lib:libartsflow.1:arts
131                depends_lib-delete lib:libqt-mt.3:qt3
132                depends_lib lib:libqt-mt.3:qt3-mac
133}
134
135patch {
136                foreach patch $patchfiles {
137                        system "cd '${workpath}/${distname}' && \
138                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0"
139                }
140}
141post-patch      {
142                system "cd '${worksrcpath}' && if test -d ../admin; then cp -Rf ../admin/ admin; fi"
143                system "cd '${worksrcpath}' && if test -d ../libltdl; then cp -Rf ../libltdl/ libltdl; fi"
144                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
145}
146configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
147                LDFLAGS="-L/usr/X11R6/lib" LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='${prefix}/lib'
148configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
149                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
150                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
151                --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
152                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
153                --disable-dependency-tracking --enable-cups --with-ldap
154build.env       ${configure.env}
155build.target    all apidox
Note: See TracBrowser for help on using the repository browser.