From owner-svn-ports-all@freebsd.org Sat Feb 6 18:09:53 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D51CAA0DFC; Sat, 6 Feb 2016 18:09:53 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8F22EE9; Sat, 6 Feb 2016 18:09:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u16I9pvH028301; Sat, 6 Feb 2016 18:09:51 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u16I9pWJ028294; Sat, 6 Feb 2016 18:09:51 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201602061809.u16I9pWJ028294@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 6 Feb 2016 18:09:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408308 - in head/textproc: . miller miller/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 18:09:53 -0000 Author: pi Date: Sat Feb 6 18:09:51 2016 New Revision: 408308 URL: https://svnweb.freebsd.org/changeset/ports/408308 Log: New port: textproc/miller Miller is like sed, awk, cut, join, and sort for name-indexed data such as CSV. With Miller you get to use named fields without needing to count positional indices. WWW: http://johnkerl.org/miller/doc/ PR: 206785 Requested by: jungleboogie0@gmail.com Added: head/textproc/miller/ head/textproc/miller/Makefile (contents, props changed) head/textproc/miller/distinfo (contents, props changed) head/textproc/miller/files/ head/textproc/miller/files/extra-patch-c_Makefile (contents, props changed) head/textproc/miller/files/extra-patch-libtool (contents, props changed) head/textproc/miller/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Feb 6 17:55:52 2016 (r408307) +++ head/textproc/Makefile Sat Feb 6 18:09:51 2016 (r408308) @@ -471,6 +471,7 @@ SUBDIR += mguesser SUBDIR += mi-aspell SUBDIR += mifluz + SUBDIR += miller SUBDIR += minised SUBDIR += mk-aspell SUBDIR += mkcatalog Added: head/textproc/miller/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/miller/Makefile Sat Feb 6 18:09:51 2016 (r408308) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= miller +PORTVERSION= 3.3.2 +DISTVERSIONPREFIX=v +CATEGORIES= textproc + +MAINTAINER= jungleboogie0+mlr@gmail.com +COMMENT= Sed/awk/cut/join/sort for name-indexed data such as CSV + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= autoreconf libtool +USE_GITHUB= yes +GH_ACCOUNT= johnkerl +GNU_CONFIGURE= yes + +PLIST_FILES= bin/mlr man/man1/mlr.1.gz + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex +.endif + +post-configure: + ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch-c_Makefile + ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch-libtool +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 + ${REINPLACE_CMD} -e 's|flex|${LOCALBASE}/bin/flex|' \ + ${WRKSRC}/c/dsls/Makefile +.endif + +.include Added: head/textproc/miller/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/miller/distinfo Sat Feb 6 18:09:51 2016 (r408308) @@ -0,0 +1,2 @@ +SHA256 (johnkerl-miller-v3.3.2_GH0.tar.gz) = 77cbec3f41b60361ce1c7b6dd7fa4d253c7ba169db270565862f523ca965eb96 +SIZE (johnkerl-miller-v3.3.2_GH0.tar.gz) = 3205282 Added: head/textproc/miller/files/extra-patch-c_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/miller/files/extra-patch-c_Makefile Sat Feb 6 18:09:51 2016 (r408308) @@ -0,0 +1,30 @@ +--- c/Makefile.orig 2016-01-31 11:19:35 UTC ++++ c/Makefile +@@ -370,7 +370,7 @@ mlr_LDADD = \ + lib/libmlr.la \ + dsls/libfdsl.la \ + dsls/libpdsl.la \ +- -lm ++ -lm -lc + + + # Other executable variants +@@ -483,15 +483,15 @@ clean-noinstPROGRAMS: + + mlr$(EXEEXT): $(mlr_OBJECTS) $(mlr_DEPENDENCIES) $(EXTRA_mlr_DEPENDENCIES) + @rm -f mlr$(EXEEXT) +- $(AM_V_CCLD)$(LINK) $(mlr_OBJECTS) $(mlr_LDADD) $(LIBS) ++ $(AM_V_CCLD)$(LINK) $(mlr_OBJECTS) $(mlr_LDADD) $(LIBS) -lc + + mlrg$(EXEEXT): $(mlrg_OBJECTS) $(mlrg_DEPENDENCIES) $(EXTRA_mlrg_DEPENDENCIES) + @rm -f mlrg$(EXEEXT) +- $(AM_V_CCLD)$(mlrg_LINK) $(mlrg_OBJECTS) $(mlrg_LDADD) $(LIBS) ++ $(AM_V_CCLD)$(mlrg_LINK) $(mlrg_OBJECTS) $(mlrg_LDADD) $(LIBS) -lc + + mlrp$(EXEEXT): $(mlrp_OBJECTS) $(mlrp_DEPENDENCIES) $(EXTRA_mlrp_DEPENDENCIES) + @rm -f mlrp$(EXEEXT) +- $(AM_V_CCLD)$(mlrp_LINK) $(mlrp_OBJECTS) $(mlrp_LDADD) $(LIBS) ++ $(AM_V_CCLD)$(mlrp_LINK) $(mlrp_OBJECTS) $(mlrp_LDADD) $(LIBS) -lc + + mostlyclean-compile: + -rm -f *.$(OBJEXT) Added: head/textproc/miller/files/extra-patch-libtool ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/miller/files/extra-patch-libtool Sat Feb 6 18:09:51 2016 (r408308) @@ -0,0 +1,13 @@ +--- libtool.orig 2016-01-31 11:54:21 UTC ++++ libtool +@@ -7514,10 +7514,6 @@ func_mode_link () + # These systems don't actually have a C library (as such) + test X-lc = "X$arg" && continue + ;; +- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) +- # Do not include libc due to us having libc/libc_r. +- test X-lc = "X$arg" && continue +- ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" Added: head/textproc/miller/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/miller/pkg-descr Sat Feb 6 18:09:51 2016 (r408308) @@ -0,0 +1,7 @@ +Miller is like sed, awk, cut, join, and sort for name-indexed data such +as CSV. + +With Miller you get to use named fields without needing to count +positional indices. + +WWW: http://johnkerl.org/miller/doc/