2001-03-12 11:15:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2001/03/12 16:15:19 espie Exp $
|
2000-10-09 18:37:53 -04:00
|
|
|
|
|
|
|
CATEGORIES= x11 x11/kde
|
2000-10-22 11:41:23 -04:00
|
|
|
NEED_VERSION= 1.305
|
2001-03-12 11:15:19 -05:00
|
|
|
VERSION= 2.1
|
2000-10-09 18:37:53 -04:00
|
|
|
DISTNAME= kdelibs-${VERSION}
|
|
|
|
DIST_SUBDIR= kde
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2000-10-25 06:38:09 -04:00
|
|
|
MASTER_SITE_SUBDIR= stable/${VERSION}/distribution/tar/generic/src/
|
2000-10-09 18:37:53 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2000-11-01 19:02:34 -05:00
|
|
|
LIB_DEPENDS= qt.2.::x11/qt2 \
|
|
|
|
png.1.::graphics/png \
|
|
|
|
jpeg.62.::graphics/jpeg \
|
|
|
|
tiff.35.::graphics/tiff \
|
|
|
|
audiofile.::devel/libaudiofile
|
|
|
|
|
|
|
|
|
2000-11-28 19:46:38 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2000-10-09 18:37:53 -04:00
|
|
|
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+= --disable-threading
|
2000-11-28 19:46:38 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-mitshm
|
|
|
|
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
|
|
|
|
|
|
|
|
#CONFIGURE_ARGS+= --enable-static --disable-shared
|
2000-11-01 19:02:34 -05:00
|
|
|
|
2000-10-09 18:37:53 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_ENV= MOC=${LOCALBASE}/bin/moc2
|
2001-03-11 11:13:47 -05:00
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
2000-10-09 18:37:53 -04:00
|
|
|
|
2001-01-17 21:30:47 -05:00
|
|
|
# Ensure qt2 will always be at the front
|
|
|
|
MAKE_FLAGS=CXXLD='--tag CXX ${CXX} -L${LOCALBASE}/lib/qt2'
|
|
|
|
|
2000-10-09 18:37:53 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|