aboutsummaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-01-31 19:10:51 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-01-31 19:10:51 +0000
commit7c53933a116693a2feb2c26b5b76d2249e23033f (patch)
tree9737e2e5776b15e30fdcd174a1bce199587b8707 /textproc/scrollkeeper
parente140ccfbc89268fc1439aca8f4e6f328996a1bad (diff)
downloadports-7c53933a116693a2feb2c26b5b76d2249e23033f.tar.gz
ports-7c53933a116693a2feb2c26b5b76d2249e23033f.zip
Use catalog.ports instead of catalog to stoure our DTD info. The root XML
catalog should only be touched by xmlcatmgr.
Notes
Notes: svn path=/head/; revision=154916
Diffstat (limited to 'textproc/scrollkeeper')
-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