Skip to content
Permalink
Browse files

will work with some tweaking

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3028 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Benjamin Reed
Benjamin Reed committed Jul 11, 2003
1 parent f3eeb43 commit afdb3d6a280af45c8072ce2bf8c860dcb8bf6da1
Showing with 30 additions and 111 deletions.
  1. +30 −7 x11/kdenetwork3/Portfile
  2. +0 −104 x11/kdenetwork3/files/detect-autoconf.sh
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.5 2003/06/01 20:32:40 ranger Exp $
# $Id: Portfile,v 1.6 2003/07/11 19:05:16 ranger Exp $

PortSystem 1.0
name kdenetwork3
@@ -14,10 +14,9 @@ extract.sufx .tar.bz2
use_bzip2 yes
distname kdenetwork-${version}
distfiles ${distname}.tar.bz2 kde-admindir-20030601.tar.bz2:admin detect-autoconf.tar.bz2:darwin
patchfiles patch-${name}.darwin
depends_lib lib:libDCOP:kdelibs3 lib:libart_lgpl_2:libart_lgpl lib:libdl.1:dlcompat \
depends_lib lib:libDCOP:kdelibs3 lib:libart_lgpl_2:libart_lgpl \
lib:libjpeg:jpeg lib:libkdecore.4:kdelibs3 bin:startkde:kdebase3 \
lib:libpng.3:libpng lib:libpoll:poll-emulator lib:libqt-mt.3.1:qt3 \
lib:libpng.3:libpng lib:libqt-mt.3.1:qt3 \
lib:libX11.6:XFree86

checksums kdenetwork-${version}.tar.bz2 md5 baf7663463d9e85a96d5c5143ef2b4be \
@@ -26,22 +25,46 @@ checksums kdenetwork-${version}.tar.bz2 md5 baf7663463d9e85a96d5c5143ef2b4be \

set env(PATH) "/usr/X11R6/bin:$env(PATH):${prefix}/bin"

variant darwin {
depends_lib-append lib:libpoll:poll-emulator lib:libdl.1:dlcompat
patchfiles patch-${name}.darwin
}

variant cvs {
version 3.2
revision 0

##### THIS IS UNSUPPORTED, DO NOT USE THIS IN YOUR PORTS! #####
cvs.root :pserver:anonymous@anoncvs.kde.org:/home/kde
cvs.module kdenetwork
pre-extract {
cvsfetch
}
##### I MEAN IT, LANDONF WILL KILL YOU IF YOU DO THIS! #####

distname kdenetwork
distfiles kde-admindir-cvs-20030701.tar.bz2:admin
checksums kde-admindir-cvs-20030701.tar.bz2 md5 b9bf2dc286d2e434c2cfdadc421c79b6

patchfiles
}

patch {
foreach patch $patchfiles {
system "cd '${workpath}/${distname}' && \
sed -e 's#@PREFIX@#${prefix}#g' '${portpath}/${filedir}/${patch}' | patch -p0"
}
}
post-patch {
system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
system "cd '${worksrcpath}' && test -d ../admin && cp -Rf ../admin/ admin"
system "cd '${worksrcpath}' && make -f admin/Makefile.common cvs"
}
configure.env CPPFLAGS='-I/usr/X11R6/include -I${prefix}/include -I${prefix}/include/qt3 -no-cpp-precomp -fno-common' \
LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='/usr/X11R6/lib:${prefix}/lib'
LDFLAGS='-L/usr/X11R6/lib' LIBS='-L${prefix}/lib' DYLD_LIBRARY_PATH='${prefix}/lib'
configure.args --prefix='${prefix}' --includedir='${prefix}/include' --libdir='${prefix}/lib' \
--with-extra-includes='${prefix}/include' --with-extra-libs='${prefix}/lib' \
--with-qt-dir='${prefix}' --with-qt-includes='${prefix}/include/qt3' \
--enable-rpath --with-pic --enable-shared=yes --enable-static=no --enable-mt \
--libexecdir='${prefix}/lib' --with-xinerama --with-pam --enable-final \
--libexecdir='${prefix}/lib' --with-xinerama --with-pam --disable-final \
--disable-dependency-tracking
build.env ${configure.env}

This file was deleted.

0 comments on commit afdb3d6

Please sign in to comment.
You can’t perform that action at this time.