From owner-svn-ports-head@FreeBSD.ORG Mon Dec 30 23:13:44 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF968510; Mon, 30 Dec 2013 23:13:44 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A193119B7; Mon, 30 Dec 2013 23:13:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUNDime072698; Mon, 30 Dec 2013 23:13:44 GMT (envelope-from db@svn.freebsd.org) Received: (from db@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBUNDiXK072696; Mon, 30 Dec 2013 23:13:44 GMT (envelope-from db@svn.freebsd.org) Message-Id: <201312302313.rBUNDiXK072696@svn.freebsd.org> From: Diane Bruce Date: Mon, 30 Dec 2013 23:13:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338195 - in head/textproc/cwtext: . 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-head@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 30 Dec 2013 23:13:44 -0000 Author: db Date: Mon Dec 30 23:13:43 2013 New Revision: 338195 URL: http://svnweb.freebsd.org/changeset/ports/338195 Log: - Enable staging Added: head/textproc/cwtext/files/patch-makefile (contents, props changed) Modified: head/textproc/cwtext/Makefile (contents, props changed) Modified: head/textproc/cwtext/Makefile ============================================================================== --- head/textproc/cwtext/Makefile Mon Dec 30 23:06:37 2013 (r338194) +++ head/textproc/cwtext/Makefile Mon Dec 30 23:13:43 2013 (r338195) @@ -14,16 +14,14 @@ USE_GMAKE= yes MAKEFILE= makefile ALL_TARGET= ALL -NO_STAGE= yes +LICENSE= GPLv2 + post-patch: - @${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX,g" \ - -e "s,gcc,${CC} ${CFLAGS},g" \ - -e "s,install -sc,${INSTALL_PROGRAM},g" ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e "s,%%STAGEDIR%%,${STAGEDIR},g" \ + ${WRKSRC}/makefile post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Added: head/textproc/cwtext/files/patch-makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/cwtext/files/patch-makefile Mon Dec 30 23:13:43 2013 (r338195) @@ -0,0 +1,18 @@ +--- makefile.orig 2004-12-16 07:15:22.000000000 -0500 ++++ makefile 2013-12-30 18:06:28.000000000 -0500 +@@ -1,11 +1,10 @@ +-PREFIX=/usr/local +- + ALL: cwtext cwpcm cwmm ++STAGEDIR=%%STAGEDIR%% + + install: ALL +- install -sc cwtext ${PREFIX}/bin +- install -sc cwpcm ${PREFIX}/bin +- install -sc cwmm ${PREFIX}/bin ++ install -s -o root -g wheel -m 555 cwtext ${STAGEDIR}${PREFIX}/bin ++ install -s -o root -g wheel -m 555 cwpcm ${STAGEDIR}${PREFIX}/bin ++ install -s -o root -g wheel -m 555 cwmm ${STAGEDIR}${PREFIX}/bin + + cwmm: cwmm.o morse.o + ${CC} ${CFLAGS} -o cwmm $^