ports/143326: [PATCH] print/xtexsh: make DOCSDIR & DATADIR safe

Sevan Janiyan venture37 at geeklan.co.uk
Thu Jan 28 21:40:12 UTC 2010


>Number:         143326
>Category:       ports
>Synopsis:       [PATCH] print/xtexsh: make DOCSDIR & DATADIR safe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 28 21:40:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC
>Description:

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

--- xtexsh-1.4.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/print/xtexsh/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	6 Jan 2009 19:26:41 -0000	1.6
+++ Makefile	28 Jan 2010 21:31:28 -0000
@@ -34,7 +34,7 @@
 	@${INSTALL_DATA} ${WRKSRC}/xtexshrc ${PREFIX}/etc/xtexshrc
 	@${MKDIR} ${PREFIX}/share/xtexsh
 .for f in xtexsh-mini.png xtexsh.png xtexsh.desktop xtexsh.spec
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/xtexsh
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
 .endfor
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/print/xtexsh/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	25 Dec 2001 18:22:11 -0000	1.1
+++ pkg-plist	28 Jan 2010 21:31:28 -0000
@@ -1,10 +1,10 @@
 bin/xtexsh
 etc/xtexshrc
-%%PORTDOCS%%share/doc/xtexsh/README
-%%PORTDOCS%%share/doc/xtexsh/index.html
-share/xtexsh/xtexsh-mini.png
-share/xtexsh/xtexsh.desktop
-share/xtexsh/xtexsh.png
-share/xtexsh/xtexsh.spec
- at dirrm share/xtexsh
-%%PORTDOCS%%@dirrm share/doc/xtexsh
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%DATADIR%%/xtexsh-mini.png
+%%DATADIR%%/xtexsh.desktop
+%%DATADIR%%/xtexsh.png
+%%DATADIR%/xtexsh.spec
+ at dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- xtexsh-1.4.2_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list