aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kdegraphics4/Makefile')
-rw-r--r--graphics/kdegraphics4/Makefile34
1 files changed, 19 insertions, 15 deletions
diff --git a/graphics/kdegraphics4/Makefile b/graphics/kdegraphics4/Makefile
index 4df609862a09..2f011a022fa4 100644
--- a/graphics/kdegraphics4/Makefile
+++ b/graphics/kdegraphics4/Makefile
@@ -1,29 +1,33 @@
-# New ports collection makefile for: kdegraphics
-# Date created: 28 October 1997
-# Whom: Stefan Eßer <se@freebsd.org>
+# New ports collection makefile for: KDE2 Graphics
+# Date created: Saturday 2 September 2000
+# Whom: Will Andrews <will@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdegraphics
-PORTVERSION= 1.1.2
+PORTVERSION= 1.94
CATEGORIES= graphics kde
-MASTER_SITES= $(MASTER_SITE_KDE)
-MASTER_SITE_SUBDIR= stable/1.1.2/distribution/tar/generic/source/bz2
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= unstable/distribution/2.0Beta5/tar/src
MAINTAINER= will@FreeBSD.org
-LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- kdecore.3:${PORTSDIR}/x11/kdelibs11
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ kdecore.4:${PORTSDIR}/x11/kdelibs2 \
+ qt2.4:${PORTSDIR}/x11-toolkits/qt22
+MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
-USE_QT= yes
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= "--prefix=$(PREFIX)"
-CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" \
- INSTALL_SCRIPT="install -c -m 555"
-CFLAGS+= "-I${PREFIX}/include"
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
+ --with-qt-includes=${X11BASE}/include/qt2 \
+ --with-qt-libraries=${X11BASE}/lib
+CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
+ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -lqt2 -ljpeg -lstdc++ -lgcc" \
+ USER_LDFLAGS="-Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -lqt2 -ljpeg -lstdc++ -lgcc"
USE_GMAKE= yes
.include <bsd.port.mk>