pkgsrc/mail/smtpfeed/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

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
DISTNAME= smtpfeed-1.18
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
MAINTAINER= pkgsrc-users@NetBSD.org
2008-03-17 12:37:41 +01:00
HOMEPAGE= http://member.wide.ad.jp/wg/smtp/smtpfeed.html
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
# sendmail 8.x with WIDE patch works better with it, than stock 8.x.
# require sendmail from pkgsrc.
#DEPENDS+= sendmail>=8.9.3:../../mail/sendmail
1999-11-29 09:06:32 +01:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=${PREFIX:Q}/libexec
# configure tries to be clever, so force our setting
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 \
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
PKG_OPTIONS_VAR= PKG_OPTIONS.smtpfeed
PKG_SUPPORTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
1999-11-29 09:06:32 +01:00
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man8 share/doc/smtpfeed
2010-02-11 20:30:01 +01:00
INSTALL_MAKE_FLAGS+= libexecdir=${DESTDIR}${PREFIX}/libexec
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
.include "../../devel/sysexits/buildlink3.mk"
1999-11-29 09:06:32 +01:00
.include "../../mk/bsd.pkg.mk"