mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
137e7592b8
PR: ports/66465 Submitted by: Ports Fury
37 lines
849 B
Makefile
37 lines
849 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: qgo
|
|
# Date created: Mar 22, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qgo
|
|
PORTVERSION= 0.2
|
|
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_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= QTDIR=${QT_PREFIX}
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-pedantic||g ; \
|
|
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|/usr/share|$${prefix}/share|g'
|
|
|
|
pre-build:
|
|
-@${RM} ${WRKSRC}/qgo/src/*_gui.cpp
|
|
-@${RM} ${WRKSRC}/qgo/src/*_gui.h
|
|
|
|
.include <bsd.port.mk>
|