2001-03-30 07:35:14 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2001/03/30 12:35:14 espie Exp $
|
2000-12-17 19:46:03 -05:00
|
|
|
|
|
|
|
CATEGORIES= x11 x11/kde games
|
|
|
|
NEED_VERSION= 1.305
|
2001-03-30 07:35:14 -05:00
|
|
|
VERSION= 2.1.1
|
2000-12-17 19:46:03 -05:00
|
|
|
DISTNAME= kdetoys-${VERSION}
|
|
|
|
DIST_SUBDIR= kde
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
|
|
MASTER_SITE_SUBDIR= stable/${VERSION}/distribution/tar/generic/src/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
LIB_DEPENDS= kdecore.3.::x11/kde/libs2
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --with-qt-includes=${LOCALBASE}/include/X11/qt2
|
|
|
|
CONFIGURE_ARGS+= --with-qt-libraries=${LOCALBASE}/lib/qt2
|
|
|
|
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
|
|
|
|
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
|
|
|
|
|
|
|
|
# Not yet, too much time to compile
|
|
|
|
#CONFIGURE_ARGS+= --enable-static
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_ENV= MOC=${LOCALBASE}/bin/moc2 \
|
|
|
|
RUN_KAPPFINDER=no KDEDIR=/usr/local
|
2001-03-11 11:13:47 -05:00
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
2000-12-17 19:46:03 -05:00
|
|
|
|
2001-01-18 09:58:49 -05:00
|
|
|
# Ensure qt2 will always be at the front
|
|
|
|
MAKE_FLAGS=CXXLD='--tag CXX ${CXX} -L${LOCALBASE}/lib/qt2'
|
|
|
|
|
2000-12-17 19:46:03 -05:00
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2001-03-30 07:35:14 -05:00
|
|
|
MTREE_FILE=${PORTSDIR}/x11/kde/libs2/files/mtree
|
2000-12-17 19:46:03 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|