mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
a80e044100
All KDE2 ports now use default USE_QT2. Still todo: Merge in MTREE stuff.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# New ports collection makefile for: KDE2 Graphics
|
|
# Date created: Saturday 2 September 2000
|
|
# Whom: Will Andrews <will@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kdegraphics
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= graphics kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/distribution/tar/generic/src
|
|
|
|
MAINTAINER= will@FreeBSD.org
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
kdecore.4:${PORTSDIR}/x11/kdelibs2
|
|
BUILD_DEPENDS= dvips:${PORTSDIR}/print/teTeX
|
|
RUN_DEPENDS= dvips:${PORTSDIR}/print/teTeX
|
|
|
|
USE_QT2= yes
|
|
MOC?= ${X11BASE}/bin/moc2
|
|
USE_BZIP2= yes
|
|
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>
|