From 062ed8d36fcff34f0d3051dd7687377d27558a32 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 6 May 2013 10:22:41 +0000 Subject: Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS While here do some conversion to new options framework --- multimedia/linux-realplayer/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'multimedia/linux-realplayer') diff --git a/multimedia/linux-realplayer/Makefile b/multimedia/linux-realplayer/Makefile index 5eef0b29dc51..90e6c3934e0e 100644 --- a/multimedia/linux-realplayer/Makefile +++ b/multimedia/linux-realplayer/Makefile @@ -28,10 +28,12 @@ RADIR= ${PREFIX}/lib/RealPlayer PLUGINSDIR= ${PREFIX}/lib/linux-mozilla/plugins RABINDIR= ${PREFIX}/bin -.if defined(WITHOUT_NLS) -PLIST_SUB+= NLS="@comment " -.else +.include + +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" LINUXBASE="${LINUXBASE}" +.else +PLIST_SUB+= NLS="@comment " .endif .include @@ -84,7 +86,7 @@ do-install: ${LN} -sf $c.so.6.0 ${RADIR}/codecs/$c.so .endfor -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} @${MKDIR} ${RADIR}/share/locale ${CP} -Rp ${WRKSRC}/share/locale/* ${RADIR}/share/locale ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${RADIR}/share/locale -- cgit v1.2.3