# $Id: Portfile 69904 2010-07-21 04:39:28Z jmr@macports.org $

PortSystem 1.0
name		slicker
version		0.0
categories	x11
revision	1
maintainers	nomaintainer
description	an experimental new desktop metaphor for KDE
homepage	http://slicker.sf.net/
long_description Slicker plans on replacing KDE's taskbar with a new "card" metaphor \
		for applets and other typical desktop tasks.
platforms	darwin

depends_lib	lib:libkdecore:kdelibs3 lib:libkonq:kdebase3

distname	slicker
master_sites	http://ranger.befunk.com/fink/:admin
distfiles	kde-admindir-20030209.tar.bz2:admin
checksums	kde-admindir-20030209.tar.bz2 md5 180fee362e27703bd9a062912c8a54cd
use_bzip2	yes

fetch.type	cvs
cvs.root	:pserver:anonymous@cvs.slicker.sf.net:/cvsroot/slicker
cvs.module	slicker
cvs.password

post-patch      {
		system "cd '${worksrcpath}' && cp -Rf ../admin/ admin"
		system "cp '${portpath}/${filesdir}/detect-autoconf.sh' '${worksrcpath}/admin/'"
		system "cd '${worksrcpath}' && make -f Makefile.cvs"
}
configure.cppflags-append	-I${prefix}/include/qt3 -fno-common
configure.env	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 \
		--disable-dependency-tracking --enable-cups --with-ldap
build.env       ${configure.env}

