Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 16:00:25 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338016 - head/lang/gawk
Message-ID:  <201312291600.rBTG0Pef001218@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sun Dec 29 16:00:25 2013
New Revision: 338016
URL: http://svnweb.freebsd.org/changeset/ports/338016

Log:
  - Enable STAGE support
  - Simplify options handling

Modified:
  head/lang/gawk/Makefile
  head/lang/gawk/pkg-plist

Modified: head/lang/gawk/Makefile
==============================================================================
--- head/lang/gawk/Makefile	Sun Dec 29 15:58:55 2013	(r338015)
+++ head/lang/gawk/Makefile	Sun Dec 29 16:00:25 2013	(r338016)
@@ -9,10 +9,15 @@ MASTER_SITES=	GNU
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	The GNU version of Awk
 
-LIB_DEPENDS=	sigsegv:${PORTSDIR}/devel/libsigsegv
+LIB_DEPENDS=	libsigsegv.so:${PORTSDIR}/devel/libsigsegv
 
-OPTIONS_DEFINE=	MPFR
-MPFR_DESC?=	Support multiple-precision floating-point computation
+OPTIONS_DEFINE=		NLS MPFR
+OPTIONS_SUB=		yes
+NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
+MPFR_DESC?=		Support multiple-precision floating-point computation
+MPFR_LIB_DEPENDS=	libmpfr.so:${PORTSDIR}/math/mpfr
+MPFR_CONFIGURE_OFF=	--without-gmp --without-mpfr
 
 INFO=		gawk gawkinet
 
@@ -23,28 +28,7 @@ CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} \
 		--with-libintl-prefix=${LOCALBASE} \
 		AWK=${AWK}
 
-MAN1=		gawk.1 igawk.1
-MAN3=		filefuncs.3am fnmatch.3am fork.3am ordchr.3am readdir.3am \
-		readfile.3am revoutput.3am revtwoway.3am rwarray.3am time.3am
-
-PLIST_SUB=	VERSION=${PORTVERSION}
-
-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
-
-.if ${PORT_OPTIONS:MMPFR}
-LIB_DEPENDS=	mpfr:${PORTSDIR}/math/mpfr
-.else
-CONFIGURE_ARGS+=--without-gmp --without-mpfr
-.endif
+PLIST_SUB+=	VERSION=${PORTVERSION}
 
 post-patch:
 	@${RM} -f ${WRKSRC}/doc/*.info

Modified: head/lang/gawk/pkg-plist
==============================================================================
--- head/lang/gawk/pkg-plist	Sun Dec 29 15:58:55 2013	(r338015)
+++ head/lang/gawk/pkg-plist	Sun Dec 29 16:00:25 2013	(r338016)
@@ -28,6 +28,18 @@ lib/gawk/time.so
 lib/gawk/time.la
 libexec/awk/grcat
 libexec/awk/pwcat
+man/man1/gawk.1.gz
+man/man1/igawk.1.gz
+man/man3/filefuncs.3am.gz
+man/man3/fnmatch.3am.gz
+man/man3/fork.3am.gz
+man/man3/ordchr.3am.gz
+man/man3/readdir.3am.gz
+man/man3/readfile.3am.gz
+man/man3/revoutput.3am.gz
+man/man3/revtwoway.3am.gz
+man/man3/rwarray.3am.gz
+man/man3/time.3am.gz
 share/awk/assert.awk
 share/awk/bits2str.awk
 share/awk/cliff_rand.awk



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