From 640717169821802611eb1bcabb327d25e8597353 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 13 Feb 2010 19:17:14 +0000 Subject: - Use $SUB_FILES to update pkg-message PR: 143150 Submitted by: Sevan Janiyan --- net/smb4k/Makefile | 6 ++---- net/smb4k/files/pkg-message.in | 22 ++++++++++++++++++++++ net/smb4k/pkg-message | 22 ---------------------- 3 files changed, 24 insertions(+), 26 deletions(-) create mode 100644 net/smb4k/files/pkg-message.in delete mode 100644 net/smb4k/pkg-message (limited to 'net') diff --git a/net/smb4k/Makefile b/net/smb4k/Makefile index d5d57e939b57..34627c6056fa 100644 --- a/net/smb4k/Makefile +++ b/net/smb4k/Makefile @@ -29,15 +29,13 @@ CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \ --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 diff --git a/net/smb4k/files/pkg-message.in b/net/smb4k/files/pkg-message.in new file mode 100644 index 000000000000..49dc2214d434 --- /dev/null +++ b/net/smb4k/files/pkg-message.in @@ -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! + +************************************************************ diff --git a/net/smb4k/pkg-message b/net/smb4k/pkg-message deleted file mode 100644 index 49dc2214d434..000000000000 --- a/net/smb4k/pkg-message +++ /dev/null @@ -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! - -************************************************************ -- cgit