2007-09-15 20:17:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2007/09/16 00:17:05 merdely Exp $
|
2002-07-23 15:13:09 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= enhanced, MIME capable Berkeley Mail
|
2002-07-23 15:13:09 -04:00
|
|
|
|
2007-09-04 15:10:08 -04:00
|
|
|
V= 12.3
|
2006-04-26 11:37:24 -04:00
|
|
|
DISTNAME= mailx-${V}
|
|
|
|
PKGNAME= nail-${V}
|
2002-07-23 15:13:09 -04:00
|
|
|
CATEGORIES= mail
|
2006-04-26 11:37:24 -04:00
|
|
|
HOMEPAGE= http://heirloom.sourceforge.net/mailx.html
|
2002-07-23 15:13:09 -04:00
|
|
|
|
2004-08-11 13:01:48 -04:00
|
|
|
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
|
2002-07-23 15:13:09 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-01-02 07:56:04 -05:00
|
|
|
WANTLIB= c crypto ssl
|
2002-07-23 15:13:09 -04:00
|
|
|
|
2006-04-26 11:37:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=heirloom/}
|
2004-06-26 00:58:55 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-07-23 15:13:09 -04:00
|
|
|
|
2004-08-10 05:14:47 -04:00
|
|
|
MODULES= converters/libiconv
|
2002-07-23 15:13:09 -04:00
|
|
|
|
2006-04-26 11:37:24 -04:00
|
|
|
MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-07-23 15:13:09 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2004-10-06 12:17:28 -04:00
|
|
|
|
2006-04-26 11:37:24 -04:00
|
|
|
MAKE_FLAGS= SENDMAIL="/usr/sbin/sendmail" \
|
2002-07-23 15:13:09 -04:00
|
|
|
LIBS="-liconv"
|
|
|
|
|
2005-02-28 15:15:45 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-04-26 11:37:24 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mailx ${PREFIX}/bin/nail
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/mailx.1 ${PREFIX}/man/man1/nail.1
|
2002-07-23 15:13:09 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nail
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/share/examples/nail/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|