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

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

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

USE_GETTEXT=    yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \
        --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>