Files
ports/games/awele/Makefile
T
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

31 lines
715 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}
MAINTAINER= ports@FreeBSD.org
COMMENT= African board game
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= imake tk tar:tgz xorg
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>