ports/142587: [patch] irc/gdesklets-irc use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 10 17:50:02 UTC 2010
>Number: 142587
>Category: ports
>Synopsis: [patch] irc/gdesklets-irc 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: Sun Jan 10 17:50:01 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/irc/gdesklets-irc/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 6 Jun 2008 13:36:39 -0000 1.10
+++ Makefile 10 Jan 2010 17:41:55 -0000
@@ -23,12 +23,12 @@
NAME= irc
DATADIR= ${PREFIX}/share/gdesklets
LANG= ko
-PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${NAME}
+SUB_FILES= pkg-message
+SUB_LIST= NAME=${NAME}
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
- @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 24 Oct 2007 23:35:59 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-##
-To view the installed applets:
-
- ls %%PREFIX%%/share/gdesklets/Displays
-
-To use this applet:
-
- gdesklets open %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/%%NAME%%.display
-
-NOTE: Be sure to login as your user when you use the gdesklets command,
- as the configuration will be stored in the ~/.gdesklets/ directory
- and/or gconf database.
-##
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 10 Jan 2010 17:41:55 -0000
@@ -0,0 +1,13 @@
+##
+To view the installed applets:
+
+ ls %%PREFIX%%/share/gdesklets/Displays
+
+To use this applet:
+
+ gdesklets open %%PREFIX%%/share/gdesklets/Displays/%%NAME%%/%%NAME%%.display
+
+NOTE: Be sure to login as your user when you use the gdesklets command,
+ as the configuration will be stored in the ~/.gdesklets/ directory
+ and/or gconf database.
+##
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list