42 lines
998 B
Makefile
42 lines
998 B
Makefile
# $OpenBSD: Makefile,v 1.22 2010/10/18 21:50:39 sthen Exp $
|
|
|
|
COMMENT= enhanced, MIME capable Berkeley Mail
|
|
|
|
V= 12.4
|
|
REVISION= 0
|
|
DISTNAME= mailx-${V}
|
|
PKGNAME= nail-${V}
|
|
CATEGORIES= mail
|
|
HOMEPAGE= http://heirloom.sourceforge.net/mailx.html
|
|
|
|
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto ssl
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=heirloom/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
MAKE_FLAGS= SENDMAIL="/usr/sbin/sendmail" \
|
|
LIBS="-liconv"
|
|
USE_GROFF = Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mailx ${PREFIX}/bin/nail
|
|
${INSTALL_MAN} ${WRKSRC}/mailx.1 ${PREFIX}/man/man1/nail.1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nail
|
|
${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/share/examples/nail/
|
|
|
|
.include <bsd.port.mk>
|