summaryrefslogtreecommitdiff
path: root/x11/kdelibdocs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibdocs/Makefile')
-rw-r--r--x11/kdelibdocs/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/kdelibdocs/Makefile b/x11/kdelibdocs/Makefile
new file mode 100644
index 00000000000..6d744fb1039
--- /dev/null
+++ b/x11/kdelibdocs/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.3 2001/03/04 08:45:14 tron 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_DEPENDS+= ${LOCALBASE}/bin/msgfmt:../../devel/gettext
+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"