2000-02-12 21:52:59 +00:00
|
|
|
# New ports collection Makefile for: cervisia
|
|
|
|
# Date created: 17 Nov 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= cervisia
|
2001-03-17 17:38:25 +00:00
|
|
|
PORTVERSION= 1.0.b2
|
2000-02-12 21:52:59 +00:00
|
|
|
CATEGORIES= devel
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-03-17 17:38:25 +00:00
|
|
|
DISTNAME= cervisia-1.0beta2
|
2000-02-12 21:52:59 +00:00
|
|
|
|
2001-03-17 17:38:25 +00:00
|
|
|
MAINTAINER= andrey@novikov.com
|
2000-02-12 21:52:59 +00:00
|
|
|
|
2001-03-17 17:38:25 +00:00
|
|
|
.if defined(KDE_VERSION) && ${KDE_VERSION} == "1"
|
2000-02-25 17:23:15 +00:00
|
|
|
LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11
|
2001-03-17 17:38:25 +00:00
|
|
|
USE_QT= yes
|
|
|
|
QT_VER= ""
|
|
|
|
.else
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/kde2-patch-aa \
|
|
|
|
${PATCHDIR}/kde2-patch-ab \
|
|
|
|
${PATCHDIR}/kde2-patch-ac
|
|
|
|
LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
|
|
|
|
USE_QT2= yes
|
|
|
|
MOC?= ${X11BASE}/bin/moc2
|
|
|
|
QT_VER= 2
|
|
|
|
.endif
|
2000-02-12 21:52:59 +00:00
|
|
|
|
2000-05-19 23:50:15 +00:00
|
|
|
MAN1= cervisia.1
|
|
|
|
USE_GMAKE= yes
|
2001-03-17 17:38:25 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if !defined(KDE_VERSION)
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You may define KDE_VERSION=1 (make KDE_VERSION=1)"
|
|
|
|
@${ECHO} "to build ${PORTNAME} against KDE1.1."
|
|
|
|
@${ECHO}
|
|
|
|
@sleep 3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
KDE_VERSION?= 2
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--with-kde-version=${KDE_VERSION} \
|
|
|
|
--with-extra-includes="${LOCALBASE}/include" \
|
|
|
|
--with-extra-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-qt-includes="${X11BASE}/include/qt${QT_VER}"
|
|
|
|
CONFIGURE_ENV+= MOC="${MOC}" LIBQTFILE="libqt2" KDEDIR="${LOCALBASE}/kde"
|
2000-02-12 21:52:59 +00:00
|
|
|
|
2000-02-24 16:06:07 +00:00
|
|
|
.include <bsd.port.mk>
|