Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 08:28:31 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313861 - head/print/lilypond
Message-ID:  <201303110828.r2B8SVZ4054491@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Mar 11 08:28:30 2013
New Revision: 313861
URL: http://svnweb.freebsd.org/changeset/ports/313861

Log:
  - Convert to OPTIONSng

Modified:
  head/print/lilypond/Makefile

Modified: head/print/lilypond/Makefile
==============================================================================
--- head/print/lilypond/Makefile	Mon Mar 11 08:27:24 2013	(r313860)
+++ head/print/lilypond/Makefile	Mon Mar 11 08:28:30 2013	(r313861)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303110828.r2B8SVZ4054491>