diff options
Diffstat (limited to 'misc/peq')
-rw-r--r-- | misc/peq/Makefile | 28 | ||||
-rw-r--r-- | misc/peq/distinfo | 2 | ||||
-rw-r--r-- | misc/peq/files/patch-aa | 90 | ||||
-rw-r--r-- | misc/peq/files/patch-ab | 23 | ||||
-rw-r--r-- | misc/peq/files/patch-ac | 13 | ||||
-rw-r--r-- | misc/peq/files/patch-ad | 11 | ||||
-rw-r--r-- | misc/peq/files/patch-ae | 13 | ||||
-rw-r--r-- | misc/peq/files/patch-af | 13 | ||||
-rw-r--r-- | misc/peq/pkg-descr | 6 | ||||
-rw-r--r-- | misc/peq/pkg-plist | 4 |
10 files changed, 0 insertions, 203 deletions
diff --git a/misc/peq/Makefile b/misc/peq/Makefile deleted file mode 100644 index 2ac18a7ab8fb..000000000000 --- a/misc/peq/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# New ports collection makefile for: peq -# Date created: 2 April 1999 -# Whom: Gordon Greeff -# -# $FreeBSD$ -# - -PORTNAME= peq -PORTVERSION= 0.7.1 -CATEGORIES= misc games -MASTER_SITES= http://www.shrubbery.org.za/peq/ -# Fortunecity.com doesn't allow linking from external sites. -# Please look at the WWW site in pkg-descr for more information - edwin 20021227 - -MAINTAINER= gordon@shrubbery.org.za -COMMENT= Fortune like program - -DEPRECATED= depends on unsupported qt version -EXPIRATION_DATE=2005-10-31 - -USE_GCC= 2.95 -USE_QT_VER= 1 - -post-install: - ${STRIP_CMD} ${PREFIX}/bin/peq - ${STRIP_CMD} ${PREFIX}/bin/xpeq - -.include <bsd.port.mk> diff --git a/misc/peq/distinfo b/misc/peq/distinfo deleted file mode 100644 index 6a8b31e72a6e..000000000000 --- a/misc/peq/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (peq-0.7.1.tar.gz) = cbe58505f96538ef529bb8381a5a3291 -SIZE (peq-0.7.1.tar.gz) = 302269 diff --git a/misc/peq/files/patch-aa b/misc/peq/files/patch-aa deleted file mode 100644 index ef968d528084..000000000000 --- a/misc/peq/files/patch-aa +++ /dev/null @@ -1,90 +0,0 @@ ---- Makefile.orig Thu Mar 25 08:47:31 1999 -+++ Makefile Fri May 24 04:36:25 2002 -@@ -4,10 +4,10 @@ - VERSION = 0.7.1 - - # Your C++ compiler --CC = g++ -+CC = $(CXX) - - # Flags to pass to the C++ compiler --FLAGS = -O -Wall -+FLAGS = -DPREFIX=\"${PREFIX}\" ${CFLAGS} -L /usr/X11R6/lib -I /usr/X11R6/include - - # Your tar - TAR = tar -@@ -17,13 +17,13 @@ - ZIPR = gzip -9 - - # Default installion directory for the console version of PEQ --DIR_CONSOLE_PEQ = /usr/games -+DIR_CONSOLE_PEQ = ${PREFIX}/bin - - # Default installion directory for the X version of PEQ --DIR_X_PEQ = /usr/games -+DIR_X_PEQ = ${PREFIX}/bin - - # Default installion directory for peq.lib (the quote library) --DIR_LIB = /usr/share/games -+DIR_LIB = ${PREFIX}/share/peq - - # Get current date - LIB_DATE = `date +%m%d%y` -@@ -40,31 +40,21 @@ - $(CC) $(FLAGS) -c ocfile.cpp - $(CC) $(FLAGS) -c arg.cpp - $(CC) $(FLAGS) -o peq peq.cpp strmid.o show.o read.o proc.o ocfile.o arg.o -- $(CC) $(FLAGS) -o xpeq -lqt xpeq.cpp strmid.o show.o read.o proc.o ocfile.o -+ $(CC) $(FLAGS) -o xpeq -lqt1 xpeq.cpp strmid.o show.o read.o proc.o ocfile.o - --## "install" gives a handy message about how to install PEQ - install: -- @echo "No such option! Use..." -- @echo "'make install-console' to install the console of PEQ" -- @echo "'make install-x' to install the X version of PEQ" -- @echo "'make install-lib' to install peq.lib (the quote library)" -- @echo "'make install-all' to install all of the above" -- @echo "'make install-console-lib' to install console PEQ and peq.lib" -- @echo "'make install-x-lib' to install X PEQ and peq.lib" -- @echo "'make install-console-x' to install console and X PEQ" -- @echo "If in doubt... just type 'make install-all' :-)" -+ make install-console ; make install-x ; make install-lib - - install-console: -- cp peq $(DIR_CONSOLE_PEQ)/peq -f -+ cp -f peq $(DIR_CONSOLE_PEQ)/peq - - install-x: -- cp xpeq $(DIR_X_PEQ)/xpeq -f -+ cp -f xpeq $(DIR_X_PEQ)/xpeq - - install-lib: -- cp peq.lib $(DIR_LIB)/peq.lib -f -- --install-all: -- make install-console ; make install-x ; make install-lib -+ rm -rf $(DIR_LIB) -+ mkdir $(DIR_LIB) -+ cp -f peq.lib $(DIR_LIB)/peq.lib - - install-console-lib: - make install-console ; make install-lib -@@ -78,9 +68,9 @@ - ## "uninstall" erases all traces of PEQ from your system (but why would you - ## want to do that?) - uninstall: -- rm $(DIR_CONSOLE_PEQ)/peq -f -- rm $(DIR_X_PEQ)/xpeq -f -- rm $(DIR_LIB)/peq.lib -f -+ rm -f $(DIR_CONSOLE_PEQ)/peq -+ rm -f $(DIR_X_PEQ)/xpeq -+ rm -f $(DIR_LIB)/peq.lib - - ## "clean" cleans up all the junk and leaves the uncompiled code alone - clean: -@@ -126,4 +116,4 @@ - ## "dist" wraps peq.lib into a neat little tarball - dist-lib: - cp peq.lib peq.lib.$(LIB_DATE) -- $(ZIPR) peq.lib.$(LIB_DATE) -+ $(ZIPR) peq.lib.$(LIB_DATE) diff --git a/misc/peq/files/patch-ab b/misc/peq/files/patch-ab deleted file mode 100644 index 16b3765f7c65..000000000000 --- a/misc/peq/files/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ ---- xconfig.h.orig Thu Mar 25 08:47:31 1999 -+++ xconfig.h Fri May 24 04:35:10 2002 -@@ -4,10 +4,10 @@ - #include <time.h> - #include <string.h> - #include <strings.h> --#include <qapplication.h> --#include <qpushbutton.h> --#include <qlabel.h> --#include <qstring.h> -+#include <X11/qt1/qapplication.h> -+#include <X11/qt1/qpushbutton.h> -+#include <X11/qt1/qlabel.h> -+#include <X11/qt1/qstring.h> - - /* strmid.cpp */ - char strmid(char*,char*,int,int); -@@ -32,4 +32,4 @@ - long fsize(FILE*); - - /* xpeq.cpp */ --void f(char*); -+void f(char*); diff --git a/misc/peq/files/patch-ac b/misc/peq/files/patch-ac deleted file mode 100644 index 09602f308fc8..000000000000 --- a/misc/peq/files/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ ---- ./xpeq.cpp.orig Thu Mar 25 08:47:31 1999 -+++ ./xpeq.cpp Fri May 24 04:35:40 2002 -@@ -1,8 +1,8 @@ - - #include "xconfig.h" - #include "lib_path.h" --#include <qmenubar.h> --#include <qpopupmenu.h> -+#include <X11/qt1/qmenubar.h> -+#include <X11/qt1/qpopupmenu.h> - - int cho; - int wrd; diff --git a/misc/peq/files/patch-ad b/misc/peq/files/patch-ad deleted file mode 100644 index d894cf33b07c..000000000000 --- a/misc/peq/files/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ -*** lib_path.h.orig Fri Apr 2 16:23:25 1999 ---- lib_path.h Fri Apr 2 16:23:18 1999 -*************** -*** 1,3 **** - /* Created automatically by config */ -! char lib_path[100]={"/usr/share/games/peq.lib"}; - ---- 1,3 ---- - /* Created automatically by config */ -! char lib_path[100]={PREFIX "/share/peq/peq.lib"}; - diff --git a/misc/peq/files/patch-ae b/misc/peq/files/patch-ae deleted file mode 100644 index 2574f5d031fd..000000000000 --- a/misc/peq/files/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ ---- read.cpp.orig Fri Mar 26 01:47:31 1999 -+++ read.cpp Sat Feb 12 11:12:10 2000 -@@ -1,8 +1,8 @@ - - #include "config.h" - --extern cho; --extern qnum; -+extern int cho; -+extern long qnum; - extern char comp_time[30]; - extern char quote[1500]; - extern FILE *pql; diff --git a/misc/peq/files/patch-af b/misc/peq/files/patch-af deleted file mode 100644 index 3fd96229cf95..000000000000 --- a/misc/peq/files/patch-af +++ /dev/null @@ -1,13 +0,0 @@ ---- show.cpp.orig Fri Mar 26 01:47:31 1999 -+++ show.cpp Sat Feb 12 11:13:09 2000 -@@ -3,8 +3,8 @@ - - extern int wrdnum; - extern char tot[300][100]; --extern author_wrd; --extern contrib_wrd; -+extern int author_wrd; -+extern int contrib_wrd; - - // This is the worst piece of shit (erm... code) you will ever see. It - // practically duplicates the same stuff FOUR TIMES! diff --git a/misc/peq/pkg-descr b/misc/peq/pkg-descr deleted file mode 100644 index b5871018e406..000000000000 --- a/misc/peq/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -This little program is almost exactly like the original fortune. -The author promises that update the "fortune" database will be -more regular and he tries to put only thought provoking and humourous -quotes into it. - -WWW: http://silverstone.fortunecity.com/jaguar/37/peq.html diff --git a/misc/peq/pkg-plist b/misc/peq/pkg-plist deleted file mode 100644 index 5033a36c8789..000000000000 --- a/misc/peq/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/peq -bin/xpeq -share/peq/peq.lib -@dirrm share/peq |