From owner-svn-ports-all@freebsd.org Sat Dec 17 12:57:09 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 D7613C8450B; Sat, 17 Dec 2016 12:57:09 +0000 (UTC) (envelope-from sunpoet@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 B1AA41962; Sat, 17 Dec 2016 12:57:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBHCv8Ln077801; Sat, 17 Dec 2016 12:57:08 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBHCv8HL077796; Sat, 17 Dec 2016 12:57:08 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612171257.uBHCv8HL077796@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 17 Dec 2016 12:57:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428733 - in head/devel/m4: . 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.23 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, 17 Dec 2016 12:57:10 -0000 Author: sunpoet Date: Sat Dec 17 12:57:08 2016 New Revision: 428733 URL: https://svnweb.freebsd.org/changeset/ports/428733 Log: - Add LICENSE - Use xz-compressed tarball - Use PORTEXAMPLES - Convert to options target helper - Use REINPLACE_CMD instead of patch files - Update pkg-descr - Update WWW: use https:// - Cosmetic change Deleted: head/devel/m4/files/ Modified: head/devel/m4/Makefile head/devel/m4/distinfo head/devel/m4/pkg-descr head/devel/m4/pkg-plist Modified: head/devel/m4/Makefile ============================================================================== --- head/devel/m4/Makefile Sat Dec 17 12:57:03 2016 (r428732) +++ head/devel/m4/Makefile Sat Dec 17 12:57:08 2016 (r428733) @@ -9,26 +9,33 @@ CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= sunpoet@FreeBSD.org -COMMENT= GNU m4 +COMMENT= GNU M4 + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +OPTIONS_DEFINE= LIBSIGSEGV EXAMPLES +LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv) -USES= makeinfo tar:bzip2 -GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" +GNU_CONFIGURE= yes +USES= makeinfo tar:xz -INFO= m4 - -EXAMPLESDIR= share/examples/gm4 +EXAMPLESDIR= ${PREFIX}/share/examples/gm4 +INFO= m4 +PORTEXAMPLES= * -OPTIONS_DEFINE= LIBSIGSEGV EXAMPLES -LIBSIGSEGV_DESC= Use alternative page fault handler (GNU libsigsegv) -LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:devel/libsigsegv -LIBSIGSEGV_CONFIGURE_ON= --with-libsigsegv-prefix=${LOCALBASE} LIBSIGSEGV_CONFIGURE_OFF= --without-libsigsegv-prefix +LIBSIGSEGV_CONFIGURE_ON= --with-libsigsegv-prefix=${LOCALBASE} +LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:devel/libsigsegv -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 \ - ${STAGEDIR}${PREFIX}/${EXAMPLESDIR} +post-patch: + @${REINPLACE_CMD} -e '/^* M4: / s|M4|G&|' ${WRKSRC}/doc/m4.texi + @${REINPLACE_CMD} -e '/^install-exec-am: / s| .*||' ${WRKSRC}/lib/Makefile.in + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${STAGEDIR}${EXAMPLESDIR}/ .include Modified: head/devel/m4/distinfo ============================================================================== --- head/devel/m4/distinfo Sat Dec 17 12:57:03 2016 (r428732) +++ head/devel/m4/distinfo Sat Dec 17 12:57:08 2016 (r428733) @@ -1,2 +1,3 @@ -SHA256 (m4-1.4.17.tar.bz2) = 8e4e1f963932136ed45dcd5afb0c6e237e96a6fcdcd2a2fa6755040859500d70 -SIZE (m4-1.4.17.tar.bz2) = 1438525 +TIMESTAMP = 1481787624 +SHA256 (m4-1.4.17.tar.xz) = f0543c3beb51fa6b3337d8025331591e0e18d8ec2886ed391f1aade43477d508 +SIZE (m4-1.4.17.tar.xz) = 1149088 Modified: head/devel/m4/pkg-descr ============================================================================== --- head/devel/m4/pkg-descr Sat Dec 17 12:57:03 2016 (r428732) +++ head/devel/m4/pkg-descr Sat Dec 17 12:57:08 2016 (r428733) @@ -1,7 +1,15 @@ - GNU `m4' is an implementation of the traditional UNIX macro -processor. It is mostly SVR4 compatible, although it has some -extensions (for example, handling more than 9 positional parameters to -macros). `m4' also has builtin functions for including files, running -shell commands, doing arithmetic, etc. +GNU M4 is an implementation of the traditional Unix macro processor. It is +mostly SVR4 compatible although it has some extensions (for example, handling +more than 9 positional parameters to macros). GNU M4 also has built-in functions +for including files, running shell commands, doing arithmetic, etc. -WWW: http://www.gnu.org/software/m4/m4.html +GNU M4 is a macro processor in the sense that it copies its input to the output +expanding macros as it goes. Macros are either builtin or user-defined and can +take any number of arguments. Besides just doing macro expansion, m4 has builtin +functions for including named files, running UNIX commands, doing integer +arithmetic, manipulating text in various ways, recursion etc... m4 can be used +either as a front-end to a compiler or as a macro processor in its own right. + +One of the biggest users of GNU M4 is the GNU Autoconf project. + +WWW: https://www.gnu.org/software/m4/m4.html Modified: head/devel/m4/pkg-plist ============================================================================== --- head/devel/m4/pkg-plist Sat Dec 17 12:57:03 2016 (r428732) +++ head/devel/m4/pkg-plist Sat Dec 17 12:57:08 2016 (r428733) @@ -1,46 +1,2 @@ bin/gm4 man/man1/gm4.1.gz -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize2.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comments.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/curry.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ddivert.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/debug.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/esyscmd.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exp.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/foreach.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/foreach2.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/foreachq.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/foreachq2.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/foreachq3.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/foreachq4.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/forloop.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/forloop2.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/forloop3.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fstab.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hanoi.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incl-test.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/incl.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/include.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/indir.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/join.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loop.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/misc.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multiquotes.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/patsubst.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pushpop.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quote.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regexp.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reverse.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stack.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stack_sep.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sync-lines.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sysv-args.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/trace.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/translit.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/undivert.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrap.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrapfifo.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wraplifo.m4 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wraplifo2.m4