From owner-svn-ports-head@FreeBSD.ORG Tue Nov 12 19:53:02 2013 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 5B60213B; Tue, 12 Nov 2013 19:53:02 +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 4A6E52114; Tue, 12 Nov 2013 19:53:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rACJr241083080; Tue, 12 Nov 2013 19:53:02 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rACJr2Y4083079; Tue, 12 Nov 2013 19:53:02 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311121953.rACJr2Y4083079@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 12 Nov 2013 19:53:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333611 - head/games/umark 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.16 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: Tue, 12 Nov 2013 19:53:02 -0000 Author: danilo Date: Tue Nov 12 19:53:01 2013 New Revision: 333611 URL: http://svnweb.freebsd.org/changeset/ports/333611 Log: - Add DOCS option - Add stage support Modified: head/games/umark/Makefile Modified: head/games/umark/Makefile ============================================================================== --- head/games/umark/Makefile Tue Nov 12 19:47:56 2013 (r333610) +++ head/games/umark/Makefile Tue Nov 12 19:53:01 2013 (r333611) @@ -20,22 +20,16 @@ MAKEFILE= ${FILESDIR}/Makefile SUB_FILES= pkg-message PORTDOCS= ChangeLog INSTALL README TODO -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${STAGEDIR}${DATADIR} cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \ - ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${DOCSDIR} -.endif - -post-install: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} + ${CPIO} -pdu ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${STAGEDIR}${DOCSDIR} .include