Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 20:18:56 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58678: textproc/dsssl-docbook-modular should use a relative path in the catalog file
Message-ID:  <200310291118.h9TBIu2H049894@alph.allbsd.org>
Resent-Message-ID: <200310291130.h9TBUNk0058586@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58678
>Category:       ports
>Synopsis:       textproc/dsssl-docbook-modular should use a relative path in the catalog file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 29 03:30:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue May 20 00:05:43 JST 2003     hrs@alph.allbsd.org:/home/obj/home/src/sys/ALPH  i386

>Description:
	For consistency, a CATALOG line should be specified in a relative path.
	See other DTD-related ports such as docbook.

>How-To-Repeat:
	N/A

>Fix:

Index: dsssl-docbook-modular/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/dsssl-docbook-modular/Makefile,v
retrieving revision 1.51
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.51 Makefile
--- dsssl-docbook-modular/Makefile	6 Jul 2003 22:49:37 -0000	1.51
+++ dsssl-docbook-modular/Makefile	29 Oct 2003 10:47:10 -0000
@@ -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 @@
 
 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 @@
 	@${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>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310291118.h9TBIu2H049894>