aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gcal
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-27 20:58:20 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-27 20:58:20 +0000
commit06576dbdac1fb94eac216f08d894752b5d1693b2 (patch)
treeea555afdb0808c311f347f044777f85fcbae7719 /deskutils/gcal
parent02ba56950a2778a142c898f2b44ce44204e89b96 (diff)
downloadports-06576dbdac1fb94eac216f08d894752b5d1693b2.tar.gz
ports-06576dbdac1fb94eac216f08d894752b5d1693b2.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=300115
Diffstat (limited to 'deskutils/gcal')
-rw-r--r--deskutils/gcal/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/deskutils/gcal/Makefile b/deskutils/gcal/Makefile
index 2eebfa384cf1..7ba0d86bb4c1 100644
--- a/deskutils/gcal/Makefile
+++ b/deskutils/gcal/Makefile
@@ -22,12 +22,14 @@ CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INFO= gcal
#MAN1= gcal.1 gcal2txt.1 tcal.1 txt2gcal.1
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
GCAL_SCRIPTS= daily/daily ddiff/ddiff ddiff/ddiffdrv dst/dst gcalltx/gcalltx \