freebsd-ports/games/ttraffic/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

34 lines
920 B
Makefile

# Created by: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$
PORTNAME= ttraffic
PORTVERSION= 0.8
PORTREVISION= 2
CATEGORIES= games tk
MASTER_SITES= http://alpha.luc.ac.be/Research/Algebra/Members/Ttraffic/ \
http://www.tobez.org/download/port-mirrors/games/ttraffic/
MAINTAINER= tobez@FreeBSD.org
COMMENT= TTraffic - A Tcl/Tk version of Rush Hour
BUILD_DEPENDS= wish8.4:x11-toolkits/tk84
RUN_DEPENDS= wish8.4:x11-toolkits/tk84
NO_BUILD= yes
USES= shebangfix perl5
USE_PERL5= build
SHEBANG_FILES= ttraffic.tcl
SHEBANG_LANG= wish
wish_OLD_CMD= /usr/bin/wish
wish_CMD= ${LOCALBASE}/bin/wish8.4
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/usr/local/share/ttraffic/|${DATADIR}/|' \
${WRKSRC}/ttraffic.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ttraffic.tcl ${STAGEDIR}${PREFIX}/bin/ttraffic
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ttraffic.levels ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>