aboutsummaryrefslogtreecommitdiff
path: root/textproc/gtk-doc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-18 03:06:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-02-18 03:06:25 +0000
commit3907577f2673967a4c389dbe95cd2e457f27f1da (patch)
tree11450fe2dca135272b4b579b24f6cea27d80ae0b /textproc/gtk-doc
parent1864a774821f3d0475d3511f5b8d142ee06202b5 (diff)
Update to 1.2.
Notes
Notes: svn path=/head/; revision=101289
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 0f6c488b3ad7..c2ff243673ef 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 e50ee87562b9..5c00f476a67c 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 37e444b247d4..e4c439f136f8 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