freebsd-ports/games/traindirector/Makefile
Kirill Ponomarev 619c9aa975 - Update to version 1.18n
PR:		61281
Submitted by:	maintainer
2004-01-13 09:15:30 +00:00

33 lines
772 B
Makefile

# New ports collection makefile for: traindirector
# Date created: 09/08/2003
# Whom: Guido Falsi <mad@madpilot.net>
#
# $FreeBSD$
#
PORTNAME= tdir
PORTVERSION= 1.18n
CATEGORIES= games
MASTER_SITES= http://xtsl.free.fr/118n/
DISTNAME= traindir-${PORTVERSION}-src
MAINTAINER= mad@madpilot.net
COMMENT= Train controller simulation
WRKSRC= ${WRKDIR}/traindir-${PORTVERSION}
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
post-extract:
.for file in Makefile field.c loadsave.c run.c setup_trdir.sh tgraph.c track.c track1.c trsim.c
@${TR} -d '\015' < ${WRKSRC}/${file} > ${WRKDIR}/xxxx
@${MV} ${WRKDIR}/xxxx ${WRKSRC}/${file}
.endfor
post-patch:
${REINPLACE_CMD} -e 's#PREFIX#${PREFIX}#' ${WRKSRC}/setup_trdir.sh
.include <bsd.port.mk>