- Use newly added RC_SUBR_SUFFIX

- Remove the redundant SUB_FILES (USE_RC_SUBR implies it)

Approved by:	dinoex (maintainer)
This commit is contained in:
Rong-En Fan 2007-02-01 14:21:43 +00:00
parent 1f478412e1
commit 849c5e34d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183865

View File

@ -41,7 +41,6 @@ IGNORE= pointyhat cluster does not support sysvipc
.endif
SENDMAIL_MILTER_PORT?= sendmail
SUB_FILES= milter-dk.sh
WCONF= ${WRKSRC}/devtools/Site
MAN8= dk-filter.8
DOCSFILES= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \
@ -54,12 +53,7 @@ SITE+= ${FILESDIR}/site.config.m4.milter
.include <bsd.port.pre.mk>
# .sh suffix is stripped in recent releases.
.if (${OSVERSION} >= 700007 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= 600101 ))
SUB_LIST= "RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR:S/.sh$//}"
.else
SUB_LIST= "RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR}"
.endif
SUB_LIST= "RC_SCRIPT=${PREFIX}/etc/rc.d/${USE_RC_SUBR:S/.sh$//}${RC_SUBR_SUFFIX}"
.if defined(SENDMAIL_WITHOUT_MILTER)
pre-fetch: