1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/games/awale/Makefile
2008-10-29 18:06:17 +00:00

34 lines
751 B
Makefile

# New ports collection makefile for: awale
# Date created: 15 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= awale
PORTVERSION= 1.3
CATEGORIES= games
MASTER_SITES= SAVANNAH CENKES
MAINTAINER= ports@FreeBSD.org
COMMENT= African board game
USE_TK_RUN= yes
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog NEWS README THANKS
MAN1= ${PORTNAME}.1 x${PORTNAME}.1
PATCH_TK_SCRIPTS= src/xawale.tcl
pre-patch:
@${REINPLACE_CMD} -e '/^#define.*VERSION/d' ${WRKSRC}/src/awale.c
@${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|=${DATADIR}|'\
${WRKSRC}/src/Makefile.in
post-install:
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>