70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2002/04/04 12:13:02 espie Exp $
|
|
|
|
COMMENT= "X11 toolkit, graphic applications"
|
|
CATEGORIES= x11 x11/kde
|
|
NEED_VERSION= 1.504
|
|
VERSION= 3.0
|
|
DISTNAME= kdegraphics-${VERSION}
|
|
DIST_SUBDIR= kde
|
|
|
|
HOMEPAGE= http://www.kde.org
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${VERSION}/src
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
# Parts of kde want shared libraries to work, as some symbols are
|
|
# duplicated over the place.
|
|
NOT_FOR_ARCHS=${NO_SHARED_ARCHS}
|
|
|
|
MODULES= qt3
|
|
|
|
#LIB_DEPENDS= kdecore.4,DCOP,artskde,kdeui,khtml,kio,kparts::x11/kde/libs3 \
|
|
# kateinterfaces,konq,konqsidebarplugin::x11/kde/base3 \
|
|
# kmedia2_idl,qtmcop,soundserver_idl::x11/kde/arts3
|
|
LIB_DEPENDS=Imlib::graphics/imlib \
|
|
ungif::graphics/libungif \
|
|
kdecore.4,DCOP,kdefx,kdeprint,kdesu,kdeui,kio,kparts::x11/kde/libs3
|
|
|
|
# glib2.0
|
|
# qt docs
|
|
# CUPS
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/admin
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_NEW= Yes
|
|
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
|
|
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
|
|
CONFIGURE_ARGS+= --disable-threading
|
|
CONFIGURE_ARGS+= --enable-mitshm
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
CONFIGURE_ARGS+= --enable-final
|
|
PATCH_LIST= ${PORTSDIR}/x11/kde/arts3/patches/p-* patch-*
|
|
#CONFIGURE_ARGS+= --enable-debug
|
|
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
|
|
|
|
#CONFIGURE_ARGS+= --enable-static --disable-shared
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
# you don't want to know...
|
|
CONFIGURE_ENV+= ac_aux_files=''
|
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
PORTHOME=${WRKDIR}
|
|
|
|
# Ensure qt will always be at the front
|
|
MAKE_FLAGS=CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
|
|
|
# GPL
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
.include <bsd.port.mk>
|