openbsd-ports/textproc/gtk-doc/Makefile

54 lines
1.2 KiB
Makefile
Raw Normal View History

2010-05-21 08:10:01 -04:00
# $OpenBSD: Makefile,v 1.18 2010/05/21 12:10:01 ajacoutot Exp $
COMMENT= GTK C code documentation system
2010-05-21 08:10:01 -04:00
GNOME_VERSION= 1.15
GNOME_PROJECT= gtk-doc
CATEGORIES= textproc devel
HOMEPAGE= http://www.gtk.org/gtk-doc/
2009-12-18 04:45:42 -05:00
# GPLv3 - GFDLv1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/gnome \
lang/python
2009-12-18 04:45:42 -05:00
MODPY_RUNDEP= No
2009-12-18 04:45:42 -05:00
MODGNOME_HELP_FILES= Yes
CONFIGURE_STYLE= gnu
2009-12-18 04:45:42 -05:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-xml-catalog=${WRKDIR}/catalog.xml
PKG_ARCH= *
2009-12-18 04:45:42 -05:00
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::textproc/openjade \
::textproc/docbook \
::textproc/docbook-xsl \
::textproc/libxslt \
2009-12-18 04:45:42 -05:00
::editors/vim,no_x11
REGRESS_DEPENDS= ::shells/bash
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
2009-12-18 04:45:42 -05:00
ln -s ${LOCALBASE}/bin/scrollkeeper-config \
${WRKDIR}/bin/scrollkeeper-config.sk
pre-configure:
perl -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash," \
${WRKSRC}/tests/fail.sh \
${WRKSRC}/tests/tools.sh.in
.include <bsd.port.mk>