diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2012-06-15 09:55:17 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2012-06-15 09:55:17 +0000 |
commit | 11be97e555ca541e44ad4422fc5323fbf547332e (patch) | |
tree | 9d6e1c274d422254bf04761aa56182097844a557 /net/grsync | |
parent | f4b48ac11d937303643851ba2d2e2230a59ff8f0 (diff) |
Notes
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 |