2000-10-20 23:00:58 +00:00
|
|
|
# New ports collection makefile for: nail
|
2005-08-29 12:46:25 +00:00
|
|
|
# Date created: 20 October 2000
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
2000-10-20 23:00:58 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-11-05 17:55:55 +00:00
|
|
|
PORTNAME= mailx
|
2007-01-08 08:46:20 +00:00
|
|
|
PORTVERSION= 12.2
|
2006-12-20 12:30:25 +00:00
|
|
|
CATEGORIES= mail ipv6
|
2004-04-18 15:08:30 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2006-11-05 17:55:55 +00:00
|
|
|
MASTER_SITE_SUBDIR= heirloom
|
|
|
|
PKGNAMEPREFIX= ${MASTER_SITE_SUBDIR}-
|
2000-10-20 23:00:58 +00:00
|
|
|
|
2006-10-31 03:26:35 +00:00
|
|
|
MAINTAINER= ports@logvinov.com
|
2006-11-05 17:55:55 +00:00
|
|
|
COMMENT= BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME extensions
|
2000-10-20 23:00:58 +00:00
|
|
|
|
2004-03-20 02:01:39 +00:00
|
|
|
USE_BZIP2= yes
|
2004-03-20 17:24:35 +00:00
|
|
|
USE_ICONV= yes
|
2004-03-20 02:01:39 +00:00
|
|
|
USE_OPENSSL= yes
|
2004-07-03 15:41:16 +00:00
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" \
|
|
|
|
SYSCONFDIR="${PREFIX}/etc" \
|
2004-11-22 16:22:06 +00:00
|
|
|
SENDMAIL="/usr/sbin/sendmail" \
|
|
|
|
CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS}" \
|
|
|
|
IPv6="-DHAVE_IPv6_FUNCS"
|
2002-01-29 21:42:10 +00:00
|
|
|
|
2006-11-05 17:55:55 +00:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog README TODO
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
"@unexec if cmp -s %D/etc/nail.rc %D/etc/nail.rc.default; then ${RM} -f %D/etc/nail.rc; fi " \
|
2005-08-29 12:46:25 +00:00
|
|
|
"etc/nail.rc.default" \
|
2006-11-05 17:55:55 +00:00
|
|
|
"@exec [ -f %B/nail.rc ] || ${CP} %B/%f %B/nail.rc"
|
2000-10-20 23:00:58 +00:00
|
|
|
|
2004-11-22 16:22:06 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2004-03-20 17:24:35 +00:00
|
|
|
|
2004-07-03 15:41:16 +00:00
|
|
|
do-install:
|
2006-11-05 17:55:55 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
2005-08-29 12:46:25 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc/nail.rc.default
|
|
|
|
.if !exists(${PREFIX}/etc/nail.rc)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc
|
|
|
|
.endif
|
2006-11-05 17:55:55 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2004-07-03 15:41:16 +00:00
|
|
|
|
2000-10-20 23:00:58 +00:00
|
|
|
.include <bsd.port.mk>
|