pkgsrc/mail/msmtp/Makefile
ryoon 6d91339088 Update to 1.4.26
* Introduce scripts option to install optional scripts.

Changelog:
Version 1.4.26:
- A new version of the msmtpq script fixes serious bugs. To update to the new
  version of the script, you need to remove the old msmtpQ symlink, change
  msmtpQ to msmtpq in your MUA config, and use msmtp-queue for queue management.
2011-12-02 12:33:53 +00:00

41 lines
977 B
Makefile

# $NetBSD: Makefile,v 1.34 2011/12/02 12:33:53 ryoon Exp $
DISTNAME= msmtp-1.4.26
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=msmtp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bcv@hub3.net
HOMEPAGE= http://msmtp.sourceforge.net/
COMMENT= SMTP plugin for MUAs
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config msgfmt xgettext
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/msmtp
CONF_FILES= ${EGDIR}/msmtprc-user.example \
${PKG_SYSCONFDIR}/msmtprc
INFO_FILES= yes
PLIST_VARS+= scripts
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Interix"
CPPFLAGS+= -D__WINSOCK
.endif
.include "options.mk"
.PHONY: install-msmtp-scripts
post-install: install-msmtp-scripts
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/doc/msmtprc-user.example ${DESTDIR}${EGDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"