openbsd-ports/x11/kde/libs2-doc/Makefile

40 lines
922 B
Makefile
Raw Normal View History

2001-12-31 07:30:53 -05:00
# $OpenBSD: Makefile,v 1.6 2001/12/31 12:30:54 espie Exp $
COMMENT= "X11 toolkit, libraries documentation"
CATEGORIES= x11 x11/kde devel
2001-12-31 07:30:53 -05:00
NEED_VERSION= 1.504
VERSION= 2.2.2
PKGNAME= kdelibs-doc-${VERSION}
HOMEPAGE= http://www.kde.org
DISTFILES=
2001-12-31 07:30:53 -05:00
NO_CHECKSUM= Yes
BUILD_DEPENDS= ::x11/kde/kdoc2 ::x11/kde/libs2:patch ::x11/qt2,-html
MAINTAINER= Marc Espie <espie@openbsd.org>
WRKDIST= ${WRKDIR}
DDIR= ${PREFIX}/share/doc/html/kdelibs
KSRC=`cd ${PORTSDIR} && cd x11/kde/libs2 && make show=WRKSRC`
do-build:
2001-04-21 10:03:34 -04:00
qt2kdoc -u "file:${LOCALBASE}/share/doc/qt2/html" \
-o ${WRKDIST} ${LOCALBASE}/share/doc/qt2/html
do-install:
mkdir -p ${DDIR}
makekdedoc --libdir=${WRKDIST} --outputdir ${DDIR} \
--url "file:${TRUEPREFIX}/share/doc/html/kdelibs" \
--srcdir ${KSRC}
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
.include <bsd.port.mk>