openbsd-ports/textproc/gtk-doc/Makefile
ajacoutot 037960749c - first pass at cleaning rarian/scrollkeeper handling
remove rarian-sk-update from PLIST ; it is only a wrapper that does
noting: librarian takes care of everything now.

discussed with jasper@
2009-03-14 10:40:51 +00:00

48 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.11 2009/03/14 10:40:52 ajacoutot Exp $
COMMENT= GTK C code documentation system
GNOME_VERSION= 1.11
GNOME_PROJECT= gtk-doc
PKGNAME= ${DISTNAME}p1
CATEGORIES= textproc devel
HOMEPAGE= http://www.gtk.org/gtk-doc/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/gnome
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-xml-catalog=${WRKDIR}/catalog.xml
PKG_ARCH= *
BUILD_DEPENDS= ::x11/gnome/doc-utils \
${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/openjade \
::textproc/docbook \
::textproc/docbook-xsl \
::textproc/libxslt \
::textproc/rarian \
::x11/gnome/yelp
NO_REGRESS= Yes
post-extract:
cp ${LOCALBASE}/share/xml/docbook/catalog.xml \
${WRKDIR}/catalog.xml
xmlcatalog --add nextCatalog \
--id ${LOCALBASE}/share/xsl/docbook/catalog.xml \
--noout ${WRKDIR}/catalog.xml ${WRKDIR}/catalog.xml
ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>