diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-02-20 20:11:08 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-02-20 20:11:08 +0000 |
commit | 72eda7b693c19108090f5d246b72ed46ec58cbe8 (patch) | |
tree | 07e7d7da6a70dd7eed88369eb9254b1cb9497236 /mail/heirloom-mailx | |
parent | - Update to 1.2.12 (diff) |
Convert to new options framework
Notes
Notes:
svn path=/head/; revision=312658
Diffstat (limited to 'mail/heirloom-mailx')
-rw-r--r-- | mail/heirloom-mailx/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/mail/heirloom-mailx/Makefile b/mail/heirloom-mailx/Makefile index 36efc8c3b6f5..f9affc100dfe 100644 --- a/mail/heirloom-mailx/Makefile +++ b/mail/heirloom-mailx/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: nail -# Date created: 20 October 2000 -# Whom: Kris Kennaway <kris@FreeBSD.org> -# +# Created by: Kris Kennaway <kris@FreeBSD.org> # $FreeBSD$ -# PORTNAME= mailx PORTVERSION= 12.4 @@ -15,7 +11,7 @@ PKGNAMEPREFIX= heirloom- MAINTAINER= ports@FreeBSD.org COMMENT= BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME extensions -OPTIONS= IPV6 "Enable IPv6 Support" On +OPTIONS_DEFINE= IPV6 DOCS CONFLICTS= mailx-[0-9]* @@ -40,9 +36,9 @@ PLIST_FILES= bin/${PORTNAME} \ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_IPV6) +.if ${PORT_OPTIONS:MIPV6} MAKE_ARGS+= IPv6="-DHAVE_IPv6_FUNCS" .endif @@ -53,11 +49,11 @@ do-install: .if !exists(${PREFIX}/etc/nail.rc) ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |