2002-04-13 06:57:45 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: qgo
|
|
|
|
# Date created: Mar 22, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qgo
|
2009-10-20 09:40:26 +00:00
|
|
|
PORTVERSION= 1.5.4.3
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 3
|
2002-04-13 06:57:45 +00:00
|
|
|
CATEGORIES= games
|
2009-10-20 09:40:26 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
|
2007-12-14 18:45:44 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-r${PORTVERSION:E}
|
2002-04-13 06:57:45 +00:00
|
|
|
|
2003-11-05 15:58:25 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A Go board and SGF editor written with the Qt library
|
2002-04-13 06:57:45 +00:00
|
|
|
|
2007-12-14 18:45:44 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_XORG= x11 ice xext
|
2003-02-22 23:16:40 +00:00
|
|
|
USE_QT_VER= 3
|
2002-04-13 06:57:45 +00:00
|
|
|
USE_GMAKE= yes
|
2003-11-05 15:58:25 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-04-13 06:57:45 +00:00
|
|
|
|
|
|
|
post-patch:
|
2009-10-20 09:40:26 +00:00
|
|
|
@${REINPLACE_CMD} -e '/NOOPT/s|^CXXFLAGS=|#CXXFLAGS=|g ; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
2004-12-18 18:46:04 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
2007-06-20 14:18:35 +00:00
|
|
|
's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/templates/*.desktop
|
2004-03-14 08:00:14 +00:00
|
|
|
|
2002-04-13 06:57:45 +00:00
|
|
|
.include <bsd.port.mk>
|