aboutsummaryrefslogtreecommitdiff
path: root/audio/tclmidi
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:22:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:22:23 +0000
commitad955109850dcc092d854a71dbb3e1b4d5fa1c2d (patch)
tree81c002fc743c3bb9e8e19ba5b0281fcea5881319 /audio/tclmidi
parent14dbb6b7a3f062549e11a299a16f96e266af4d49 (diff)
downloadports-ad955109850dcc092d854a71dbb3e1b4d5fa1c2d.tar.gz
ports-ad955109850dcc092d854a71dbb3e1b4d5fa1c2d.zip
Notes
Diffstat (limited to 'audio/tclmidi')
-rw-r--r--audio/tclmidi/Makefile4
-rw-r--r--audio/tclmidi/files/pkg-message.in6
-rw-r--r--audio/tclmidi/pkg-message6
3 files changed, 9 insertions, 7 deletions
diff --git a/audio/tclmidi/Makefile b/audio/tclmidi/Makefile
index d57bcfc91092..6f57c6c3e27f 100644
--- a/audio/tclmidi/Makefile
+++ b/audio/tclmidi/Makefile
@@ -20,6 +20,8 @@ LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
MAKE_ENV= TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclsh=${LOCALBASE}/bin/tclsh8.2
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
MAN1= mplay.1 mrec.1 tclmidi.1 minfo.1 midtotcl.1
MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
@@ -42,6 +44,6 @@ post-extract:
.endif
post-install:
- @${CAT} ${PKGMESSAGE} | ${SED} s#/usr/local#${PREFIX}#g
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/audio/tclmidi/files/pkg-message.in b/audio/tclmidi/files/pkg-message.in
new file mode 100644
index 000000000000..e0ed1ea1ddfe
--- /dev/null
+++ b/audio/tclmidi/files/pkg-message.in
@@ -0,0 +1,6 @@
+IMPORTANT:
+Now you should add %%PREFIX%%/lib/tclmidi to your
+TCLLIBPATH environment variable!
+
+For example (with [t]csh:
+setenv TCLLIBPATH "%%PREFIX%%/lib/tclmidi %%PREFIX%%/lib/tcl8.0"
diff --git a/audio/tclmidi/pkg-message b/audio/tclmidi/pkg-message
deleted file mode 100644
index 344ddcef4d68..000000000000
--- a/audio/tclmidi/pkg-message
+++ /dev/null
@@ -1,6 +0,0 @@
-IMPORTANT:
-Now you should add /usr/local/lib/tclmidi to your
-TCLLIBPATH environment variable!
-
-For example (with [t]csh:
-setenv TCLLIBPATH "/usr/local/lib/tclmidi /usr/local/lib/tcl8.0"