2010-02-11 20:30:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2010/02/11 19:39:04 joerg Exp $
|
1999-11-29 09:06:32 +01:00
|
|
|
|
2002-03-19 14:23:26 +01:00
|
|
|
DISTNAME= smtpfeed-1.18
|
2005-03-14 20:52:16 +01:00
|
|
|
PKGREVISION= 1
|
1999-11-29 09:06:32 +01:00
|
|
|
CATEGORIES= mail
|
2008-03-17 12:37:41 +01:00
|
|
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/smtpfeed/
|
1999-11-29 09:06:32 +01:00
|
|
|
|
2007-11-17 14:40:15 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-03-17 12:37:41 +01:00
|
|
|
HOMEPAGE= http://member.wide.ad.jp/wg/smtp/smtpfeed.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= SMTP Fast Exploding External Deliverer for Sendmail
|
1999-11-29 09:06:32 +01:00
|
|
|
|
2010-02-11 20:30:01 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2000-07-26 11:43:51 +02:00
|
|
|
# sendmail 8.x with WIDE patch works better with it, than stock 8.x.
|
|
|
|
# require sendmail from pkgsrc.
|
2001-02-14 01:32:39 +01:00
|
|
|
#DEPENDS+= sendmail>=8.9.3:../../mail/sendmail
|
1999-11-29 09:06:32 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= --libexecdir=${PREFIX:Q}/libexec
|
2006-06-03 02:45:15 +02:00
|
|
|
# configure tries to be clever, so force our setting
|
2007-09-08 00:12:10 +02:00
|
|
|
CONFIGURE_ENV+= my_cv_path_lib_exec=${PREFIX:Q}/libexec
|
1999-11-29 09:06:32 +01:00
|
|
|
# use bind8?
|
|
|
|
#CONFIGURE_ARGS+= --with-bind8
|
|
|
|
|
|
|
|
DOCS= COPYRIGHT FEATURES FEATURES.j FYI FYI.j INSTALL INSTALL.j \
|
2001-01-21 07:02:27 +01:00
|
|
|
ML-ADMIN ML-ADMIN.j OPTIONS OPTIONS.j README README.j \
|
|
|
|
RELEASE.NOTE SIGNAL SIGNAL.j TODO
|
1999-11-29 09:06:32 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.smtpfeed
|
|
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
1999-11-29 09:33:29 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
1999-11-29 09:33:29 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
1999-11-29 09:33:29 +01:00
|
|
|
.endif
|
1999-11-29 09:06:32 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 share/doc/smtpfeed
|
2010-02-11 20:30:01 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= libexecdir=${DESTDIR}${PREFIX}/libexec
|
2007-09-08 00:12:10 +02:00
|
|
|
|
1999-11-29 09:06:32 +01:00
|
|
|
post-install:
|
2010-02-11 20:30:01 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/smtpfeed.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
1999-11-29 09:06:32 +01:00
|
|
|
for i in ${DOCS}; do \
|
2010-02-11 20:30:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/doc/smtpfeed; \
|
1999-11-29 09:06:32 +01:00
|
|
|
done
|
|
|
|
|
2005-11-07 21:35:20 +01:00
|
|
|
.include "../../devel/sysexits/buildlink3.mk"
|
1999-11-29 09:06:32 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|