diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-01 19:57:25 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-01 19:57:25 +0800 |
commit | 45dcf3eca69ffa0f73ea26f79d1199c4e836bbd7 (patch) | |
tree | 5d10ee815489ad877097bd7a9e8d9566a6cff52b /mail/p3scan | |
parent | 3b2a6e364ada6223a4029d3e60e6c0e4f37c1d9b (diff) | |
download | freebsd-ports-gnome-45dcf3eca69ffa0f73ea26f79d1199c4e836bbd7.tar.gz freebsd-ports-gnome-45dcf3eca69ffa0f73ea26f79d1199c4e836bbd7.tar.zst freebsd-ports-gnome-45dcf3eca69ffa0f73ea26f79d1199c4e836bbd7.zip |
Use SUB_FILES
Diffstat (limited to 'mail/p3scan')
-rw-r--r-- | mail/p3scan/Makefile | 4 | ||||
-rw-r--r-- | mail/p3scan/files/pkg-message.in (renamed from mail/p3scan/pkg-message) | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/p3scan/Makefile b/mail/p3scan/Makefile index 14042f17ecef..723539d48205 100644 --- a/mail/p3scan/Makefile +++ b/mail/p3scan/Makefile @@ -20,6 +20,8 @@ USE_GMAKE= yes USE_GETOPT_LONG=yes MAKE_ENV= _LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" GMAKE=${GMAKE} SCRIPTS_ENV= PKG_PREFIX=${PREFIX} NONEXISTENT=${NONEXISTENT} PASSWD=/etc/passwd +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS= UVSCAN "Use UVSCAN" on @@ -51,6 +53,6 @@ do-install: post-install: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${SED} -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/mail/p3scan/pkg-message b/mail/p3scan/files/pkg-message.in index 442fe457c9ae..1ecf5eea932f 100644 --- a/mail/p3scan/pkg-message +++ b/mail/p3scan/files/pkg-message.in @@ -1,11 +1,11 @@ ********************************************************************** By default, P3Scan is configured to work with McAfee UVSCAN. -Please copy PREFIX/etc/p3scan.conf.sample to p3scan.conf and modify -PREFIX/etc/p3scan.conf and/or PREFIX/etc/rc.d/p3scan.sh to +Please copy %%PREFIX%%/etc/p3scan.conf.sample to p3scan.conf and modify +%%PREFIX%%/etc/p3scan.conf and/or %%PREFIX%%/etc/rc.d/p3scan.sh to fit your environment. -Don't forget to copy PREFIX/etc/p3scan.mail.sample to p3scan.mail +Don't forget to copy %%PREFIX%%/etc/p3scan.mail.sample to p3scan.mail and edit your own template for virus notifications. By the way, you need to enable IPFIREWALL and IPFIREWALL_FORWARD options |