openbsd-ports/mail/s-nail/Makefile
william 2a128cb094 Import s-nail-14.2.
S-nail is a fork of Heirloom mailx, formerly known as nail.  It is a mail user
agent derived from Berkeley Mail 8.1 and is intended to provide the
functionality of the POSIX.2 mailx command with additional support for MIME
messages, Maildir, POP3, IMAP, SMTP, threading, spam control, and other
features.

ok sthen@
2013-03-29 03:54:33 +00:00

34 lines
888 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/03/29 03:54:33 william Exp $
COMMENT= enhanced, MIME capable Berkeley Mail
DISTNAME= s-nail-14.2
DISTFILES= ${DISTNAME:S/./_/}.tar.gz
CATEGORIES= mail
HOMEPAGE= http://sdaoden.users.sourceforge.net/code.html#s-nail
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto gssapi idn krb5 ssl
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=s-nail/}
MAINTAINER= William Yodlowsky <william@openbsd.org>
MODULES= devel/gettext
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
SYSCONFDIR=${SYSCONFDIR} \
CONFIG=CUSTOM
LIB_DEPENDS= devel/libidn
NO_TEST= Yes
post-install:
ln -sf ${TRUEPREFIX}/bin/s-nail ${PREFIX}/bin/nail
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/s-nail
mv ${DESTDIR}${SYSCONFDIR}/s-nail.rc ${PREFIX}/share/examples/s-nail
.include <bsd.port.mk>