From owner-svn-ports-head@FreeBSD.ORG Fri Aug 1 21:47:42 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2EC7FB8A; Fri, 1 Aug 2014 21:47:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 0F21E2B46; Fri, 1 Aug 2014 21:47:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s71Llf7S029342; Fri, 1 Aug 2014 21:47:41 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s71LlfcH029339; Fri, 1 Aug 2014 21:47:41 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201408012147.s71LlfcH029339@svn.freebsd.org> From: Antoine Brodin Date: Fri, 1 Aug 2014 21:47:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363765 - head/editors/wordgrinder X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 21:47:42 -0000 Author: antoine Date: Fri Aug 1 21:47:41 2014 New Revision: 363765 URL: http://svnweb.freebsd.org/changeset/ports/363765 QAT: https://qat.redports.org/buildarchive/r363765/ Log: - Update to 0.5.1 - Stage support PR: ports/190514 Submitted by: maintainer Modified: head/editors/wordgrinder/Makefile head/editors/wordgrinder/distinfo Modified: head/editors/wordgrinder/Makefile ============================================================================== --- head/editors/wordgrinder/Makefile Fri Aug 1 21:09:00 2014 (r363764) +++ head/editors/wordgrinder/Makefile Fri Aug 1 21:47:41 2014 (r363765) @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= wordgrinder -PORTVERSION= 0.3.3 +PORTVERSION= 0.5.1 CATEGORIES= editors -MASTER_SITES= SF +MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= vmagerya@gmail.com COMMENT= Simple Unicode-aware console-based word processor @@ -13,35 +13,31 @@ LICENSE= MIT RUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem -USES= lua:51 tar:bzip2 - -MAN1= wordgrinder.1 +USES= lua:52 tar:bzip2 gmake PLIST_DIRS= share/doc/wordgrinder -PLIST_FILES= bin/wordgrinder share/doc/wordgrinder/README.wg +PLIST_FILES= bin/wordgrinder \ + share/doc/wordgrinder/README.wg \ + man/man1/wordgrinder.1.gz -NO_STAGE= yes post-patch: - ${REINPLACE_CMD} -e 's,^PREFIX =.*$$,PREFIX = "${PREFIX}",' \ - -e 's,/usr/include/lua5.1,${LUA_INCDIR},' \ - -e 's,command = "lua ,command = "${LUA_CMD} ,' \ - -e '/curses_exe =/s,$$,\ - CLINKFLAGS = {PARENT\, "-L${LUA_LIBDIR}"}\,,' \ - -e 's,lua5.1,lua,' \ - -e 's,install -D,install,' \ - ${WRKSRC}/pmfile - ${REINPLACE_CMD} 's,^LUACOMPILER =.*$$,LUACOMPILER = "${LUAC_CMD}",' \ - ${WRKSRC}/tools/lua.pm - ${REINPLACE_CMD} "/CCOMPILER = /s,gcc,cc ," ${WRKSRC}/tools/c.pm - ${REINPLACE_CMD} "/CC=/s,gcc,cc ," ${WRKSRC}/pm - -do-build: - (cd ${WRKSRC}; ./pm) - -do-install: - ${MKDIR} ${PREFIX}/bin ${PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/share/doc/wordgrinder - (cd ${WRKSRC}; ./pm install) - ${STRIP_CMD} ${PREFIX}/bin/wordgrinder + ${REINPLACE_CMD} \ + -e '/hide = /s/@//' \ + -e '/cc := gcc/s|gcc|${CC}|' \ + -e '/INCLUDES := /s|= .*|= -I${LUA_INCDIR}|' \ + -e '/ldflags := /s|=|= -L${LUA_LIBDIR}|' \ + -e 's|-llua5.2|-llua-${LUA_VER}|' \ + -e 's|@lua|${LUA_CMD}|' \ + -e '/PREFIX = /d' \ + -e '/install /s|$$(PRE|$$(DESTDIR)$$(PRE|' \ + -e '/install /s|-D||' \ + -e '/install /s|share/man/man1|man/man1|' \ + ${WRKSRC}/Makefile + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/wordgrinder + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wordgrinder .include Modified: head/editors/wordgrinder/distinfo ============================================================================== --- head/editors/wordgrinder/distinfo Fri Aug 1 21:09:00 2014 (r363764) +++ head/editors/wordgrinder/distinfo Fri Aug 1 21:47:41 2014 (r363765) @@ -1,2 +1,2 @@ -SHA256 (wordgrinder-0.3.3.tar.bz2) = 999781e169eda05d64b5df6034e0ab1d98f768a936218979754f754ca6eeb339 -SIZE (wordgrinder-0.3.3.tar.bz2) = 680918 +SHA256 (wordgrinder-0.5.1.tar.bz2) = 387cf4e8fc5f188c821cd77c782e1256ddb7c27987a682e1526143dc582d3677 +SIZE (wordgrinder-0.5.1.tar.bz2) = 652378