From owner-svn-ports-head@FreeBSD.ORG Mon Jan 20 21:17:57 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 BECDBA95; Mon, 20 Jan 2014 21:17:57 +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 AAA581C82; Mon, 20 Jan 2014 21:17:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0KLHvkQ077901; Mon, 20 Jan 2014 21:17:57 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0KLHvnm077899; Mon, 20 Jan 2014 21:17:57 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401202117.s0KLHvnm077899@svn.freebsd.org> From: Antoine Brodin Date: Mon, 20 Jan 2014 21:17:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340480 - head/chinese/reciteword 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, 20 Jan 2014 21:17:57 -0000 Author: antoine Date: Mon Jan 20 21:17:57 2014 New Revision: 340480 URL: http://svnweb.freebsd.org/changeset/ports/340480 QAT: https://qat.redports.org/buildarchive/r340480/ Log: Stage support Modified: head/chinese/reciteword/Makefile Modified: head/chinese/reciteword/Makefile ============================================================================== --- head/chinese/reciteword/Makefile Mon Jan 20 21:06:55 2014 (r340479) +++ head/chinese/reciteword/Makefile Mon Jan 20 21:17:57 2014 (r340480) @@ -14,6 +14,8 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.ta MAINTAINER= ports@FreeBSD.org COMMENT= Education software to help people to study English +LIB_DEPENDS= libespeak.so:${PORTSDIR}/audio/espeak + GNU_CONFIGURE= yes CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" USE_BZIP2= yes @@ -23,24 +25,13 @@ CPPFLAGS+= "-I${LOCALBASE}/include" PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO readme.txt -XTRACT_AFTER_ARGS+= --exclude CVS - -NO_STAGE= yes -.include - -LIB_DEPENDS+= libespeak.so:${PORTSDIR}/audio/espeak - post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' ${WRKSRC}/src/readword.cpp post-install: - @${MKDIR} ${DATADIR} - (cd ${WRKDIR}/ && ${COPYTREE_SHARE} "books dicts" ${DATADIR}) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for doc in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKDIR} && ${COPYTREE_SHARE} "books dicts" ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include