From 06576dbdac1fb94eac216f08d894752b5d1693b2 Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Wed, 27 Jun 2012 20:58:20 +0000 Subject: Convert to new options framework --- deskutils/gcal/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'deskutils/gcal') 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 + +.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 \ -- cgit v1.2.3