From owner-svn-ports-all@FreeBSD.ORG Wed Jul 9 14:40:14 2014 Return-Path: Delivered-To: svn-ports-all@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 799762BC; Wed, 9 Jul 2014 14:40:14 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 670D2256B; Wed, 9 Jul 2014 14:40:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s69EeE2r031012; Wed, 9 Jul 2014 14:40:14 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s69EeEA9031011; Wed, 9 Jul 2014 14:40:14 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407091440.s69EeEA9031011@svn.freebsd.org> From: "Vanilla I. Shu" Date: Wed, 9 Jul 2014 14:40:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361374 - head/games/polypuzzle 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.18 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: Wed, 09 Jul 2014 14:40:14 -0000 Author: vanilla Date: Wed Jul 9 14:40:13 2014 New Revision: 361374 URL: http://svnweb.freebsd.org/changeset/ports/361374 QAT: https://qat.redports.org/buildarchive/r361374/ Log: 1: Stagify. 2: switch to USES=tk 3: use options helper to handle PORTDOCS Modified: head/games/polypuzzle/Makefile Modified: head/games/polypuzzle/Makefile ============================================================================== --- head/games/polypuzzle/Makefile Wed Jul 9 14:20:02 2014 (r361373) +++ head/games/polypuzzle/Makefile Wed Jul 9 14:40:13 2014 (r361374) @@ -11,11 +11,11 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Tessellation puzzle game -RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 - +USES= tk:84,run WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes +OPTIONS_DEFINE= DOCS DOC_FILES= About Bugs Changelog Install Instructions Links Math Readme \ Thanks Todo DATA_FILES= menus pieces.3x20 pieces.783 pieces.bonus pieces.colours \ @@ -23,20 +23,18 @@ DATA_FILES= menus pieces.3x20 pieces.783 pieces.round pieces.small pieces.square pieces.star \ pieces.triangle -NO_STAGE= yes pre-install: @${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:g" ${WRKSRC}/polypuzzle + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/polypuzzle ${PREFIX}/bin - ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/polypuzzle ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} .for f in ${DATA_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} .endfor -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include