aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/opennap/Makefile2
-rw-r--r--audio/opennap/files/pkg-message.in (renamed from audio/opennap/pkg-message)8
-rw-r--r--audio/tclmidi/Makefile4
-rw-r--r--audio/tclmidi/files/pkg-message.in6
-rw-r--r--audio/tclmidi/pkg-message6
-rw-r--r--net-p2p/opennap/Makefile2
-rw-r--r--net-p2p/opennap/files/pkg-message.in (renamed from net-p2p/opennap/pkg-message)8
7 files changed, 21 insertions, 15 deletions
diff --git a/audio/opennap/Makefile b/audio/opennap/Makefile
index a213579e3dcd..95437d0d1d27 100644
--- a/audio/opennap/Makefile
+++ b/audio/opennap/Makefile
@@ -17,6 +17,8 @@ COMMENT= The OpenNAP open-source Napster server
USE_GMAKE= YES
GNU_CONFIGURE= YES
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
post-install:
(${ECHO_CMD} "" ; ${ECHO_CMD} "admin" ; ${ECHO_CMD} "opennap" ; ${ECHO_CMD} "") | ${WRKSRC}/setup
diff --git a/audio/opennap/pkg-message b/audio/opennap/files/pkg-message.in
index 64253999d582..475a03b6158c 100644
--- a/audio/opennap/pkg-message
+++ b/audio/opennap/files/pkg-message.in
@@ -4,16 +4,16 @@ A default administrator user has been created.
The user name is 'admin', password 'opennap'.
You will probably want to change these.
To do so, edit the file
-${PREFIX}/share/opennap/users .
+%%PREFIX%%/share/opennap/users .
Example configuration files are located in
-${PREFIX}/share/opennap/examples/ . Copy
-them to ${PREFIX}/share/opennap, removing the
+%%PREFIX%%/share/opennap/examples/ . Copy
+them to %%PREFIX%%/share/opennap, removing the
'sample.' prefix (e.g. 'sample.conf' becomes
'conf') and edit to your preferences.
Documentation is installed under
-${PREFIX}/share/doc/opennap .
+%%PREFIX%%/share/doc/opennap .
If you would like to link your server to the
global Napigator search system, go to
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"
diff --git a/net-p2p/opennap/Makefile b/net-p2p/opennap/Makefile
index a213579e3dcd..95437d0d1d27 100644
--- a/net-p2p/opennap/Makefile
+++ b/net-p2p/opennap/Makefile
@@ -17,6 +17,8 @@ COMMENT= The OpenNAP open-source Napster server
USE_GMAKE= YES
GNU_CONFIGURE= YES
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
post-install:
(${ECHO_CMD} "" ; ${ECHO_CMD} "admin" ; ${ECHO_CMD} "opennap" ; ${ECHO_CMD} "") | ${WRKSRC}/setup
diff --git a/net-p2p/opennap/pkg-message b/net-p2p/opennap/files/pkg-message.in
index 64253999d582..475a03b6158c 100644
--- a/net-p2p/opennap/pkg-message
+++ b/net-p2p/opennap/files/pkg-message.in
@@ -4,16 +4,16 @@ A default administrator user has been created.
The user name is 'admin', password 'opennap'.
You will probably want to change these.
To do so, edit the file
-${PREFIX}/share/opennap/users .
+%%PREFIX%%/share/opennap/users .
Example configuration files are located in
-${PREFIX}/share/opennap/examples/ . Copy
-them to ${PREFIX}/share/opennap, removing the
+%%PREFIX%%/share/opennap/examples/ . Copy
+them to %%PREFIX%%/share/opennap, removing the
'sample.' prefix (e.g. 'sample.conf' becomes
'conf') and edit to your preferences.
Documentation is installed under
-${PREFIX}/share/doc/opennap .
+%%PREFIX%%/share/doc/opennap .
If you would like to link your server to the
global Napigator search system, go to