diff options
author | kris <kris@FreeBSD.org> | 2002-05-24 11:08:24 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-05-24 11:08:24 +0000 |
commit | 0e6c7286db4e9337fb08dbe8c741f688421ebac8 (patch) | |
tree | b495daeef99ac65822e6ae9a1419915173133b47 /games/xlines | |
parent | abfc8e90436c599f263b395e0c6408b9cd2dcad5 (diff) | |
download | FreeBSD-ports-0e6c7286db4e9337fb08dbe8c741f688421ebac8.zip FreeBSD-ports-0e6c7286db4e9337fb08dbe8c741f688421ebac8.tar.gz |
Add back the blackjack, pp and xlines ports, which were prematurely
deleted by will.
Diffstat (limited to 'games/xlines')
-rw-r--r-- | games/xlines/Makefile | 36 | ||||
-rw-r--r-- | games/xlines/distinfo | 1 | ||||
-rw-r--r-- | games/xlines/files/patch-aa | 31 | ||||
-rw-r--r-- | games/xlines/files/patch-ab | 11 | ||||
-rw-r--r-- | games/xlines/pkg-comment | 1 | ||||
-rw-r--r-- | games/xlines/pkg-descr | 12 | ||||
-rw-r--r-- | games/xlines/pkg-plist | 6 |
7 files changed, 98 insertions, 0 deletions
diff --git a/games/xlines/Makefile b/games/xlines/Makefile new file mode 100644 index 0000000..8b7f0b3 --- /dev/null +++ b/games/xlines/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: xlines +# Date created: 11 February 1998 +# Whom: Andrey Zakhvatov +# +# $FreeBSD$ +# + +PORTNAME= xlines +PORTVERSION= 1.1 +CATEGORIES= games +MASTER_SITES= ftp://ftp.trolltech.com/contrib/ +DISTNAME= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +USE_QT_VER= 1 +USE_X_PREFIX= yes +NO_WRKSUBDIR= yes + +pre-patch: + @find ${WRKSRC} -type f | xargs ${PERL} -pi -e "s|\r\n|\n|g" + +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xlines ${PREFIX}/bin + @${MKDIR} ${PREFIX}/share/xlines + ${INSTALL_DATA} ${WRKSRC}/trolltech.gif ${PREFIX}/share/xlines +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/readme.lines ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/readme.qt ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/games/xlines/distinfo b/games/xlines/distinfo new file mode 100644 index 0000000..e49bed3 --- /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 0000000..1a110c1 --- /dev/null +++ b/games/xlines/files/patch-aa @@ -0,0 +1,31 @@ +--- Makefile.orig Mon Apr 27 16:47:35 1998 ++++ Makefile Sun Jul 16 19:47:51 2000 +@@ -1,8 +1,8 @@ +-INCDIR=/usr/local/qt/include +-CFLAGS=-O2 -I/usr/X11/include -DSHOW_NEXT_COLORS +-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11 +-CC=gcc +-MOC=/usr/local/qt/bin/moc ++INCDIR=${X11BASE}/include/X11/qt1 ++CXXFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS ++LFLAGS=-L${X11BASE}/lib -lqt1 -lX11 ++CC?=gcc ++MOC=${X11BASE}/bin/moc1 + + SRC=lines.cpp lines.moc + OBJECTS=lines.o +@@ -14,12 +14,12 @@ + .SUFFIXES: .cpp + + .cpp.o: +- $(CC) -c $(CFLAGS) -I$(INCDIR) $< ++ $(CXX) -c $(CXXFLAGS) -I$(INCDIR) $< + + all: $(TARGET) + + $(TARGET): $(MOCFILES) $(OBJECTS) lines.h +- $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR) ++ $(CXX) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR) + + 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 0000000..2e74e16 --- /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("%%PREFIX%%/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 0000000..54d5711 --- /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 0000000..c14a195 --- /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 0000000..1337b5c --- /dev/null +++ b/games/xlines/pkg-plist @@ -0,0 +1,6 @@ +bin/xlines +%%PORTDOCS%%share/doc/xlines/readme.qt +%%PORTDOCS%%share/doc/xlines/readme.lines +share/xlines/trolltech.gif +%%PORTDOCS%%@dirrm share/doc/xlines +@dirrm share/xlines |