40 lines
940 B
Makefile
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>
|