# $NetBSD: Makefile,v 1.26 2010/09/14 11:13:13 wiz Exp $ DISTNAME= msmtp-1.4.21 PKGREVISION= 1 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 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} EGDIR= ${PREFIX}/share/examples/msmtp CONF_FILES= ${EGDIR}/msmtprc-user.example \ ${PKG_SYSCONFDIR}/msmtprc INFO_FILES= yes .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Interix" CPPFLAGS+= -D__WINSOCK .endif .include "options.mk" post-install: ${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"