diff options
author | martymac <martymac@FreeBSD.org> | 2012-06-15 17:55:17 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2012-06-15 17:55:17 +0800 |
commit | cb9693ae6299753b3c7ada8d546db29d1d5ea472 (patch) | |
tree | 3bf7f7f1e58c70fc87188e4544bc1778ca2bc52f /net/grsync | |
parent | 4a3ab1a91e3842063e12e223da4b24223c16e71d (diff) | |
download | freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.tar.gz freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.tar.zst freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.zip |
Switch to OptionsNg
Diffstat (limited to 'net/grsync')
-rw-r--r-- | net/grsync/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/grsync/Makefile b/net/grsync/Makefile index d2b360997e12..d5d8207b4113 100644 --- a/net/grsync/Makefile +++ b/net/grsync/Makefile @@ -30,19 +30,21 @@ INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if !defined(WITHOUT_NLS) +MAN1= grsync.1 grsync-batch.1 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif -MAN1= grsync.1 grsync-batch.1 - post-patch: @${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${WRKSRC}/src/grsync-batch -.if defined(WITHOUT_NLS) +.if empty(PORT_OPTIONS:MNLS) @${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \ ${WRKSRC}/configure .endif |