Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 06:50:12 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143146: [PATCH] net/pmf: make plist DOCSDIR, DATADIR, EXAMPLESDIR safe, use $SUB_FILES to update pmfrc.default 
Message-ID:  <201001240650.o0O6oC6Q097780@newbie.thingamajig-systems.co.uk>
Resent-Message-ID: <201001240700.o0O7065O094082@freefall.freebsd.org>

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

>Number:         143146
>Category:       ports
>Synopsis:       [PATCH] net/pmf: make plist DOCSDIR,DATADIR,EXAMPLESDIR safe, use $SUB_FILES to update pmfrc.default
>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:   Sun Jan 24 07:00:06 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:

--- pmf-1.13.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/pmf/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile	20 Feb 2003 18:51:05 -0000	1.22
+++ Makefile	24 Jan 2010 06:48:33 -0000
@@ -18,16 +18,13 @@
 SYSSRC=		${WRKSRC}/../system_dir
 DOCSRC=		${WRKSRC}/../doc
 XMPSRC=		${WRKSRC}/../examples
-
-post-patch:
-	@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/pmfrc.default.in \
-		> ${SYSSRC}/pmfrc.default
+SUB_FILES=	pmfrc.default
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pmf ${PREFIX}/bin
 	@${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${SYSSRC}/NEWS ${DATADIR}
-	${INSTALL_DATA} ${SYSSRC}/pmfrc.default ${DATADIR}
+	${INSTALL_DATA} ${WRKDIR}/pmfrc.default ${DATADIR}
 	@${MKDIR} ${DATADIR}/helpfiles
 	${INSTALL_DATA} ${SYSSRC}/helpfiles/.pmfrc ${DATADIR}/helpfiles
 	${INSTALL_DATA} ${SYSSRC}/helpfiles/* ${DATADIR}/helpfiles
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/pmf/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist	10 Apr 2004 16:07:07 -0000	1.6
+++ pkg-plist	24 Jan 2010 06:48:33 -0000
@@ -1,101 +1,101 @@
 bin/pmf
-%%PORTDOCS%%share/doc/pmf/mud-clients.FAQ
-%%PORTDOCS%%share/doc/pmf/mud-rwho.FAQ
-%%PORTDOCS%%share/doc/pmf/mud.FAQ
-%%PORTDOCS%%share/doc/pmf/mudlist.18oct93
-%%PORTDOCS%%share/doc/pmf/pmf.doc
-%%PORTDOCS%%share/doc/pmf/resource-usage
-share/examples/pmf/dot.pmfrc
-share/examples/pmf/pmf-sparc-sound
-share/examples/pmf/sample-robot
-share/pmf/NEWS
-share/pmf/pmfrc.default
-share/pmf/helpfiles/!!
-share/pmf/helpfiles/!number
-share/pmf/helpfiles/!str
-share/pmf/helpfiles/!string
-share/pmf/helpfiles/+action
-share/pmf/helpfiles/+alias
-share/pmf/helpfiles/+beep
-share/pmf/helpfiles/+cd
-share/pmf/helpfiles/+connect
-share/pmf/helpfiles/+cryptsay
-share/pmf/helpfiles/+crypttell
-share/pmf/helpfiles/+debuglog
-share/pmf/helpfiles/+disconnect
-share/pmf/helpfiles/+dump
-share/pmf/helpfiles/+echo
-share/pmf/helpfiles/+gag
-share/pmf/helpfiles/+getfile
-share/pmf/helpfiles/+help
-share/pmf/helpfiles/+history
-share/pmf/helpfiles/+last
-share/pmf/helpfiles/+log
-share/pmf/helpfiles/+perform
-share/pmf/helpfiles/+putfile
-share/pmf/helpfiles/+quit
-share/pmf/helpfiles/+quote
-share/pmf/helpfiles/+receive
-share/pmf/helpfiles/+send
-share/pmf/helpfiles/+set
-share/pmf/helpfiles/+sound
-share/pmf/helpfiles/+source
-share/pmf/helpfiles/+status
-share/pmf/helpfiles/+system
-share/pmf/helpfiles/+unaction
-share/pmf/helpfiles/+unactionall
-share/pmf/helpfiles/+unalias
-share/pmf/helpfiles/+ungag
-share/pmf/helpfiles/+unset
-share/pmf/helpfiles/+unsound
-share/pmf/helpfiles/.pmfrc
-share/pmf/helpfiles/242
-share/pmf/helpfiles/?
-share/pmf/helpfiles/CTRL-C
-share/pmf/helpfiles/CTRL-D
-share/pmf/helpfiles/CTRL-Z
-share/pmf/helpfiles/FRONT242
-share/pmf/helpfiles/Padrone
-share/pmf/helpfiles/README
-share/pmf/helpfiles/achtung
-share/pmf/helpfiles/bug
-share/pmf/helpfiles/can_gag_fight
-share/pmf/helpfiles/cryptkey
-share/pmf/helpfiles/debug
-share/pmf/helpfiles/documentation
-share/pmf/helpfiles/echo
-share/pmf/helpfiles/frontcd
-share/pmf/helpfiles/frontecho
-share/pmf/helpfiles/fronthelp
-share/pmf/helpfiles/frontquit
-share/pmf/helpfiles/frontset
-share/pmf/helpfiles/frontstatus
-share/pmf/helpfiles/frontunset
-share/pmf/helpfiles/help
-share/pmf/helpfiles/history
-share/pmf/helpfiles/host
-share/pmf/helpfiles/ignoreeof
-share/pmf/helpfiles/init
-share/pmf/helpfiles/lines_to_save
-share/pmf/helpfiles/options
-share/pmf/helpfiles/padrone
-share/pmf/helpfiles/pmf
-share/pmf/helpfiles/port
-share/pmf/helpfiles/prompt
-share/pmf/helpfiles/quit
-share/pmf/helpfiles/replace_control
-share/pmf/helpfiles/robot
-share/pmf/helpfiles/screen_length
-share/pmf/helpfiles/show_receive
-share/pmf/helpfiles/slash_commands
-share/pmf/helpfiles/sound
-share/pmf/helpfiles/source
-share/pmf/helpfiles/source-code
-share/pmf/helpfiles/status
-share/pmf/helpfiles/substitute_history
-share/pmf/helpfiles/variables
-share/pmf/helpfiles/verbose
-@dirrm share/pmf/helpfiles
-@dirrm share/pmf
-@dirrm share/examples/pmf
-%%PORTDOCS%%@dirrm share/doc/pmf
+%%PORTDOCS%%%%DOCSDIR%%/mud-clients.FAQ
+%%PORTDOCS%%%%DOCSDIR%%/mud-rwho.FAQ
+%%PORTDOCS%%%%DOCSDIR%%/mud.FAQ
+%%PORTDOCS%%%%DOCSDIR%%/mudlist.18oct93
+%%PORTDOCS%%%%DOCSDIR%%/pmf.doc
+%%PORTDOCS%%%%DOCSDIR%%/resource-usage
+%%EXAMPLESDIR%%/dot.pmfrc
+%%EXAMPLESDIR%%/pmf-sparc-sound
+%%EXAMPLESDIR%%/sample-robot
+%%DATADIR%%/NEWS
+%%DATADIR%%/pmfrc.default
+%%DATADIR%%/helpfiles/!!
+%%DATADIR%%/helpfiles/!number
+%%DATADIR%%/helpfiles/!str
+%%DATADIR%%/helpfiles/!string
+%%DATADIR%%/helpfiles/+action
+%%DATADIR%%/helpfiles/+alias
+%%DATADIR%%/helpfiles/+beep
+%%DATADIR%%/helpfiles/+cd
+%%DATADIR%%/helpfiles/+connect
+%%DATADIR%%/helpfiles/+cryptsay
+%%DATADIR%%/helpfiles/+crypttell
+%%DATADIR%%/helpfiles/+debuglog
+%%DATADIR%%/helpfiles/+disconnect
+%%DATADIR%%/helpfiles/+dump
+%%DATADIR%%/helpfiles/+echo
+%%DATADIR%%/helpfiles/+gag
+%%DATADIR%%/helpfiles/+getfile
+%%DATADIR%%/helpfiles/+help
+%%DATADIR%%/helpfiles/+history
+%%DATADIR%%/helpfiles/+last
+%%DATADIR%%/helpfiles/+log
+%%DATADIR%%/helpfiles/+perform
+%%DATADIR%%/helpfiles/+putfile
+%%DATADIR%%/helpfiles/+quit
+%%DATADIR%%/helpfiles/+quote
+%%DATADIR%%/helpfiles/+receive
+%%DATADIR%%/helpfiles/+send
+%%DATADIR%%/helpfiles/+set
+%%DATADIR%%/helpfiles/+sound
+%%DATADIR%%/helpfiles/+source
+%%DATADIR%%/helpfiles/+status
+%%DATADIR%%/helpfiles/+system
+%%DATADIR%%/helpfiles/+unaction
+%%DATADIR%%/helpfiles/+unactionall
+%%DATADIR%%/helpfiles/+unalias
+%%DATADIR%%/helpfiles/+ungag
+%%DATADIR%%/helpfiles/+unset
+%%DATADIR%%/helpfiles/+unsound
+%%DATADIR%%/helpfiles/.pmfrc
+%%DATADIR%%/helpfiles/242
+%%DATADIR%%/helpfiles/?
+%%DATADIR%%/helpfiles/CTRL-C
+%%DATADIR%%/helpfiles/CTRL-D
+%%DATADIR%%/helpfiles/CTRL-Z
+%%DATADIR%%/helpfiles/FRONT242
+%%DATADIR%%/helpfiles/Padrone
+%%DATADIR%%/helpfiles/README
+%%DATADIR%%/helpfiles/achtung
+%%DATADIR%%/helpfiles/bug
+%%DATADIR%%/helpfiles/can_gag_fight
+%%DATADIR%%/helpfiles/cryptkey
+%%DATADIR%%/helpfiles/debug
+%%DATADIR%%/helpfiles/documentation
+%%DATADIR%%/helpfiles/echo
+%%DATADIR%%/helpfiles/frontcd
+%%DATADIR%%/helpfiles/frontecho
+%%DATADIR%%/helpfiles/fronthelp
+%%DATADIR%%/helpfiles/frontquit
+%%DATADIR%%/helpfiles/frontset
+%%DATADIR%%/helpfiles/frontstatus
+%%DATADIR%%/helpfiles/frontunset
+%%DATADIR%%/helpfiles/help
+%%DATADIR%%/helpfiles/history
+%%DATADIR%%/helpfiles/host
+%%DATADIR%%/helpfiles/ignoreeof
+%%DATADIR%%/helpfiles/init
+%%DATADIR%%/helpfiles/lines_to_save
+%%DATADIR%%/helpfiles/options
+%%DATADIR%%/helpfiles/padrone
+%%DATADIR%%/helpfiles/pmf
+%%DATADIR%%/helpfiles/port
+%%DATADIR%%/helpfiles/prompt
+%%DATADIR%%/helpfiles/quit
+%%DATADIR%%/helpfiles/replace_control
+%%DATADIR%%/helpfiles/robot
+%%DATADIR%%/helpfiles/screen_length
+%%DATADIR%%/helpfiles/show_receive
+%%DATADIR%%/helpfiles/slash_commands
+%%DATADIR%%/helpfiles/sound
+%%DATADIR%%/helpfiles/source
+%%DATADIR%%/helpfiles/source-code
+%%DATADIR%%/helpfiles/status
+%%DATADIR%%/helpfiles/substitute_history
+%%DATADIR%%/helpfiles/variables
+%%DATADIR%%/helpfiles/verbose
+@dirrm %%DATADIR%%/helpfiles
+@dirrm %%DATADIR%%
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- pmf-1.13.1.patch ends here ---

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



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