aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 20:05:22 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 20:05:22 +0800
commit352cc686b803590058122ec02ec225ac8af932ce (patch)
treed610ebc17a93816843467cdc9ed9beea0c8a8860
parent8f71ea497f0a78cb0cad00a9b36164ef5ba0224f (diff)
downloadfreebsd-ports-gnome-352cc686b803590058122ec02ec225ac8af932ce.tar.gz
freebsd-ports-gnome-352cc686b803590058122ec02ec225ac8af932ce.tar.zst
freebsd-ports-gnome-352cc686b803590058122ec02ec225ac8af932ce.zip
Use SUB_FILES for pkg-message
-rw-r--r--www/junkbuster/Makefile3
-rw-r--r--www/junkbuster/files/pkg-message.in (renamed from www/junkbuster/pkg-message)2
2 files changed, 3 insertions, 2 deletions
diff --git a/www/junkbuster/Makefile b/www/junkbuster/Makefile
index 0d3f6755c714..ce18f1675f4e 100644
--- a/www/junkbuster/Makefile
+++ b/www/junkbuster/Makefile
@@ -21,8 +21,9 @@ USE_REINPLACE= yes
ALL_TARGET= # yes, an empty target.
JDIR= ${PREFIX}/etc/junkbuster
MAN1= junkbuster.1
-SUB_FILES= junkbuster.sh
+SUB_FILES= junkbuster.sh pkg-message
USE_RC_SUBR= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
diff --git a/www/junkbuster/pkg-message b/www/junkbuster/files/pkg-message.in
index 7b77094a19e6..443324a72e01 100644
--- a/www/junkbuster/pkg-message
+++ b/www/junkbuster/files/pkg-message.in
@@ -1,3 +1,3 @@
Please, review the samples of the configuration files (in
-/usr/local/etc/junkbuster/) and create your own config files. Read
+%%PREFIX%%/etc/junkbuster/) and create your own config files. Read
the junkbuster man-page (man junkbuster) for even more information.