summaryrefslogtreecommitdiff
path: root/games/xlines
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-02-13 18:08:30 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-02-13 18:08:30 +0000
commit378aad359f5a02ec06219b27c2915072f0da5a74 (patch)
tree4c3b96f07bd5c0d65ae3e668875f561c145413c7 /games/xlines
parentActivate proftpd. (diff)
XLines is an old game of balls where your goal is to remove
as many balls from the game field as you can. PR: ports/5736 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=9702
Diffstat (limited to 'games/xlines')
-rw-r--r--games/xlines/Makefile34
-rw-r--r--games/xlines/distinfo1
-rw-r--r--games/xlines/files/patch-aa20
-rw-r--r--games/xlines/files/patch-ab11
-rw-r--r--games/xlines/pkg-comment1
-rw-r--r--games/xlines/pkg-descr12
-rw-r--r--games/xlines/pkg-plist6
7 files changed, 85 insertions, 0 deletions
diff --git a/games/xlines/Makefile b/games/xlines/Makefile
new file mode 100644
index 000000000000..a0cd6517170a
--- /dev/null
+++ b/games/xlines/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: xlines
+# Version required: 1.0
+# Date created: 11 February 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id:$
+#
+
+DISTNAME= xlines
+PKGNAME= xlines-1.0
+CATEGORIES= games x11
+MASTER_SITES= ftp://risq.belcaf.minsk.by/pub/genie/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= qt\\.1\\.:${PORTSDIR}/x11/qt
+BUILD_DEPENDS= moc:${PORTSDIR}/x11/qt
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}
+
+pre-patch:
+ @ ${TR} -d "\015" < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new
+ @ ${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin
+ @ ${MKDIR} ${PREFIX}/share/xlines
+ @ ${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines
+ @ ${MKDIR} ${PREFIX}/share/doc/xlines
+ @ ${INSTALL_DATA} ${WRKSRC}/readme.lines ${PREFIX}/share/doc/xlines
+ @ ${INSTALL_DATA} ${WRKSRC}/readme.qt ${PREFIX}/share/doc/xlines
+
+.include <bsd.port.mk>
diff --git a/games/xlines/distinfo b/games/xlines/distinfo
new file mode 100644
index 000000000000..e49bed33b515
--- /dev/null
+++ b/games/xlines/distinfo
@@ -0,0 +1 @@
+MD5 (xlines.tar.gz) = 9e456bb7419b8cda6bc44ac9940913e4
diff --git a/games/xlines/files/patch-aa b/games/xlines/files/patch-aa
new file mode 100644
index 000000000000..903d308c3f11
--- /dev/null
+++ b/games/xlines/files/patch-aa
@@ -0,0 +1,20 @@
+--- Makefile.orig Fri Feb 13 23:57:06 1998
++++ Makefile Fri Feb 13 23:57:30 1998
+@@ -1,8 +1,8 @@
+-INCDIR=/usr/local/qt/include
+-CFLAGS=-O2 -I/usr/X11/include
+-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
++INCDIR=/usr/X11R6/include/X11/qt
++CFLAGS=-O2 -m486 -pipe -I/usr/X11R6/include
++LFLAGS=-L/usr/X11R6/lib -lX11 -lqt
+ CC=gcc
+-MOC=/usr/local/qt/bin/moc
++MOC=/usr/X11R6/bin/moc
+
+ SRC=lines.cpp lines.moc
+ OBJECTS=lines.o
+@@ -23,3 +23,4 @@
+
+ lines.moc: lines.h
+ $(MOC) lines.h -o lines.moc
++
diff --git a/games/xlines/files/patch-ab b/games/xlines/files/patch-ab
new file mode 100644
index 000000000000..a7a71e82127f
--- /dev/null
+++ b/games/xlines/files/patch-ab
@@ -0,0 +1,11 @@
+--- lines.cpp.orig Sat Jan 17 18:11:13 1998
++++ lines.cpp Fri Feb 13 23:57:07 1998
+@@ -502,7 +502,7 @@
+ score->setGeometry(300,120,85,45);
+ curScore=0;
+ score->display(0);
+- movie=new QMovie("trolltech.gif");
++ movie=new QMovie("/usr/X11R6/share/xlines/trolltech.gif");
+ label=new QLabel(this,"label");
+ label->setFrameStyle(QFrame::Box|QFrame::Plain);
+ label->setMovie(*movie);
diff --git a/games/xlines/pkg-comment b/games/xlines/pkg-comment
new file mode 100644
index 000000000000..54d571174bf5
--- /dev/null
+++ b/games/xlines/pkg-comment
@@ -0,0 +1 @@
+Remove as many balls from board as you can
diff --git a/games/xlines/pkg-descr b/games/xlines/pkg-descr
new file mode 100644
index 000000000000..c14a195cac7d
--- /dev/null
+++ b/games/xlines/pkg-descr
@@ -0,0 +1,12 @@
+ XLines is an old game of balls where your goal is to remove
+as many balls from the game field as you can.
+
+ I cannot claim the copyright on the idea of this game so
+all requests should go somewhere else.
+
+ If you need more information or have any questions you can
+contact me at:
+
+ e-mail: genie@ucsd.com or genie@risq.belcaf.minsk.by
+
+ ICQ UIN: 4096585
diff --git a/games/xlines/pkg-plist b/games/xlines/pkg-plist
new file mode 100644
index 000000000000..f8822026b353
--- /dev/null
+++ b/games/xlines/pkg-plist
@@ -0,0 +1,6 @@
+bin/xlines
+share/doc/xlines/readme.qt
+share/doc/xlines/readme.lines
+share/xlines/trolltech.gif
+@dirrm share/doc/xlines
+@dirrm share/xlines