summaryrefslogtreecommitdiff
path: root/games/qgo/Makefile
blob: 7f0596d0c1dfe33b796cfc82ffdf2cd6095fa8c6 (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
# ex:ts=8
# Ports collection makefile for:	qgo
# Date created:			Mar 22, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	qgo
PORTVERSION=	0.0.14
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@freebsd.org
COMMENT=	A Go board and SGF editor written with the Qt library

USE_REINPLACE=	yes
USE_QT_VER=	3
GNU_CONFIGURE=	yes
QTCPPFLAGS+=	-DDONT_USE_GETOPT
CONFIGURE_ENV=	QTDIR=${X11BASE}
USE_GMAKE=	yes

post-patch:
	${REINPLACE_CMD} -e "s,libqt.so,libqt-mt.so,; \
		s,-O2, ${CFLAGS} ${PTHREAD_CFLAGS}," ${WRKSRC}/configure
	${REINPLACE_CMD} -e "s,-lqt,-lqt-mt ${PTHREAD_LIBS}," ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>