aboutsummaryrefslogtreecommitdiffstats
path: root/games/hinversi/Makefile
blob: 09d9d1cc092b8e86a5fea13eb335aa0841126ad6 (plain) (blame)
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
# New ports collection makefile for:    hinversi
# Date created:     2 April 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   hinversi
PORTVERSION=    0.8.1
CATEGORIES= games
MASTER_SITES=   http://asturio.gmxhome.de/ CENKES

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    Reversi/Othello clone

USE_GETTEXT=    yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --mandir=${PREFIX}/man\
        --disable-static
MAN1=   hinversi-cli.1

post-patch:
    @${REINPLACE_CMD} -e '/^mkdir_p/s|=.*|=$$(mkinstalldirs)|'\
        ${WRKSRC}/po/Makefile.in.in
    @${REINPLACE_CMD} -e '/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig|'\
        ${WRKSRC}/lib/Makefile.in

.include <bsd.port.mk>