Changeset 1900


Ignore:
Timestamp:
Jan 27, 2003, 9:30:20 PM (18 years ago)
Author:
ranger
Message:

kde in dports -- run in fear!

Location:
trunk/dports
Files:
43 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/kdebase3/Portfile

    r1134 r1900  
    11PortSystem 1.0
    22name            kdebase3
    3 version         3.0.8
     3version         3.1
    44revision        1
    55categories      x11
    66maintainers     ranger@befunk.com
    7 description     Base Programs for the K Desktop Environment
    8 
    9 long_description Base Programs for the K Desktop Environment
     7description     base KDE programs
    108
    119platforms       darwin
    12 master_sites    ftp://ftp.kde.org/pub/kde/unstable/kde-3.1-beta2/src/
     10master_sites    ftp://ftp.kde.org/pub/kde/stable/3.1/src/ http://ranger.befunk.com/fink/:admin
    1311extract.sufx    .tar.bz2
    1412use_bzip2       yes
    1513distname        kdebase-${version}
    16 patchfiles      patch-kdebase-${version}-darwin
    17 #FIXME: needs lame
    18 #FIXME: no way to depend on cups that gets the cups package for required headers
    19 depends_lib     lib:libxml2.2:libxml2 lib:libxslt.1:libxslt lib:libtiff.3:tiff \
    20                 lib:libqt-mt.3:qt3 lib:libartsc.1:arts lib:libdl.1:dlcompat \
    21                 lib:libjpeg.9:jpeg lib:libpng.2:libpng lib:libpoll.1:poll-emulator \
    22                 lib:libcups.2:cups bin:grrrnoincludedepends:cups lib:libX11.6:XFree86 \
    23                 lib:libaudiofile.0:audiofile lib:libesd.0:esound lib:libXm.1:lesstif \
    24                 lib:libXm.2:lesstif lib:libfreetype.6:XFree86 lib:libpcre.0:pcre \
    25                 bin:pcre-config:pcre
     14distfiles       ${distname}.tar.bz2 kde-admindir-20030119.tar.bz2:admin
     15patchfiles      patch-${name}-${version}.darwin
     16depends_lib     lib:libart_lgpl_2:libart_lgpl lib:libartsflow.1:arts \
     17                lib:libaudiofile.0:audiofile lib:libdl.1:dlcompat lib:libfreetype.6:XFree86 \
     18                lib:libjpeg.62:jpeg lib:libkdecore.4:kdelibs3 lib:libmad:mad lib:libogg:libogg \
     19                lib:libpng.3:libpng lib:libpoll.1:poll-emulator lib:libqt-mt.3.1:qt3 \
     20                lib:libvorbis.0:libvorbis lib:libxml2.2:libxml2 lib:libX11.6:XFree86 \
     21                lib:libXm.2:lesstif
    2622
    27 checksums       md5 693c04fe623a72cd993cb80c5cecc122
     23checksums       kdebase-${version}.tar.bz2 md5 02f0583c7de93cdc458101a7575455b4 \
     24                kde-admindir-20030119.tar.bz2 md5 d77e6398b06fefd9e9a7e69c4dceebde
    2825
    2926patch {
     
    3431}
    3532post-patch      {
     33                system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
    3634                system "cd '${worksrcpath}' && make -f Makefile.cvs"
    3735}
    3836configure.env   CPPFLAGS='-I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
    39                 LIBS='-L${prefix}/lib'
    40 configure.args  --prefix='${prefix}' --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
    41                 --with-extra-libs='${prefix}/lib' --with-extra-includes='${prefix}/include' --enable-mt \
    42                 --with-pic --enable-rpath --enable-shared=yes --enable-static=no --with-xinerama \
    43                 --without-nfs --disable-final --disable-dependency-tracking --with-ldap=/usr
     37                LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='${prefix}/lib'
     38configure.args  --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
     39                --with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
     40                --with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
     41                --enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
     42                --libexecdir='${prefix}/lib' --with-xinerama --with-pam --enable-final \
     43                --disable-dependency-tracking --without-nfs --with-ldap
    4444build.env       ${configure.env}
    45 
    46 include         contents
     45post-install    {
     46                system "install -d -m 755 ${destroot}/etc/pam.d"
     47                system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/etc/pam.d/kde"
     48                system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/etc/pam.d/kcheckpass"
     49                system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/etc/pam.d/kscreensaver"
     50}
Note: See TracChangeset for help on using the changeset viewer.