aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-07-19 00:41:19 +0800
committermat <mat@FreeBSD.org>2016-07-19 00:41:19 +0800
commit3dab8f09e8b7b464777ad4102a763fd6cfa084c6 (patch)
treede0e34a6fbc7678aaaa6fa7ea4c31c9e5b56add8 /lang
parent1be4f474d368ac856b66bc1d293b083466a5a505 (diff)
downloadfreebsd-ports-gnome-3dab8f09e8b7b464777ad4102a763fd6cfa084c6.tar.gz
freebsd-ports-gnome-3dab8f09e8b7b464777ad4102a763fd6cfa084c6.tar.zst
freebsd-ports-gnome-3dab8f09e8b7b464777ad4102a763fd6cfa084c6.zip
Don't echo in post-install, use pkg-message. Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST. Sponsored by: Absolight
Diffstat (limited to 'lang')
-rw-r--r--lang/visualworks/Makefile18
-rw-r--r--lang/visualworks/files/pkg-message.in11
2 files changed, 14 insertions, 15 deletions
diff --git a/lang/visualworks/Makefile b/lang/visualworks/Makefile
index 32ccbf4fcbd9..9a5e6ed3a0ed 100644
--- a/lang/visualworks/Makefile
+++ b/lang/visualworks/Makefile
@@ -3,6 +3,7 @@
PORTNAME= visualworks
PORTVERSION= 7.6
+PORTREVISION= 1
CATEGORIES= lang linux
MASTER_SITES= http://www.cincomsmalltalk.com/bsdports/${SUBDIR}.old/
DISTFILES= BaseVisualWorks.tar.gz \
@@ -28,6 +29,8 @@ OPTIONS_DEFINE= ATOOLS COM DLLC DST DATABASE DOTNET CONTRIBUTED ARAGON COAST DOM
WEBAPP WEBSERVICES VMLINUX VMWINDOWS VMMAC VMSOLARIS VMAIX VMHPUX VMSGI
OPTIONS_DEFAULT= DLLC DATABASE SEASIDE STORE
+SUB_FILES= pkg-message
+
ATOOLS_DESC= Advanced Tools
COM_DESC= COM
DLLC_DESC= DLLC Connect
@@ -163,19 +166,4 @@ do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${MY_STARTUP_SCRIPT} ${STAGEDIR}${DATADIR}
@${LN} -s ${DATADIR}/${MY_STARTUP_SCRIPT} ${STAGEDIR}${PREFIX}/bin/visual
-post-install:
- @${ECHO_MSG} " "
- @${ECHO_MSG} " --------------------------- Please note: ---------------------------"
- @${ECHO_MSG} " "
- @${ECHO_MSG} " To start using VisualWorks, copy the default image to your"
- @${ECHO_MSG} " home directory:"
- @${ECHO_MSG} " # ${CP} ${DATADIR}/image/visualnc.im ~"
- @${ECHO_MSG} " Make it writeable:"
- @${ECHO_MSG} " # ${CHMOD} u+w ~/visualnc.im"
- @${ECHO_MSG} " Then run it using:"
- @${ECHO_MSG} " # visual ~/visualnc.im"
- @${ECHO_MSG} " "
- @${ECHO_MSG} " -------------------- Thanks for your attention! --------------------"
- @${ECHO_MSG} " "
-
.include <bsd.port.post.mk>
diff --git a/lang/visualworks/files/pkg-message.in b/lang/visualworks/files/pkg-message.in
new file mode 100644
index 000000000000..fe0989969644
--- /dev/null
+++ b/lang/visualworks/files/pkg-message.in
@@ -0,0 +1,11 @@
+ --------------------------- Please note: ---------------------------
+
+ To start using VisualWorks, copy the default image to your
+ home directory:
+ # cp %%DATADIR%%/image/visualnc.im ~
+ Make it writeable:
+ # chmod u+w ~/visualnc.im
+ Then run it using:
+ # visual ~/visualnc.im
+
+ -------------------- Thanks for your attention! --------------------