diff options
author | Johan van Selst <johans@FreeBSD.org> | 2012-06-27 20:58:20 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2012-06-27 20:58:20 +0000 |
commit | 06576dbdac1fb94eac216f08d894752b5d1693b2 (patch) | |
tree | ea555afdb0808c311f347f044777f85fcbae7719 /deskutils/gcal | |
parent | - Update to 2.3.52. (diff) |
Convert to new options framework
Diffstat (limited to 'deskutils/gcal')
-rw-r--r-- | deskutils/gcal/Makefile | 10 |
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 \ |