ports/142534: [patch] games/pydance use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sat Jan 9 18:20:05 UTC 2010
>Number: 142534
>Category: ports
>Synopsis: [patch] games/pydance use $SUB_FILES to dynamically adjust pkg-message
>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: Sat Jan 09 18:20:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/pydance/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 31 Jul 2009 13:51:43 -0000 1.16
+++ Makefile 9 Jan 2010 18:11:15 -0000
@@ -35,7 +35,7 @@
SONGS=
.endif
-PKGMESSAGE= ${WRKDIR}/.pkg-message
+SUB_FILES= pkg-message
MAN1= findbpm.1
MAN6= pydance.6
@@ -61,9 +61,6 @@
${MV} ${PREFIX}/share/games/pydance/songs/pydance-cdtitle.png ${PREFIX}/share/games/pydance/songs/pydance.png
.endif
-pre-install:
- ${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 3 Jul 2005 03:46:36 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---------------------------------------------------------------------------
-
-The pydance package has been successfully installed.
-
-NB: A sample configuration file has been installed to %%PREFIX%%/etc as
-"pydance.cfg.sample". This should be renamed to "pydance.cfg" and edited
-to suit the requirements of a particular site (for example in order
-to add song directories).
-
---------------------------------------------------------------------------
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in 9 Jan 2010 18:11:15 -0000
@@ -0,0 +1,10 @@
+--------------------------------------------------------------------------
+
+The pydance package has been successfully installed.
+
+NB: A sample configuration file has been installed to %%PREFIX%%/etc as
+"pydance.cfg.sample". This should be renamed to "pydance.cfg" and edited
+to suit the requirements of a particular site (for example in order
+to add song directories).
+
+--------------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list