aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-02-14 03:17:14 +0800
committermiwi <miwi@FreeBSD.org>2010-02-14 03:17:14 +0800
commit640717169821802611eb1bcabb327d25e8597353 (patch)
treebd140e7085634e8895a291e5b1f5861e4dd9409f /net
parent2e6646e59190a536a4eb61fd05cfbf71f549fd95 (diff)
downloadfreebsd-ports-gnome-640717169821802611eb1bcabb327d25e8597353.tar.gz
freebsd-ports-gnome-640717169821802611eb1bcabb327d25e8597353.tar.zst
freebsd-ports-gnome-640717169821802611eb1bcabb327d25e8597353.zip
- Use $SUB_FILES to update pkg-message
PR: 143150 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'net')
-rw-r--r--net/smb4k/Makefile6
-rw-r--r--net/smb4k/files/pkg-message.in (renamed from net/smb4k/pkg-message)0
2 files changed, 2 insertions, 4 deletions
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 <bsd.port.mk>
diff --git a/net/smb4k/pkg-message b/net/smb4k/files/pkg-message.in
index 49dc2214d434..49dc2214d434 100644
--- a/net/smb4k/pkg-message
+++ b/net/smb4k/files/pkg-message.in