2013-06-11 22:40:14 +02:00
|
|
|
# Created by: fenner
|
2001-03-12 22:11:14 +01:00
|
|
|
# $FreeBSD$
|
2013-07-31 13:57:45 +02:00
|
|
|
# $MCom: ports/trunk/textproc/gtk-doc/Makefile 18610 2013-06-30 16:33:05Z marcus $
|
2001-03-12 22:11:14 +01:00
|
|
|
|
|
|
|
PORTNAME= gtk-doc
|
2013-07-31 13:57:45 +02:00
|
|
|
PORTVERSION= 1.18
|
2001-03-12 22:11:14 +01:00
|
|
|
CATEGORIES= textproc
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2001-03-12 22:11:14 +01:00
|
|
|
|
2005-07-20 19:19:48 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Code documentation system, originally for GTK+
|
2001-03-12 22:11:14 +01:00
|
|
|
|
2003-11-04 09:53:10 +01:00
|
|
|
BUILD_DEPENDS= jade:${PORTSDIR}/textproc/jade \
|
|
|
|
${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/docbook.cat:${PORTSDIR}/textproc/docbook-sk \
|
2006-04-09 23:37:22 +02:00
|
|
|
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
|
2007-10-25 01:37:25 +02:00
|
|
|
rarian-sk-config:${PORTSDIR}/textproc/rarian
|
2003-08-12 19:23:27 +02:00
|
|
|
RUN_DEPENDS= jade:${PORTSDIR}/textproc/jade \
|
2003-11-04 09:53:10 +01:00
|
|
|
${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/docbook.cat:${PORTSDIR}/textproc/docbook-sk \
|
2006-04-09 23:37:22 +02:00
|
|
|
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
|
2007-10-25 01:37:25 +02:00
|
|
|
rarian-sk-config:${PORTSDIR}/textproc/rarian
|
2001-03-12 22:11:14 +01:00
|
|
|
|
2003-06-28 07:17:31 +02:00
|
|
|
DOCBOOK_VERSION= 4.1.2
|
|
|
|
|
2004-02-18 04:06:25 +01:00
|
|
|
CATALOG_DIR= ${PREFIX}/share/sgml/${PORTNAME}
|
|
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
|
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
|
2013-07-31 13:57:45 +02:00
|
|
|
USE_XZ= yes
|
2001-03-12 22:11:14 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-12 18:41:28 +02:00
|
|
|
USES= gmake pathfix pkgconfig shebangfix perl5
|
2013-07-31 13:57:45 +02:00
|
|
|
USE_GNOME= gnomeprefix libxslt gnomedocutils
|
2006-04-09 23:37:22 +02:00
|
|
|
INSTALLS_OMF= yes
|
|
|
|
CONFIGURE_ARGS= --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
|
2013-06-11 22:40:14 +02:00
|
|
|
SHEBANG_FILES= tools/docpercentages.pl
|
|
|
|
|
2004-02-18 04:06:25 +01:00
|
|
|
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
|
|
|
|
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
|
|
|
|
CATALOG_DIR=${CATALOG_DIR}
|
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2013-06-11 22:40:14 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \
|
2013-07-31 13:57:45 +02:00
|
|
|
${WRKSRC}/tests/tools.sh
|
2013-06-11 22:40:14 +02:00
|
|
|
|
2004-02-18 04:06:25 +01:00
|
|
|
post-install:
|
2010-01-03 21:45:00 +01:00
|
|
|
-@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${CATALOG_DIR}/gtk-doc.cat
|
2004-02-18 04:06:25 +01:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|