source: trunk/dports/audio/arts/Portfile @ 3011

Last change on this file since 3011 was 3011, checked in by ranger, 17 years ago

mark anderson pointed out this was using ${version} just like the kde* ones
but version is not "3.1.2" in arts :P

  • Property svn:eol-style set to native
File size: 4.8 KB
Line 
1# $Id: Portfile,v 1.17 2003/07/08 16:51:44 ranger Exp $
2
3PortSystem 1.0
4name            arts
5version         1.1.2
6revision        4
7categories      audio
8maintainers     ranger@befunk.com
9description     analog realtime synthesizer
10
11long_description aRts is a framework for developing modular multimedia applications. The \
12sound server, artsd, allows multiple applications to cooperatively process \
13and output sound and music. aRts is designed to provide its filter and \
14synthesis capabilities to other applications using the multimedia \
15communication protocol (MCOP). aRts is also capable of modular realtime \
16synthesis. It can create sounds & music (realtime midi synthesis) using \
17small modules like oscillators for creating waveforms, various filters, \
18mixers, faders, etc.
19
20platforms       darwin
21master_sites    \
22                http://ftp.rutgers.edu/pub/kde/stable/3.1.2/src/ \
23                http://mirrors.midco.net/pub/kde/stable/3.1.2/src/ \
24                http://kde.oregonstate.edu/pub/kde/stable/3.1.2/src/ \
25                http://csociety-ftp.ecn.purdue.edu/pub/kde/stable/3.1.2/src/ \
26                http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/3.1.2/src/ \
27                ftp://ftp.rutgers.edu/pub/kde/stable/3.1.2/src/ \
28                ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/3.1.2/src/ \
29                ftp://ftp.us.kde.org/pub/kde/stable/3.1.2/src/ \
30                ftp://ftp.oregonstate.edu/pub/kde/stable/3.1.2/src/ \
31                ftp://mirrors.midco.net/pub/kde/stable/3.1.2/src/ \
32                ftp://kde.us.themoes.org/pub/kde/stable/3.1.2/src/ \
33                ftp://mirror.xmission.com/kde/stable/3.1.2/src/ \
34                ftp://ftp.kde.org/pub/kde/stable/3.1.2/src/ \
35                http://ranger.befunk.com/fink/:admin \
36                http://ranger.befunk.com/darwin/:darwin
37patch_sites     http://ranger.befunk.com/fink/
38extract.sufx    .tar.bz2
39use_bzip2       yes
40distname        arts-${version}
41distfiles       ${distname}.tar.bz2 kde-admindir-20030601.tar.bz2:admin detect-autoconf.tar.bz2:darwin
42
43depends_lib     lib:libaudiofile.0:audiofile lib:libesd:esound lib:libglib-2.0.0:glib2 \
44                lib:libiconv:gettext lib:libintl:gettext lib:libmad:mad \
45                lib:libogg:libogg lib:libpng.3:libpng lib:libqt-mt.3.1:qt3 \
46                lib:libqui:qt3 lib:libvorbis.0:libvorbis lib:libX11.6:XFree86
47depends_build   bin:pkg-config:pkgconfig
48
49checksums       arts-${version}.tar.bz2 md5 5d5a1858f8dcf0d88600291899dff75b \
50                kde-admindir-20030601.tar.bz2 md5 6135f81de4b1561942be8fd31ae21297 \
51                detect-autoconf.tar.bz2 md5 1f511627496be40174169dbab4d6d78a
52
53set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"
54
55variant darwin {
56                depends_lib-append      lib:libdl.1:dlcompat lib:libpoll:poll-emulator
57                patchfiles \
58                        stable/patch-arts-artsc-artsc-config.in.diff \
59                        stable/patch-arts-artsc-artsdsp.c.diff \
60                        stable/patch-arts-artsc-artsdsp.in.diff \
61                        stable/patch-arts-artsc-Makefile.am.diff \
62                        stable/patch-arts-configure.in.in.diff \
63                        stable/patch-arts-flow-audioiocoreaudio.cc.diff \
64                        stable/patch-arts-flow-audioioesd.cc.diff \
65                        stable/patch-arts-flow-audioiooss.cc.diff \
66                        stable/patch-arts-flow-gsl-gsldatahandle-mad.c.diff \
67                        stable/patch-arts-flow-gsl-gsldatahandle-vorbis.c.diff \
68                        stable/patch-arts-flow-Makefile.am.diff \
69                        stable/patch-arts-libltdl-ltdl.c.diff \
70                        stable/patch-arts-libltdl-ltdl.m4.diff \
71                        stable/patch-arts-soundserver-artsd.cc.diff \
72                        stable/patch-arts-soundserver-Makefile.am.diff \
73                        stable/patch-arts-soundserver-soundserverv2_impl.cc.diff
74}
75
76variant cvs {
77                ##### THIS IS UNSUPPORTED, DO NOT USE THIS IN YOUR PORTS! #####
78                cvs.root :pserver:anonymous@anoncvs.kde.org:/home/kde
79                cvs.module arts
80                pre-extract cvsfetch
81                ##### I MEAN IT, LANDONF WILL KILL YOU IF YOU DO THIS! #####
82
83                distname arts
84                distfiles kde-admindir-cvs-20030701.tar.bz2:admin
85                checksums kde-admindir-cvs-20030701.tar.bz2 md5 b9bf2dc286d2e434c2cfdadc421c79b6
86                patchfiles
87}
88
89variant aqua {
90                configure.args-append --enable-mac
91}
92
93patch {
94                foreach patch $patchfiles {
95                        system "cd '${workpath}/${distname}' && \
96                        sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filedir}/${patch}' | patch -p0"
97                }
98}
99post-patch      {
100                system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
101                system "cd '${worksrcpath}' && cp -Rf ../libltdl/ libltdl"
102                system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
103}
104
105configure.env   CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
106                LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib' \
107                LD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib' CFLAGS='-Os' CXXFLAGS='-Os'
108configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
109                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
110                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
111                --enable-rpath --with-pic --enable-shared=yes --enable-static=no \
112                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
113                --disable-dependency-tracking
114
115build.env       ${configure.env}
116pre-build       {
117                        puts depends_lib
118}
Note: See TracBrowser for help on using the repository browser.