freebsd-ports/games/qgo/Makefile
Martin Wilke 1a24e0564a - Update to 1.5.4
PR:		113770
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-06-20 14:18:35 +00:00

32 lines
819 B
Makefile

# ex:ts=8
# Ports collection makefile for: qgo
# Date created: Mar 22, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qgo
PORTVERSION= 1.5.4
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_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/templates/*.desktop
.include <bsd.port.mk>