From owner-svn-ports-all@freebsd.org Sat Dec 5 09:37:22 2015 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 26190A408DB; Sat, 5 Dec 2015 09:37:22 +0000 (UTC) (envelope-from amdmi3@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 E6D2B1E5F; Sat, 5 Dec 2015 09:37:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB59bLGK003881; Sat, 5 Dec 2015 09:37:21 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB59bLVv003880; Sat, 5 Dec 2015 09:37:21 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512050937.tB59bLVv003880@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 5 Dec 2015 09:37:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403042 - 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-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, 05 Dec 2015 09:37:22 -0000 Author: amdmi3 Date: Sat Dec 5 09:37:20 2015 New Revision: 403042 URL: https://svnweb.freebsd.org/changeset/ports/403042 Log: - Add LICENSE - Don't install empty and unneeded docs - Switch to options helpers Modified: head/chinese/reciteword/Makefile Modified: head/chinese/reciteword/Makefile ============================================================================== --- head/chinese/reciteword/Makefile Sat Dec 5 09:37:07 2015 (r403041) +++ head/chinese/reciteword/Makefile Sat Dec 5 09:37:20 2015 (r403042) @@ -14,6 +14,9 @@ DISTFILES= ${DISTNAME}.tar.bz2 \ MAINTAINER= ports@FreeBSD.org COMMENT= Education software to help people to study English +LICENSE= GPLv3 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libespeak.so:${PORTSDIR}/audio/espeak GNU_CONFIGURE= yes @@ -22,7 +25,9 @@ USE_GNOME= gtk20 intltool esound CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO readme.txt +PORTDOCS= AUTHORS ChangeLog INSTALL README readme.txt + +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' ${WRKSRC}/src/readword.cpp @@ -30,6 +35,8 @@ post-patch: post-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKDIR} && ${COPYTREE_SHARE} "books dicts" ${STAGEDIR}${DATADIR} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}