Date: Wed, 9 Jul 2014 14:40:14 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361374 - head/games/polypuzzle Message-ID: <201407091440.s69EeEA9031011@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407091440.s69EeEA9031011>