diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-04 22:17:16 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-04 22:17:16 +0800 |
commit | 2f969602cdd81b84a7db02fd82faaba4fadd9219 (patch) | |
tree | 7dba36c225aac6f8d19105a19031239a7c827b63 /mail/kcheckgmail | |
parent | 8c61a1cea4408150702172ebdcd290015ffa5311 (diff) | |
download | freebsd-ports-gnome-2f969602cdd81b84a7db02fd82faaba4fadd9219.tar.gz freebsd-ports-gnome-2f969602cdd81b84a7db02fd82faaba4fadd9219.tar.zst freebsd-ports-gnome-2f969602cdd81b84a7db02fd82faaba4fadd9219.zip |
WITHOUT_NLS -> PORT_OPTIONS:MNLS
NOPORTDOCS -> PORT_OPTIONS:MDOCS
New options framework
Diffstat (limited to 'mail/kcheckgmail')
-rw-r--r-- | mail/kcheckgmail/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/kcheckgmail/Makefile b/mail/kcheckgmail/Makefile index ab424c9bdb89..1db37ccfba11 100644 --- a/mail/kcheckgmail/Makefile +++ b/mail/kcheckgmail/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: kcheckgmail -# Date created: 17 June 2007 -# Whom: YUAN Jue <yuanjue@FreeBSD.org> -# +# Created by: YUAN Jue <yuanjue@FreeBSD.org> # $FreeBSD$ PORTNAME= kcheckgmail @@ -21,7 +18,9 @@ USE_GMAKE= yes USE_AUTOTOOLS= libtool USE_KDELIBS_VER=3 -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -34,7 +33,7 @@ DOCSDIR= ${PREFIX}/share/doc/HTML/en/${PORTNAME} MAN1= kcheckgmail.1 post-patch: -.if defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/subdirs .endif |