2002-04-13 08:57:45 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: qgo
|
|
|
|
# Date created: Mar 22, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qgo
|
2007-12-14 19:45:44 +01:00
|
|
|
PORTVERSION= 1.5.4.2
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2002-04-13 08:57:45 +02:00
|
|
|
CATEGORIES= games
|
2007-12-14 19:45:44 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-r${PORTVERSION:E}
|
2002-04-13 08:57:45 +02:00
|
|
|
|
2003-11-05 16:58:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A Go board and SGF editor written with the Qt library
|
2002-04-13 08:57:45 +02:00
|
|
|
|
2007-12-14 19:45:44 +01: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 19:56:05 +02:00
|
|
|
USE_XORG= x11 ice xext
|
2003-02-23 00:16:40 +01:00
|
|
|
USE_QT_VER= 3
|
2002-04-13 08:57:45 +02:00
|
|
|
USE_GMAKE= yes
|
2003-11-05 16:58:25 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-04-13 08:57:45 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-12-18 19:46:04 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
2007-06-20 16:18:35 +02:00
|
|
|
's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/templates/*.desktop
|
2004-03-14 09:00:14 +01:00
|
|
|
|
2002-04-13 08:57:45 +02:00
|
|
|
.include <bsd.port.mk>
|