summaryrefslogtreecommitdiffstats
path: root/textproc/gtk-doc
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-02-18 03:06:25 +0000
committermarcus <marcus@FreeBSD.org>2004-02-18 03:06:25 +0000
commit42ff637c6a3805fad08fd33ac6bca2f798f7c945 (patch)
tree8a3c69a31e19767b2ac0a62be1e520a494af3206 /textproc/gtk-doc
parentff4b65adc33e79033430b13180a1df815a5e67b5 (diff)
downloadFreeBSD-ports-42ff637c6a3805fad08fd33ac6bca2f798f7c945.zip
FreeBSD-ports-42ff637c6a3805fad08fd33ac6bca2f798f7c945.tar.gz
Update to 1.2.
Diffstat (limited to 'textproc/gtk-doc')
-rw-r--r--textproc/gtk-doc/Makefile18
-rw-r--r--textproc/gtk-doc/distinfo3
-rw-r--r--textproc/gtk-doc/pkg-plist4
3 files changed, 21 insertions, 4 deletions
diff --git a/textproc/gtk-doc/Makefile b/textproc/gtk-doc/Makefile
index 0f6c488..c2ff243 100644
--- a/textproc/gtk-doc/Makefile
+++ b/textproc/gtk-doc/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= gtk-doc
-PORTVERSION= 1.1
-PORTREVISION= 4
+PORTVERSION= 1.2
CATEGORIES= textproc
-MASTER_SITES= ftp://ftp.gtk.org/pub/gtk-doc/
+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+
@@ -23,15 +24,26 @@ RUN_DEPENDS= jade:${PORTSDIR}/textproc/jade \
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>
diff --git a/textproc/gtk-doc/distinfo b/textproc/gtk-doc/distinfo
index e50ee87..5c00f47 100644
--- a/textproc/gtk-doc/distinfo
+++ b/textproc/gtk-doc/distinfo
@@ -1 +1,2 @@
-MD5 (gtk-doc-1.1.tar.gz) = 5b82eaa13ddba426fa1e31b32c82fb12
+MD5 (gtk-doc-1.2.tar.gz) = 3288a3d14d270956a77d576b74415523
+SIZE (gtk-doc-1.2.tar.gz) = 162671
diff --git a/textproc/gtk-doc/pkg-plist b/textproc/gtk-doc/pkg-plist
index 37e444b..e4c439f 100644
--- a/textproc/gtk-doc/pkg-plist
+++ b/textproc/gtk-doc/pkg-plist
@@ -19,5 +19,9 @@ share/gtk-doc/data/home.png
share/gtk-doc/data/left.png
share/gtk-doc/data/right.png
share/gtk-doc/data/up.png
+@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove CATALOG %%CATALOG_DIR%%/gtk-doc.cat
+share/sgml/gtk-doc/gtk-doc.cat
+@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%CATALOG_DIR%%/gtk-doc.cat
+@dirrm share/sgml/gtk-doc
@dirrm share/gtk-doc/data
@dirrm share/gtk-doc
OpenPOWER on IntegriCloud