aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
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 /net-p2p
parent14dbb6b7a3f062549e11a299a16f96e266af4d49 (diff)
downloadports-ad955109850dcc092d854a71dbb3e1b4d5fa1c2d.tar.gz
ports-ad955109850dcc092d854a71dbb3e1b4d5fa1c2d.zip
Notes
Diffstat (limited to 'net-p2p')
-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
2 files changed, 6 insertions, 4 deletions
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