aboutsummaryrefslogtreecommitdiffstats
path: root/games/mahjong/Makefile
blob: b3c989f746a57386aa1201262bd6dd24693b2fda (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
# ex:ts=8
# New ports collection makefile for:   mahjong
# Date created:                Jan 31, 2001
# Whom:                        Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mahjong
PORTVERSION=    1.0.2
CATEGORIES= games net
MASTER_SITES=   http://www.dcs.ed.ac.uk/home/jcb/stevens-bradfield/MahJong/Downloads/
DISTNAME=   mj-${PORTVERSION}-src

MAINTAINER= ijliao@FreeBSD.org

USE_GTK=    yes

USE_GMAKE=  yes

INSTALL_TARGET= install install.man

MAN1=       xmj.1 mj-player.1 mj-server.1

post-patch:
    @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile
    @${PERL} -pi -e "s|%%GTK_CONFIG%%|${GTK_CONFIG}|g" ${WRKSRC}/Makefile

.include <bsd.port.mk>