diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-03-11 08:28:30 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-03-11 08:28:30 +0000 |
commit | 37511bb87cfe202b46b7178a95201d9e09a2bd10 (patch) | |
tree | 18233917b69c50dcaa3bfd8c5f2c0665c22a44fc /print/lilypond/Makefile | |
parent | b32b0202174391b251fc207dbae65df53b191b6d (diff) | |
download | ports-37511bb87cfe202b46b7178a95201d9e09a2bd10.tar.gz ports-37511bb87cfe202b46b7178a95201d9e09a2bd10.zip |
Notes
Diffstat (limited to 'print/lilypond/Makefile')
-rw-r--r-- | print/lilypond/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index 97c0f677b4a6..09e97ce050e9 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -66,18 +66,19 @@ NOCCACHE= yes PLIST_SUB= PORTVERSION=${PORTVERSION} .include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_NLS) -PLIST_SUB+= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh -.if defined(WITHOUT_NLS) - ${REINPLACE_CMD} -e '/^PO_FILES/s|= |= #|' ${WRKSRC}/${MAKEFILE} +.if empty(${PORT_OPTIONS:MNLS}) + ${REINPLACE_CMD} -e '/^PO_FILES/s|= |= #|' ${WRKSRC}/${MAKEFILE}.in .endif post-install: |