2001-03-12 22:11:14 +01:00
|
|
|
# New ports collection makefile for: gtk-doc
|
|
|
|
# Date created: 8 March 2001
|
|
|
|
# Whom: fenner
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtk-doc
|
2007-03-07 20:44:59 +01:00
|
|
|
PORTVERSION= 1.8
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2001-03-12 22:11:14 +01:00
|
|
|
CATEGORIES= textproc
|
2005-01-10 00:02:25 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2006-07-29 21:11:55 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
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 \
|
|
|
|
scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
|
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 \
|
|
|
|
scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
|
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
|
|
|
|
|
2005-01-10 00:02:25 +01:00
|
|
|
USE_BZIP2= yes
|
2002-12-12 02:33:55 +01:00
|
|
|
USE_PERL5= yes
|
2001-03-12 22:11:14 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-28 07:17:31 +02:00
|
|
|
USE_GNOME= gnomehack gnometarget libxslt
|
2006-04-09 23:37:22 +02:00
|
|
|
INSTALLS_OMF= yes
|
|
|
|
CONFIGURE_ARGS= --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
|
2003-11-04 09:53:10 +01:00
|
|
|
|
2004-02-18 04:06:25 +01:00
|
|
|
PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
|
|
|
|
CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
|
|
|
|
CATALOG_DIR=${CATALOG_DIR}
|
|
|
|
|
2003-11-04 09:53:10 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
|
|
IGNORE= gtk-doc requires Perl 5.6.x or higher
|
|
|
|
.endif
|
2001-03-12 22:11:14 +01:00
|
|
|
|
2006-04-09 23:37:22 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2004-02-18 04:06:25 +01:00
|
|
|
post-install:
|
|
|
|
@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${CATALOG_DIR}/gtk-doc.cat
|
|
|
|
|
2003-11-04 09:53:10 +01:00
|
|
|
.include <bsd.port.post.mk>
|