diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-01-31 11:51:05 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-01-31 11:51:05 +0800 |
commit | 1b531b59d5351b03e422616048ab410346104d57 (patch) | |
tree | 467842b800ab860a3d675c6704004ccb079651f1 /mail | |
parent | 1691c2ffc1d37532ad3fac3a8a34ed6e5dde7137 (diff) | |
download | freebsd-ports-gnome-1b531b59d5351b03e422616048ab410346104d57.tar.gz freebsd-ports-gnome-1b531b59d5351b03e422616048ab410346104d57.tar.zst freebsd-ports-gnome-1b531b59d5351b03e422616048ab410346104d57.zip |
- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142768
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Approved by: maintainer timeout (sexbear@tmu.edu.tw; > 2 weeks)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailmgr/Makefile | 4 | ||||
-rw-r--r-- | mail/mailmgr/files/pkg-message.in (renamed from mail/mailmgr/pkg-message) | 0 |
2 files changed, 1 insertions, 3 deletions
diff --git a/mail/mailmgr/Makefile b/mail/mailmgr/Makefile index 4dc9ef83a9a7..7e37144b736a 100644 --- a/mail/mailmgr/Makefile +++ b/mail/mailmgr/Makefile @@ -15,8 +15,7 @@ COMMENT= Sendmail Analysis Report Generator GNU_CONFIGURE= yes -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKSRC}/pkg-message +SUB_FILES= pkg-message do-install: ${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf.default @@ -24,7 +23,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf .endif ${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${PREFIX}/bin - @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/mail/mailmgr/pkg-message b/mail/mailmgr/files/pkg-message.in index 636ec82ac55d..636ec82ac55d 100644 --- a/mail/mailmgr/pkg-message +++ b/mail/mailmgr/files/pkg-message.in |