2011-11-27 09:13:37 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2011/11/27 14:13:37 ajacoutot Exp $
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2009-02-13 09:59:01 -05:00
|
|
|
COMMENT = SMTP plugin for MUAs
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2011-11-22 13:24:50 -05:00
|
|
|
DISTNAME = msmtp-1.4.25
|
2009-02-13 09:59:01 -05:00
|
|
|
CATEGORIES = mail
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2009-02-13 09:59:01 -05:00
|
|
|
HOMEPAGE = http://msmtp.sourceforge.net/
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2011-11-22 13:24:50 -05:00
|
|
|
MAINTAINER = Gleydson Soares <gsoares@openbsd.org>
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2007-08-28 14:45:34 -04:00
|
|
|
# GPLv3
|
2009-02-13 09:59:01 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2011-11-27 09:13:37 -05:00
|
|
|
|
2010-11-11 05:54:02 -05:00
|
|
|
WANTLIB = c crypto ssl idn
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2009-02-13 09:59:01 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=msmtp/}
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2005-03-30 17:04:44 -05:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS = devel/libidn
|
2007-04-13 11:06:51 -04:00
|
|
|
|
2009-02-13 09:59:01 -05:00
|
|
|
MODULES = devel/gettext
|
2005-09-29 14:54:02 -04:00
|
|
|
|
2009-02-13 09:59:01 -05:00
|
|
|
SEPARATE_BUILD = concurrent
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS = --with-libgsasl=no \
|
2007-04-13 11:06:51 -04:00
|
|
|
--with-libidn=yes \
|
2011-11-27 09:13:37 -05:00
|
|
|
--with-ssl=openssl \
|
|
|
|
--without-gnome-keyring
|
2011-03-23 05:48:07 -04:00
|
|
|
FAKE_FLAGS = mandir="${PREFIX}/man" \
|
|
|
|
infodir="${PREFIX}/info"
|
2005-03-30 17:04:44 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/msmtp
|
2007-08-28 14:45:34 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/msmtp/msmtpqueue
|
2005-03-30 17:04:44 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.example ${PREFIX}/share/examples/msmtp
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/msmtp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Mutt+msmtp.txt ${PREFIX}/share/doc/msmtp
|
2007-08-28 14:45:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/msmtpqueue/{README,ChangeLog} \
|
|
|
|
${PREFIX}/share/msmtp/msmtpqueue
|
2008-10-19 16:35:01 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/set_sendmail/set_sendmail.sh \
|
2007-08-28 14:45:34 -04:00
|
|
|
${PREFIX}/share/examples/msmtp
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpqueue/*.sh \
|
|
|
|
${PREFIX}/share/examples/msmtp
|
2005-03-30 17:04:44 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|