Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 07:59:11 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341692 - head/devel/m17n-db
Message-ID:  <201401290759.s0T7xBIT025991@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jan 29 07:59:11 2014
New Revision: 341692
URL: http://svnweb.freebsd.org/changeset/ports/341692
QAT: https://qat.redports.org/buildarchive/r341692/

Log:
  Support stage
  Add a NLS option
  use options helpers

Modified:
  head/devel/m17n-db/Makefile

Modified: head/devel/m17n-db/Makefile
==============================================================================
--- head/devel/m17n-db/Makefile	Wed Jan 29 07:59:00 2014	(r341691)
+++ head/devel/m17n-db/Makefile	Wed Jan 29 07:59:11 2014	(r341692)
@@ -15,20 +15,15 @@ EXTRACT_ONLY=	${M17N_DISTFILE}
 MAINTAINER=	nikola.lecic@anthesphoria.net
 COMMENT=	Data files for the m17n library
 
-USES=		gmake pkgconfig
+OPTIONS_DEFINE=	NLS
+
+USES=		gmake pathfix pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-charmaps=${CHARMAPSDIR}
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 M17N_DISTFILE=	${DISTNAME}${EXTRACT_SUFX}
 GLIBC_VERSION=	2.3.6



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