1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/games/thudboard/Makefile
Lars Engels 01af071179 With an up-to-date INDEX I even find the rest of the ports I maintain,
so change my e-mail address also in those ports.

Approved by:	miwi (mentor)
2007-07-12 19:48:45 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: ThudBoard
# Date created: 04 Januar 2004
# Whom: Jan Stocker <Jan.Stocker@t-online.de>
#
# $FreeBSD$
#
PORTNAME= thudboard
PORTVERSION= 1.8
CATEGORIES= games
MASTER_SITES= http://www.million.nl/file/
MAINTAINER= lme@FreeBSD.org
COMMENT= The Discworld Boardgame Board
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
NO_WRKSUBDIR= yes
USE_PYTHON= yes
do-configure:
@${SED} -e "s#%%PREFIX%%#${PREFIX}# ; s#%%PYTHON_CMD%%#${PYTHON_CMD}#" \
${FILESDIR}/thudboard > ${WRKDIR}/thudboard.tmp
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} 2>/dev/null
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/thudboard.tmp ${PREFIX}/bin/thudboard
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.pyc ${DATADIR}
@${TAR} -C ${WRKSRC} -cf - docs koomvalley img | \
${TAR} -C ${DATADIR} --unlink -xf -
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
@${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
@${FIND} ${DATADIR} -type d | ${XARGS} ${CHMOD} a+rx
.include <bsd.port.mk>