aboutsummaryrefslogtreecommitdiff
path: root/textproc/dsssl-docbook-modular
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-10-30 22:33:42 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-10-30 22:33:42 +0000
commit8b5d2ab75a0ee545a32f951ebd0bf5836001b503 (patch)
treeff9168f59cff06f4f46ae00c1d24f99086d92f1b /textproc/dsssl-docbook-modular
parent77d4c218a485d9436d37e3831445bf9736844165 (diff)
downloadports-8b5d2ab75a0ee545a32f951ebd0bf5836001b503.tar.gz
ports-8b5d2ab75a0ee545a32f951ebd0bf5836001b503.zip
Use relative path in catalog.
PR: ports/58678 Submitted by: Hiroki Sato <hrs@freebsd.org>
Notes
Notes: svn path=/head/; revision=92660
Diffstat (limited to 'textproc/dsssl-docbook-modular')
-rw-r--r--textproc/dsssl-docbook-modular/Makefile7
-rw-r--r--textproc/dsssl-docbook-modular/pkg-plist1
2 files changed, 5 insertions, 3 deletions
diff --git a/textproc/dsssl-docbook-modular/Makefile b/textproc/dsssl-docbook-modular/Makefile
index 64bfddc203b8..7b1ee10ef2ec 100644
--- a/textproc/dsssl-docbook-modular/Makefile
+++ b/textproc/dsssl-docbook-modular/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dsssl-docbook-modular
PORTVERSION= 1.78
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -23,7 +23,8 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
NO_MTREE= yes
-INSTDIR= ${PREFIX}/share/sgml/docbook/dsssl/modular
+RELDIR= docbook/dsssl/modular
+INSTDIR= ${PREFIX}/share/sgml/${RELDIR}
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
PLIST_SUB= XMLCATMGR=${XMLCATMGR} DTDDIR=${INSTDIR} \
@@ -42,7 +43,7 @@ do-install:
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
post-install:
- ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${INSTDIR}/catalog
+ ${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${RELDIR}/catalog
@${CAT} ${FILESDIR}/install-note
.include <bsd.port.mk>
diff --git a/textproc/dsssl-docbook-modular/pkg-plist b/textproc/dsssl-docbook-modular/pkg-plist
index f7a9ca84f02b..a3f9b8a42bb6 100644
--- a/textproc/dsssl-docbook-modular/pkg-plist
+++ b/textproc/dsssl-docbook-modular/pkg-plist
@@ -794,3 +794,4 @@ share/sgml/docbook/dsssl/modular/print/version.dsl
@dirrm share/sgml/docbook/dsssl/modular/bin
@dirrm share/sgml/docbook/dsssl/modular
@unexec rmdir %D/share/sgml/docbook/dsssl 2>/dev/null || true
+@unexec rmdir %D/share/sgml/docbook 2>/dev/null || true