1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/games/polypuzzle/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

40 lines
1.0 KiB
Makefile

# Created by: janos.mohacsi@bsd.hu
# $FreeBSD$
PORTNAME= polypuzzle
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= games tcl tk
MASTER_SITES= ftp://ibiblio.org/pub/Linux/games/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tessellation puzzle game
USES= tk:84,run tar:tgz
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 \
pieces.flower pieces.large pieces.medium pieces.monster \
pieces.round pieces.small pieces.square pieces.star \
pieces.triangle
pre-install:
@${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:g" ${WRKSRC}/polypuzzle
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/polypuzzle ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
.for f in ${DATA_FILES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>