1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/awele/Makefile
Baptiste Daroussin 60ee3e9d02 Convert to USES=imake
While here:
Trim headers
Remove indefinite articles
Mark as broken ports not building with gcc or clang
Convert to optionsng
2013-06-28 21:48:59 +00:00

41 lines
821 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
USE_XORG= x11
USE_TCL_BUILD= yes
USE_TK_BUILD= yes
USE_TCL= yes
USE_TK= yes
MAN6= xawele.6
PLIST_FILES= bin/awelewish bin/xawele
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
post-install:
@${ECHO_MSG} ""
@${ECHO_MSG} "Use xawele to start awele"
@${ECHO_MSG} ""
.include <bsd.port.mk>