pkgsrc/x11/kdelibdocs/Makefile
hubertf e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00

35 lines
860 B
Makefile

# $NetBSD: Makefile,v 1.4 2001/03/27 03:20:27 hubertf Exp $
#
DISTNAME= kdelibdocs_kdoc2-1.1
PKGNAME= kdelibdocs-1.1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.kdevelop.org/pub/kdevelop/
MAINTAINER= wulf@netbsd.org
HOMEPAGE= http://www.kdevelop.org/
COMMENT= KDE library documentation
BUILD_USES_MSGFMT= yes
DEPENDS+= kdelibs-1.*:../../x11/kdelibs
USE_X11BASE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/admin/ltconfig
GNU_CONFIGURE= yes
EVAL_PREFIX+= QT1DIR=qt1
CONFIGURE_ARGS= --datadir=${PREFIX}/share/kde \
--with-qt-dir=${QT1DIR}/qt1 \
--with-qtdoc-dir=${QT1DIR}/qt1/share/doc
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= KDEDIR=${PREFIX} \
CXXFLAGS="${CFLAGS}" \
all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib"
.include "../../mk/bsd.pkg.mk"