blob: af0b5706c74bc7813477fed05ea6f399692c964c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# New ports collection makefile for: awale
# Date created: 15 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= awale
PORTVERSION= 1.2
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>
|