summaryrefslogtreecommitdiff
path: root/security/smtpd/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-03 13:22:31 +0000
committerwiz <wiz@pkgsrc.org>2000-09-03 13:22:31 +0000
commit2aeb46de50f9606fb07cd4bcac88b78198c7529f (patch)
treebcfcb61a9feab147842ccc67ef94bb7043185656 /security/smtpd/Makefile
parentd673db6f9d3fabde3932f18c7c28540dd4f5c96a (diff)
downloadpkgsrc-2aeb46de50f9606fb07cd4bcac88b78198c7529f.tar.gz
Cleanup; don't hardcode /usr/pkg in MESSAGE
Diffstat (limited to 'security/smtpd/Makefile')
-rw-r--r--security/smtpd/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/security/smtpd/Makefile b/security/smtpd/Makefile
index fe07873e669..2d34c46d6fe 100644
--- a/security/smtpd/Makefile
+++ b/security/smtpd/Makefile
@@ -1,33 +1,27 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/04/21 10:57:33 mjl Exp $
+# $NetBSD: Makefile,v 1.2 2000/09/03 13:22:31 wiz Exp $
#
DISTNAME= smtpd-2.0
CATEGORIES= mail security
MASTER_SITES= ftp://ftp.obtuse.com/pub/smtpd/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
PATCHFILES= patch-smtpd-2.0-RBL.gz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.obtuse.com/smtpd.html
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
SPOOL= /var/spool/smtpd
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
pre-install:
- -${MKDIR} -p ${SPOOL}/etc
+ -${MKDIR} ${SPOOL}/etc
for f in antirelay_check_rules_example antispam_check_rules.example smtpd_check_rules.example ; do ${INSTALL_DATA} ${WRKSRC}/$$f ${SPOOL}/etc; done
${CHOWN} -R uucp.mail ${SPOOL}
${CHMOD} -R g=,o= ${SPOOL}
${CP} /etc/localtime /etc/resolv.conf ${SPOOL}/etc
-
post-build:
- @cd ${PKGDIR}; \
- for f in DEINSTALL MESSAGE; do \
- ${SED} -e 's#@PREFIX@#${PREFIX}#g' <$$f >$$f.1; \
- ${MV} -f $$f.1 $$f; \
- done
+ ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \
+ >${MESSAGE_FILE}
.include "../../mk/bsd.pkg.mk"