freebsd-ports/textproc/gtk-doc/Makefile
Joe Marcus Clarke 3907577f26 Update to 1.2.
2004-02-18 03:06:25 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: gtk-doc
# Date created: 8 March 2001
# Whom: fenner
#
# $FreeBSD$
#
PORTNAME= gtk-doc
PORTVERSION= 1.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME} \
ftp://ftp.gtk.org/pub/gtk-doc/
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.2
MAINTAINER= gnome@freebsd.org
COMMENT= Code documentation system, originally for GTK+
BUILD_DEPENDS= jade:${PORTSDIR}/textproc/jade \
${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/docbook.cat:${PORTSDIR}/textproc/docbook-sk \
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl
RUN_DEPENDS= jade:${PORTSDIR}/textproc/jade \
${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/docbook.cat:${PORTSDIR}/textproc/docbook-sk \
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl
DOCBOOK_VERSION= 4.1.2
CATALOG_DIR= ${PREFIX}/share/sgml/${PORTNAME}
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gnometarget libxslt
CONFIGURE_ARGS= --with-xml-catalog=${LOCALBASE}/share/xml/catalog
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
CATALOG_DIR=${CATALOG_DIR}
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= gtk-doc requires Perl 5.6.x or higher
.endif
post-install:
@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${CATALOG_DIR}/gtk-doc.cat
.include <bsd.port.post.mk>