aboutsummaryrefslogtreecommitdiff
path: root/editors/tpad
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-31 03:53:33 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-31 03:53:33 +0000
commitbb96074a17b158cc16ab4728a5cd914d1ef56ad7 (patch)
tree2d5cd0e28eaf2d5d7aeca9fbfabda1017248f6b0 /editors/tpad
parent2b01424c034564f5e9b9796ea4968f4a7bff8285 (diff)
downloadports-bb96074a17b158cc16ab4728a5cd914d1ef56ad7.tar.gz
ports-bb96074a17b158cc16ab4728a5cd914d1ef56ad7.zip
- se $SUB_FILES to dynamically adjust pkg-message
PR: ports/142453 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (ant@monitor.deis.unical.it; > 2 weeks)
Notes
Notes: svn path=/head/; revision=248932
Diffstat (limited to 'editors/tpad')
-rw-r--r--editors/tpad/Makefile3
-rw-r--r--editors/tpad/files/pkg-message.in (renamed from editors/tpad/pkg-message)0
2 files changed, 1 insertions, 2 deletions
diff --git a/editors/tpad/Makefile b/editors/tpad/Makefile
index fddc1e012393..4c735434fd33 100644
--- a/editors/tpad/Makefile
+++ b/editors/tpad/Makefile
@@ -20,13 +20,13 @@ COMMENT= Windows XP (TM) enhanced Notepad clone written in Tcl/Tk
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_BUILD= yes
-PKGMESSAGE= ${WRKDIR}/MESSAGE
PORTDOCS= ChangeLog bug.html conf.html embed.html index.html intro.html \
keys.html log.html mouse.html tidy.html tidy.png todo tpad.html
MAN1= tpad.1
MLINKS= tpad.1 tview.1
PLIST_SUB= LIBDIR=lib/tpad${PORTVERSION}
+SUB_FILES= pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/bin/tpad ${PREFIX}/bin/tpad
@@ -57,7 +57,6 @@ post-install:
.endfor
.endif
${INSTALL_DATA} ${WRKDIR}/etc/tpad.conf ${PREFIX}/etc/tpad.conf.sample
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/editors/tpad/pkg-message b/editors/tpad/files/pkg-message.in
index e003f71baa4d..e003f71baa4d 100644
--- a/editors/tpad/pkg-message
+++ b/editors/tpad/files/pkg-message.in