From owner-svn-ports-head@FreeBSD.ORG Mon Jan 20 21:06:56 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 2A2A884D; Mon, 20 Jan 2014 21:06:56 +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 EFB651AB5; Mon, 20 Jan 2014 21:06:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0KL6tfw073725; Mon, 20 Jan 2014 21:06:55 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0KL6tfh073724; Mon, 20 Jan 2014 21:06:55 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401202106.s0KL6tfh073724@svn.freebsd.org> From: Antoine Brodin Date: Mon, 20 Jan 2014 21:06:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340479 - head/chinese/bg5ps 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:06:56 -0000 Author: antoine Date: Mon Jan 20 21:06:55 2014 New Revision: 340479 URL: http://svnweb.freebsd.org/changeset/ports/340479 QAT: https://qat.redports.org/buildarchive/r340479/ Log: Stage support Modified: head/chinese/bg5ps/Makefile Modified: head/chinese/bg5ps/Makefile ============================================================================== --- head/chinese/bg5ps/Makefile Mon Jan 20 21:00:05 2014 (r340478) +++ head/chinese/bg5ps/Makefile Mon Jan 20 21:06:55 2014 (r340479) @@ -14,28 +14,21 @@ COMMENT= Convert Chinese-Big5/GB encoded LIB_DEPENDS= libttf.so:${PORTSDIR}/print/freetype USE_PYTHON= yes -PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/etc/bg5ps.conf.sample - ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${PREFIX}/etc/gb2312-bg5ps.conf.sample -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} -.endif - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/test.gb2312 ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/examples/test.sh ${EXAMPLESDIR} - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${STAGEDIR}${PREFIX}/etc/bg5ps.conf.sample + ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${STAGEDIR}${PREFIX}/etc/gb2312-bg5ps.conf.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/test.gb2312 ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/test.sh ${STAGEDIR}${EXAMPLESDIR} .include