ports/164903: [PATCH] textproc/xmlcatmgr: Fix displaying of pkg-message

Simon Olofsson simon at olofsson.de
Wed Feb 8 09:50:10 UTC 2012


>Number:         164903
>Category:       ports
>Synopsis:       [PATCH] textproc/xmlcatmgr: Fix displaying of pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 08 09:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Simon Olofsson
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lua-fb 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
Fix displaying of pkg-message by substituting PREFIX according to Porter's
Handbook Section 8.6.

Added file:
- files/pkg-message.in

Removed file:
- pkg-message

Port maintainer (hrs at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- xmlcatmgr-2.2.patch begins here ---
diff --git a/textproc/xmlcatmgr/Makefile b/textproc/xmlcatmgr/Makefile
index f74cad0..cf86cc5 100644
--- a/textproc/xmlcatmgr/Makefile
+++ b/textproc/xmlcatmgr/Makefile
@@ -15,6 +15,8 @@ COMMENT=	SGML and XML catalog manager
 
 MAN1=		xmlcatmgr.1
 
+SUB_FILES=	pkg-message
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=		DEFAULT_CATALOG_SGML=${CATALOG_PORTS_SGML} \
 			DEFAULT_CATALOG_XML=${CATALOG_PORTS_XML}
diff --git a/textproc/xmlcatmgr/files/pkg-message.in b/textproc/xmlcatmgr/files/pkg-message.in
new file mode 100644
index 0000000..4e19131
--- /dev/null
+++ b/textproc/xmlcatmgr/files/pkg-message.in
@@ -0,0 +1,21 @@
+The following catalogs are installed:
+
+ 1) %%PREFIX%%/share/sgml/catalog
+
+   The top level catalog for SGML stuff.  It is not changed
+   by any ports/packages except textproc/xmlcatmgr.
+
+ 2) %%PREFIX%%/share/sgml/catalog.ports
+
+   This catalog is for handling SGML stuff installed under
+   %%PREFIX%%/share/sgml.  It is changed by ports/packages.
+
+ 3) %%PREFIX%%/share/xml/catalog
+
+   The top level catalog for XML stuff.  It is not changed
+   by any ports/packages except textproc/xmlcatmgr.
+
+ 4) %%PREFIX%%/share/xml/catalog.ports
+
+   This catalog is for handling XML stuff installed under
+   %%PREFIX%%/share/xml.  It is changed by ports/packages.
diff --git a/textproc/xmlcatmgr/pkg-message b/textproc/xmlcatmgr/pkg-message
deleted file mode 100644
index 860601c..0000000
--- a/textproc/xmlcatmgr/pkg-message
+++ /dev/null
@@ -1,21 +0,0 @@
-The following catalogs are installed:
-
- 1) ${PREFIX}/share/sgml/catalog
-
-   The top level catalog for SGML stuff.  It is not changed
-   by any ports/packages except textproc/xmlcatmgr.
-
- 2) ${PREFIX}/share/sgml/catalog.ports
-
-   This catalog is for handling SGML stuff installed under
-   ${PREFIX}/share/sgml.  It is changed by ports/packages.
-
- 3) ${PREFIX}/share/xml/catalog
-
-   The top level catalog for XML stuff.  It is not changed
-   by any ports/packages except textproc/xmlcatmgr.
-
- 4) ${PREFIX}/share/xml/catalog.ports
-
-   This catalog is for handling XML stuff installed under
-   ${PREFIX}/share/xml.  It is changed by ports/packages.
--- xmlcatmgr-2.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list