1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/awele/Makefile
2014-04-11 16:22:32 +00:00

32 lines
721 B
Makefile

# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
PORTNAME= awele
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= games tk
MASTER_SITES= XCONTRIB/games
DISTNAME= ${PORTNAME}${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= African board game
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= imake tk
USE_XORG= x11
MAKE_ARGS= AWELE_DIR=${STAGEDIR}${PREFIX}/bin
PLIST_FILES= bin/awelewish bin/xawele man/man6/xawele.6.gz
post-patch:
@${REINPLACE_CMD} -e \
's|%%LOCALBASE%%|${LOCALBASE}|; \
s|%%TK_VER%%|${TK_VER:S/.//}|; \
s|%%TCL_VER%%|${TCL_VER:S/.//}|; \
s|%%TK_INCLUDEDIR%%|${TK_INCLUDEDIR}|; \
s|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|' ${WRKSRC}/Imakefile
.include <bsd.port.mk>