summaryrefslogtreecommitdiff
path: root/mail/sendmail813/Makefile.common
diff options
context:
space:
mode:
authorjnemeth <jnemeth>2007-04-17 10:16:53 +0000
committerjnemeth <jnemeth>2007-04-17 10:16:53 +0000
commitdbfd0400114b75e6aff233f2d56a2e103a4ade6a (patch)
tree3e350677fa367a3a49424bdc5d19e08fe7b8b61f /mail/sendmail813/Makefile.common
parentf42a77f6a1eb35241d55201f9f59df231c999dd6 (diff)
downloadpkgsrc-dbfd0400114b75e6aff233f2d56a2e103a4ade6a.tar.gz
Rename of current sendmail package to sendmail813 to make way for
new sendmail 8.14.x tree in pkgsrc. Changes to the original package include: - Path changes in Makefile and Makefile.common to reflect new location under mail/ of this package - Fix a bunch of issues found by pkg_lint
Diffstat (limited to 'mail/sendmail813/Makefile.common')
-rw-r--r--mail/sendmail813/Makefile.common50
1 files changed, 50 insertions, 0 deletions
diff --git a/mail/sendmail813/Makefile.common b/mail/sendmail813/Makefile.common
new file mode 100644
index 00000000000..d2a057655e6
--- /dev/null
+++ b/mail/sendmail813/Makefile.common
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $
+#
+# Makefile fragment shared with libmilter
+#
+
+DISTNAME= sendmail.${DIST_VERS}
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
+ ftp://ftp.sendmail.org/pub/sendmail/past-releases/ \
+ ftp://ftp.fu-berlin.de/pub/unix/mail/sendmail/ \
+ ftp://ftp.ayamura.org/pub/sendmail/
+
+MAINTAINER= jnemeth@NetBSD.org
+HOMEPAGE= http://www.sendmail.org/
+
+LICENSE= sendmail-license
+
+DISTINFO_FILE?= ${.CURDIR}/../../mail/sendmail813/distinfo
+FILESDIR?= ${.CURDIR}/../../mail/sendmail813/files
+PATCHDIR?= ${.CURDIR}/../../mail/sendmail813/patches
+
+DIST_VERS= 8.13.8
+
+MAKE_ENV+= BSD_BINOWN=${BINOWN:Q} BSD_BINGRP=${BINGRP:Q} \
+ BSD_MANOWN=${MANOWN:Q} BSD_MANGRP=${MANGRP:Q} \
+ BUILDLINK_DIR=${BUILDLINK_DIR:Q} \
+ SMRSH_CMDDIR=${SMRSH_CMDDIR:Q}
+SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4
+
+BUILD_DEFS+= SMRSH_CMDDIR
+
+WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS}
+USE_TOOLS+= gm4
+MAKE_ENV+= M4=${TOOLS_M4:Q}
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+.PHONY: make-sendmail-siteconfig
+make-sendmail-siteconfig:
+ ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG}
+ ${CHMOD} +w ${SITECONFIG}
+
+.if !empty(PKG_OPTIONS:Minet6)
+ ${CAT} ${FILESDIR}/site.config.m4-v6 >>${SITECONFIG}
+. if ${OPSYS} != "SunOS" && ${OPSYS} != "BSDOS" && ${OPSYS} != "DragonFly"
+ ${CAT} ${FILESDIR}/site.config.m4-v6-not-solaris >>${SITECONFIG}
+. endif
+.endif
+ ${CAT} ${FILESDIR}/site.config.m4-milter >>${SITECONFIG}