mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
add qgo 0.0.8
A Go board and SGF editor written with the Qt library
This commit is contained in:
parent
11ec8fb1bc
commit
198345a8b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57650
@ -224,6 +224,7 @@
|
||||
SUBDIR += q3server-ut
|
||||
SUBDIR += q3server-wfa
|
||||
SUBDIR += qcc
|
||||
SUBDIR += qgo
|
||||
SUBDIR += qix
|
||||
SUBDIR += qkmj
|
||||
SUBDIR += qstat
|
||||
|
29
games/qgo/Makefile
Normal file
29
games/qgo/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: qgo
|
||||
# Date created: Mar 22, 2002
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= qgo
|
||||
PORTVERSION= 0.0.8
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
||||
|
||||
USE_QT_VER= 2
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= QTDIR=${X11BASE} LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
||||
USE_GMAKE= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s,qt.so,qt2.so,g ; \
|
||||
s,/moc,/moc2,g" ${WRKSRC}/configure
|
||||
@${PERL} -pi -e "s,-lqt,-lqt2,g" ${WRKSRC}/src/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/qgo/distinfo
Normal file
1
games/qgo/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (qgo-0.0.8.tar.gz) = 8e46106c3d537ac6891291c39e0e755c
|
41
games/qgo/files/patch-src:main.cpp
Normal file
41
games/qgo/files/patch-src:main.cpp
Normal file
@ -0,0 +1,41 @@
|
||||
--- src/main.cpp.orig Sat Apr 13 14:35:57 2002
|
||||
+++ src/main.cpp Sat Apr 13 14:37:01 2002
|
||||
@@ -30,8 +30,10 @@
|
||||
#include <qtextcodec.h>
|
||||
|
||||
#ifdef _WS_X11_
|
||||
+#ifndef __FreeBSD__
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifdef _WS_WIN_
|
||||
#include <windows.h>
|
||||
@@ -46,6 +48,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef _WS_X11_
|
||||
+#ifndef __FreeBSD__
|
||||
static struct option const long_options[] =
|
||||
{
|
||||
{"help", no_argument, 0, 'h'},
|
||||
@@ -91,6 +94,7 @@
|
||||
return optind;
|
||||
}
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifdef _WS_WIN_
|
||||
/*
|
||||
@@ -134,7 +138,11 @@
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
#ifdef _WS_X11_
|
||||
+#ifndef __FreeBSD__
|
||||
int i = decode_switches (argc, argv);
|
||||
+#else
|
||||
+ int i=1;
|
||||
+#endif
|
||||
#else
|
||||
int i=1;
|
||||
#endif
|
1
games/qgo/pkg-comment
Normal file
1
games/qgo/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Go board and SGF editor written with the Qt library
|
5
games/qgo/pkg-descr
Normal file
5
games/qgo/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
qGo is a Go board and full featured SGF editor written with the Qt library,
|
||||
available for Linux and Windows. Go is an ancient boardgame, very common in
|
||||
Japan, China and Korea.
|
||||
|
||||
WWW: http://qgo.sourceforge.net/
|
25
games/qgo/pkg-plist
Normal file
25
games/qgo/pkg-plist
Normal file
@ -0,0 +1,25 @@
|
||||
bin/qgo
|
||||
share/qgo/sounds/stone.au
|
||||
share/qgo/sounds/stone.wav
|
||||
share/qgo/translations/qgo_de.qm
|
||||
@dirrm share/qgo/sounds
|
||||
@dirrm share/qgo/translations
|
||||
@dirrm share/qgo
|
||||
share/doc/qgo/html/images/note.png
|
||||
share/doc/qgo/html/images/tip.png
|
||||
share/doc/qgo/html/images/warning.png
|
||||
share/doc/qgo/html/ch01.html
|
||||
share/doc/qgo/html/ch01s04.html
|
||||
share/doc/qgo/html/ch02.html
|
||||
share/doc/qgo/html/ch02s02.html
|
||||
share/doc/qgo/html/ch02s03.html
|
||||
share/doc/qgo/html/ch03.html
|
||||
share/doc/qgo/html/ch03s02.html
|
||||
share/doc/qgo/html/ch03s23.html
|
||||
share/doc/qgo/html/ch03s28.html
|
||||
share/doc/qgo/html/ch03s31.html
|
||||
share/doc/qgo/html/index.html
|
||||
share/doc/qgo/html/pr01.html
|
||||
@dirrm share/doc/qgo/html/images
|
||||
@dirrm share/doc/qgo/html
|
||||
@dirrm share/doc/qgo
|
Loading…
Reference in New Issue
Block a user