openbsd-ports/textproc/gtk-doc/Makefile
aanriot 7ee7780854 import gtk-doc-1.4.
GTK-Doc is used to document C code. It is typically used to document the
public API of libraries, such as the GTK+ and GNOME libraries, but it
can also be used to document application code.

help and ok alek@
2005-07-24 12:45:01 +00:00

40 lines
940 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2005/07/24 12:45:01 aanriot Exp $
COMMENT= "GTK C code documentation system"
VERSION= 1.4
DISTNAME= gtk-doc-${VERSION}
CATEGORIES= textproc devel
HOMEPAGE= http://www.gtk.org/gtk-doc/
MAINTAINER= Alexandre Anriot <aanriot@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/${VERSION}/
PKG_ARCH= *
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-xml-catalog=${WRKDIR}/catalog.xml
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/openjade \
::textproc/docbook \
::textproc/docbook-xsl \
::textproc/libxslt
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
.include <bsd.port.mk>