aboutsummaryrefslogtreecommitdiff
path: root/mail/spamass-milter
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-31 03:44:55 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-31 03:44:55 +0000
commit7e6a939f18c5cb9a0a55099e81eca1982d026c72 (patch)
tree55578e4e679326bd994101e010f3a5747489269b /mail/spamass-milter
parentf86708762922b2a2d5f308fb013f34beef970ce6 (diff)
downloadports-7e6a939f18c5cb9a0a55099e81eca1982d026c72.tar.gz
ports-7e6a939f18c5cb9a0a55099e81eca1982d026c72.zip
- use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142808 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (pgollucci; > 2 weeks)
Notes
Notes: svn path=/head/; revision=248927
Diffstat (limited to 'mail/spamass-milter')
-rw-r--r--mail/spamass-milter/Makefile4
-rw-r--r--mail/spamass-milter/files/pkg-message.in (renamed from mail/spamass-milter/pkg-message)0
2 files changed, 1 insertions, 3 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile
index 828e0bdc8264..dbbed7ebe198 100644
--- a/mail/spamass-milter/Makefile
+++ b/mail/spamass-milter/Makefile
@@ -88,7 +88,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
MAN1= spamass-milter.1
@@ -124,8 +124,6 @@ post-patch:
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
@${REINPLACE_CMD} -e 's|-lmilter|-lmilter -lldap|g' ${WRKSRC}/configure
.endif
- @${SED} -e's,%%DOCSDIR%%,${DOCSDIR},g' \
- ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/mail/spamass-milter/pkg-message b/mail/spamass-milter/files/pkg-message.in
index 92eca5f2f5af..92eca5f2f5af 100644
--- a/mail/spamass-milter/pkg-message
+++ b/mail/spamass-milter/files/pkg-message.in