Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 11:11:16 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r300939 - in head/textproc/bsdsort: . files
Message-ID:  <201207161111.q6GBBGeQ034706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gabor
Date: Mon Jul 16 11:11:15 2012
New Revision: 300939
URL: http://svn.freebsd.org/changeset/ports/300939

Log:
  - Update to 20120716
  
  Note for -CURRENT users: BSD sort is already the default in recent -CURRENT
  but with threading disabled. You can easily try threaded BSD sort by
  installing this port.

Deleted:
  head/textproc/bsdsort/files/
Modified:
  head/textproc/bsdsort/Makefile
  head/textproc/bsdsort/distinfo

Modified: head/textproc/bsdsort/Makefile
==============================================================================
--- head/textproc/bsdsort/Makefile	Mon Jul 16 10:47:28 2012	(r300938)
+++ head/textproc/bsdsort/Makefile	Mon Jul 16 11:11:15 2012	(r300939)
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	sort
-PORTVERSION=	20120508
-PORTREVISION=	1
+PORTVERSION=	20120716
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	gabor
@@ -25,28 +24,29 @@ MAN1=		sort.1
 MAKE_ENV+=	BINDIR="${PREFIX}/bin" \
 		MANDIR="${MANPREFIX}/man/man" \
 		CATDIR="${MANPREFIX}/man/man" \
-		NLSDIR="${PREFIX}/share/nls"
+		NLSDIR="${PREFIX}/share/nls" \
+		MK_GNU_SORT="no"
 
 CFLAGS+=	-std=c99
 
-OPTIONS=	THREADS		"Compile with threads support"	on \
-		NLS		"Compile with NLS support"	on \
-		OVERWRITE_BASE	"Replaces base GNU sort"	off
+OPTIONS_DEFINE=		THREADS NLS OVERWRITE_BASE
+OVERWRITE_BASE_DESC=	"Replaces base GNU sort"
+OPTIONS_DEFAULT=	THREADS NLS
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
+PLIST_SUB+=	NLS=""
+.else
 MAKE_ENV+=	WITHOUT_NLS=yes
 PLIST_SUB+=	NLS="@comment "
-.else
-PLIST_SUB+=	NLS=""
 .endif
 
-.if defined(WITHOUT_THREADS)
-MAKE_ENV+=	WITHOUT_THREADS=yes
+.if ${PORT_OPTIONS:MTHREADS}
+MAKE_ENV+=	WITH_THREADS=yes
 .endif
 
-.if defined(WITH_OVERWRITE_BASE)
+.if ${PORT_OPTIONS:MOVERWRITE_BASE}
 PREFIX=		/usr
 PLIST_SUB+=	OVERWRITE_BASE="" NO_OVERWRITE_BASE="@comment "
 .else

Modified: head/textproc/bsdsort/distinfo
==============================================================================
--- head/textproc/bsdsort/distinfo	Mon Jul 16 10:47:28 2012	(r300938)
+++ head/textproc/bsdsort/distinfo	Mon Jul 16 11:11:15 2012	(r300939)
@@ -1,2 +1,2 @@
-SHA256 (sort-20120508.tar.gz) = df0f9a7a776cccbc224b85fdf484de4babc7793b67a74df19ab3a9b156340522
-SIZE (sort-20120508.tar.gz) = 51759
+SHA256 (sort-20120716.tar.gz) = a30c577b78730f6acf2fe6aed154dbe906fc6834998c8f67c9b7e30fb10755a4
+SIZE (sort-20120716.tar.gz) = 40754



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