openbsd-ports/x11/kde/graphics2/Makefile
espie 3e2f1db91b Dependencies update.
A bit of documentation.
Some other update (artwork, kdoc, mosfet-liquid)
2001-09-19 15:20:11 +00:00

57 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2001/09/19 15:20:12 espie Exp $
COMMENT= "X11 toolkit, graphics applications"
CATEGORIES= x11 x11/kde
NEED_VERSION= 1.458
VERSION= 2.2.1
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
MODULES= qt2
LIB_DEPENDS= kdecore.3::x11/kde/libs2
BUILD_DEPENDS= ::x11/qt2-designer :zsh-*:shells/zsh/stable
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-final
#CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
#CONFIGURE_ARGS+= --without-motif
#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= RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
CONFIGURE_ENV+= ac_aux_files=''
MAKE_ENV= ${CONFIGURE_ENV}
pre-build:
# Let zsh act as an sh replacement
ln -sf $(LOCALBASE)/bin/zsh ${WRKBUILD}/sh
# Ensure qt2 will always be at the front
MAKE_FLAGS=CXXLD='--tag CXX ${CXX} -L${LOCALBASE}/lib/qt2'
MAKE_FLAGS+=LIBTOOL='$(WRKBUILD)/sh $(WRKBUILD)/libtool'
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MTREE_FILE=${PORTSDIR}/x11/kde/libs2/files/mtree
.include <bsd.port.mk>