summaryrefslogtreecommitdiff
path: root/textproc/iso12083
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-01-11 22:06:44 +0000
committerjmmv <jmmv@pkgsrc.org>2003-01-11 22:06:44 +0000
commit518a17dfd6885d184570fcec6e6d2c959fe6d7b7 (patch)
tree78cc69404939f113541ffd224674ed9bc2f82d75 /textproc/iso12083
parent67a21559ad3f2d08091ce61029652bcb637ae73b (diff)
downloadpkgsrc-518a17dfd6885d184570fcec6e6d2c959fe6d7b7.tar.gz
Register the installed catalog file in share/sgml/catalog using xmlcatmgr.
Bump PKGREVISION to 1.
Diffstat (limited to 'textproc/iso12083')
-rw-r--r--textproc/iso12083/Makefile7
-rw-r--r--textproc/iso12083/PLIST6
2 files changed, 10 insertions, 3 deletions
diff --git a/textproc/iso12083/Makefile b/textproc/iso12083/Makefile
index 77767504ff2..354ff874ce7 100644
--- a/textproc/iso12083/Makefile
+++ b/textproc/iso12083/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2001/09/09 20:36:50 agc Exp $
+# $NetBSD: Makefile,v 1.6 2003/01/11 22:06:44 jmmv Exp $
# FreeBSD Id: Makefile,v 1.2 1998/06/27 05:19:39 asami Exp
#
DISTNAME= iso12083-1993
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://info.ex.ac.uk/pub/SGML/ISO-12083/ \
ftp://ftp.ifi.uio.no/pub/SGML/ISO12083/ \
@@ -19,6 +20,7 @@ NO_MTREE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
+USE_BUILDLINK2= yes
INSTDIR= ${PREFIX}/share/sgml/iso12083
@@ -30,5 +32,8 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${INSTDIR}/$$i; \
done
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
+ ${PREFIX}/bin/xmlcatmgr -c ${PREFIX}/share/sgml/catalog add \
+ CATALOG ${INSTDIR}/catalog
+.include "../../textproc/xmlcatmgr/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/iso12083/PLIST b/textproc/iso12083/PLIST
index 1e20631a291..9c129d07e5f 100644
--- a/textproc/iso12083/PLIST
+++ b/textproc/iso12083/PLIST
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:45 tron Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/01/11 22:06:44 jmmv Exp $
share/sgml/iso12083/article.dtd
share/sgml/iso12083/book.dtd
share/sgml/iso12083/maths.dtd
share/sgml/iso12083/serial.dtd
share/sgml/iso12083/catalog
+@exec %D/bin/xmlcatmgr -c %D/share/sgml/catalog add CATALOG %D/share/sgml/iso12083/catalog
+@unexec %D/bin/xmlcatmgr -c %D/share/sgml/catalog remove %D/share/sgml/iso12083/catalog
@dirrm share/sgml/iso12083
-@unexec ${RMDIR} %D/share/sgml 2>/dev/null || ${TRUE}
+@comment in xmlcatmgr: @dirrm share/sgml