aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 20:22:23 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 20:22:23 +0800
commit396f92968061d6f60226be32156a446d7e53ab45 (patch)
treec864ee607464255623c2f9489ea52ca59a801df9 /net-p2p
parent605d1669d25a14293da2ad64d801b0cb19543f3f (diff)
downloadfreebsd-ports-gnome-396f92968061d6f60226be32156a446d7e53ab45.tar.gz
freebsd-ports-gnome-396f92968061d6f60226be32156a446d7e53ab45.tar.zst
freebsd-ports-gnome-396f92968061d6f60226be32156a446d7e53ab45.zip
Use SUB_FILES for pkg-message
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