aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-02-01 03:10:51 +0800
committermarcus <marcus@FreeBSD.org>2006-02-01 03:10:51 +0800
commit757f820da77b7b43efaf432c4c46041f51c88797 (patch)
tree5fbfdae89d420e47fbc9b5181efa085518668918 /textproc
parenta156b84d114e3f306f527c309c568537b918d782 (diff)
downloadfreebsd-ports-gnome-757f820da77b7b43efaf432c4c46041f51c88797.tar.gz
freebsd-ports-gnome-757f820da77b7b43efaf432c4c46041f51c88797.tar.zst
freebsd-ports-gnome-757f820da77b7b43efaf432c4c46041f51c88797.zip
Use catalog.ports instead of catalog to stoure our DTD info. The root XML
catalog should only be touched by xmlcatmgr.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/scrollkeeper/Makefile4
-rw-r--r--textproc/scrollkeeper/pkg-install3
-rw-r--r--textproc/scrollkeeper/pkg-plist2
3 files changed, 4 insertions, 5 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index 460ac5087cba..7668752a9acb 100644
--- a/textproc/scrollkeeper/Makefile
+++ b/textproc/scrollkeeper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scrollkeeper
PORTVERSION= 0.3.14
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
@@ -42,7 +42,7 @@ USE_GNOME= gnomehack gnomehier gnometarget libxslt intlhack
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --localstatedir=/var --datadir=${PREFIX}/share/gnome \
--with-omfdirs=${PREFIX}/share/gnome/omf \
- --with-xml-catalog=${LOCALBASE}/share/xml/catalog
+ --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl" \
LOCALBASE="${LOCALBASE}"
diff --git a/textproc/scrollkeeper/pkg-install b/textproc/scrollkeeper/pkg-install
index 4de77355c458..a2a601b74d86 100644
--- a/textproc/scrollkeeper/pkg-install
+++ b/textproc/scrollkeeper/pkg-install
@@ -4,8 +4,7 @@ PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
export PATH
PREFIX=`xml2-config --prefix`
-ROOTCATALOG=${PREFIX}/share/xml/catalog
-CATALOG=${PREFIX}/share/xml/docbook/catalog
+ROOTCATALOG=${PREFIX}/share/xml/catalog.ports
if [ "$2" = "POST-INSTALL" ]; then
SKPREFIX=`scrollkeeper-config --prefix`
diff --git a/textproc/scrollkeeper/pkg-plist b/textproc/scrollkeeper/pkg-plist
index b4c1d23899b8..2d4363da7dae 100644
--- a/textproc/scrollkeeper/pkg-plist
+++ b/textproc/scrollkeeper/pkg-plist
@@ -131,6 +131,6 @@ share/locale/zh_TW/LC_MESSAGES/scrollkeeper.mo
@dirrm share/gnome/omf/scrollkeeper
@unexec rm -f /var/log/scrollkeeper.log 2>/dev/null || true
@unexec rm -rf /var/db/scrollkeeper 2>/dev/null || true
-@unexec %%LOCALBASE%%/bin/xmlcatalog --noout --del %D/share/gnome/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd %%LOCALBASE%%/share/xml/catalog || true
+@unexec %%LOCALBASE%%/bin/xmlcatalog --noout --del %D/share/gnome/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd %%LOCALBASE%%/share/xml/catalog.ports || true
@exec touch -f /var/log/scrollkeeper.log
@exec mkdir -p /var/db/scrollkeeper