ports/143150: [PATCH] net/smb4k: use $SUB_FILES to update pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 24 07:50:02 UTC 2010
>Number: 143150
>Category: ports
>Synopsis: [PATCH] net/smb4k: use $SUB_FILES to update 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 24 07:50:01 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:
no need to invoke sed manually
Added file(s):
- files/pkg-message.in
Removed file(s):
- pkg-message
Port maintainer (citycat4 at ngs.ru) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- smb4k-0.9.9_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/smb4k/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 2 Aug 2009 19:35:04 -0000 1.25
+++ Makefile 24 Jan 2010 07:36:41 -0000
@@ -29,15 +29,13 @@
--with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib
DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME}
-MESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
post-install:
.for i in smb2awk smb2nsmbrc
${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
.endfor
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}
-
- @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE} > ${MESSAGE}
- @${CAT} ${MESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 17 Nov 2005 12:14:31 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-***********************************************************
-
-Please, read %%PREFIX%%/share/doc/HTML/en/smb4k/README.FreeBSD
-*B*E*F*O*R*E* the FIRST RUN of SMB4K!
-
-In order to run SMB4K properly, be sure that:
-
-1. Your kernel is configured properly
-2. Your /etc/nsmb.conf file is configured properly
-3. Your .nsmbrc file is configured properly (this means, that
- the password to *ANY* server in your network is recorded in
- this file. For semi-automatic creation of .nsmbrc you can use
- the smb2nsmbrc script)
-
-Keep in mind, that:
-
-1. SMB4K only calls smb4k_mount and smb4k_umount programs.
-2. You can use the scripts that come with the port or create
- your own.
-3. DO NOT DISTURB ME ABOUT FreeBSD's SMB IMPLEMENTATION!
-
-************************************************************
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 24 Jan 2010 07:36:41 -0000
@@ -0,0 +1,22 @@
+***********************************************************
+
+Please, read %%PREFIX%%/share/doc/HTML/en/smb4k/README.FreeBSD
+*B*E*F*O*R*E* the FIRST RUN of SMB4K!
+
+In order to run SMB4K properly, be sure that:
+
+1. Your kernel is configured properly
+2. Your /etc/nsmb.conf file is configured properly
+3. Your .nsmbrc file is configured properly (this means, that
+ the password to *ANY* server in your network is recorded in
+ this file. For semi-automatic creation of .nsmbrc you can use
+ the smb2nsmbrc script)
+
+Keep in mind, that:
+
+1. SMB4K only calls smb4k_mount and smb4k_umount programs.
+2. You can use the scripts that come with the port or create
+ your own.
+3. DO NOT DISTURB ME ABOUT FreeBSD's SMB IMPLEMENTATION!
+
+************************************************************
--- smb4k-0.9.9_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list