Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 1999 22:13:21 +0200
From:      gvg@uunet.co.za
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10922: new games port
Message-ID:  <E10TAJd-00006T-00@overgrown.shrubbery.org.za>

next in thread | raw e-mail | index | archive | help

>Number:         10922
>Category:       ports
>Synopsis:       new games port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr  2 12:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gordon Greeff
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:
>Description:

	

>How-To-Repeat:

	

>Fix:
	
	

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	peq
#	peq/files
#	peq/files/md5
#	peq/Makefile
#	peq/pkg
#	peq/pkg/COMMENT
#	peq/pkg/DESCR
#	peq/pkg/PLIST
#	peq/patches
#	peq/patches/patch-aa
#	peq/patches/patch-ac
#	peq/patches/patch-ab
#	peq/patches/patch-ad
#
echo c - peq
mkdir -p peq > /dev/null 2>&1
echo c - peq/files
mkdir -p peq/files > /dev/null 2>&1
echo x - peq/files/md5
sed 's/^X//' >peq/files/md5 << 'END-of-peq/files/md5'
XMD5 (peq-0.7.1.tar.gz) = cbe58505f96538ef529bb8381a5a3291
END-of-peq/files/md5
echo x - peq/Makefile
sed 's/^X//' >peq/Makefile << 'END-of-peq/Makefile'
X# New ports collection makefile for:  peq
X# Version required:    0.7.1
X# Date created:        2 April 1999
X# Whom:			asami
X#
X# $Id$
X#
X
XDISTNAME=	peq-0.7.1
XCATEGORIES=	games
XMASTER_SITES=	http://silverstone.fortunecity.com/jaguar/37/
X
XMAINTAINER=	gvg@uunet.co.za
X
XUSE_QT=         yes
Xpost-install:
X	strip ${PREFIX}/bin/peq
X	strip ${PREFIX}/bin/xpeq
X
X.include <bsd.port.mk>
END-of-peq/Makefile
echo c - peq/pkg
mkdir -p peq/pkg > /dev/null 2>&1
echo x - peq/pkg/COMMENT
sed 's/^X//' >peq/pkg/COMMENT << 'END-of-peq/pkg/COMMENT'
Xfortune like program
END-of-peq/pkg/COMMENT
echo x - peq/pkg/DESCR
sed 's/^X//' >peq/pkg/DESCR << 'END-of-peq/pkg/DESCR'
XThis little program is almost exactly like the original fortune.
XThe author promises that update the the "fortune" database will be
Xmore regular and he tries to put only thought provoking and humourous
Xquotes into it.
END-of-peq/pkg/DESCR
echo x - peq/pkg/PLIST
sed 's/^X//' >peq/pkg/PLIST << 'END-of-peq/pkg/PLIST'
Xbin/peq
Xbin/xpeq
Xshare/peq/peq.lib
X@dirrm share/peq
END-of-peq/pkg/PLIST
echo c - peq/patches
mkdir -p peq/patches > /dev/null 2>&1
echo x - peq/patches/patch-aa
sed 's/^X//' >peq/patches/patch-aa << 'END-of-peq/patches/patch-aa'
X*** Makefile.orig	Fri Apr  2 19:52:27 1999
X--- Makefile	Fri Apr  2 19:51:11 1999
X***************
X*** 7,13 ****
X  CC = g++
X  
X  # Flags to pass to the C++ compiler
X! FLAGS = -O -Wall
X  
X  # Your tar
X  TAR = tar
X--- 7,13 ----
X  CC = g++
X  
X  # Flags to pass to the C++ compiler
X! FLAGS = -O -Wall -L /usr/X11R6/lib/
X  
X  # Your tar
X  TAR = tar
X***************
X*** 17,29 ****
X  ZIPR = gzip -9
X  
X  # Default installion directory for the console version of PEQ
X! DIR_CONSOLE_PEQ = /usr/games
X  
X  # Default installion directory for the X version of PEQ
X! DIR_X_PEQ = /usr/games
X  
X  # Default installion directory for peq.lib (the quote library)
X! DIR_LIB = /usr/share/games
X  
X  # Get current date
X  LIB_DATE = `date +%m%d%y`
X--- 17,29 ----
X  ZIPR = gzip -9
X  
X  # Default installion directory for the console version of PEQ
X! DIR_CONSOLE_PEQ = /usr/local/bin
X  
X  # Default installion directory for the X version of PEQ
X! DIR_X_PEQ = /usr/local/bin
X  
X  # Default installion directory for peq.lib (the quote library)
X! DIR_LIB = /usr/local/share/peq
X  
X  # Get current date
X  LIB_DATE = `date +%m%d%y`
X***************
X*** 42,70 ****
X  	$(CC) $(FLAGS) -o peq peq.cpp strmid.o show.o read.o proc.o ocfile.o arg.o
X  	$(CC) $(FLAGS) -o xpeq -lqt xpeq.cpp strmid.o show.o read.o proc.o ocfile.o
X  
X- ## "install" gives a handy message about how to install PEQ
X  install:
X! 	@echo "No such option! Use..."
X! 	@echo "'make install-console' to install the console of PEQ"
X! 	@echo "'make install-x' to install the X version of PEQ"
X! 	@echo "'make install-lib' to install peq.lib (the quote library)"
X! 	@echo "'make install-all' to install all of the above"
X! 	@echo "'make install-console-lib' to install console PEQ and peq.lib"
X! 	@echo "'make install-x-lib' to install X PEQ and peq.lib"
X! 	@echo "'make install-console-x' to install console and X PEQ"
X! 	@echo "If in doubt... just type 'make install-all' :-)"
X  
X  install-console:
X! 	cp peq $(DIR_CONSOLE_PEQ)/peq -f
X  
X  install-x:
X! 	cp xpeq $(DIR_X_PEQ)/xpeq -f
X  
X  install-lib:
X! 	cp peq.lib $(DIR_LIB)/peq.lib -f
X! 
X! install-all:
X! 	make install-console ; make install-x ; make install-lib
X  
X  install-console-lib:
X  	make install-console ; make install-lib
X--- 42,60 ----
X  	$(CC) $(FLAGS) -o peq peq.cpp strmid.o show.o read.o proc.o ocfile.o arg.o
X  	$(CC) $(FLAGS) -o xpeq -lqt xpeq.cpp strmid.o show.o read.o proc.o ocfile.o
X  
X  install:
X! 	make install-console ; make install-x ; make install-lib
X  
X  install-console:
X! 	cp -f peq $(DIR_CONSOLE_PEQ)/peq
X  
X  install-x:
X! 	cp -f xpeq $(DIR_X_PEQ)/xpeq
X  
X  install-lib:
X! 	rm -rf $(DIR_LIB)
X! 	mkdir $(DIR_LIB)
X! 	cp -f peq.lib $(DIR_LIB)/peq.lib
X  
X  install-console-lib:
X  	make install-console ; make install-lib
X***************
X*** 78,86 ****
X  ## "uninstall" erases all traces of PEQ from your system (but why would you
X  ## want to do that?)
X  uninstall:
X! 	rm $(DIR_CONSOLE_PEQ)/peq -f
X! 	rm $(DIR_X_PEQ)/xpeq -f
X! 	rm $(DIR_LIB)/peq.lib -f
X  
X  ## "clean" cleans up all the junk and leaves the uncompiled code alone
X  clean:
X--- 68,76 ----
X  ## "uninstall" erases all traces of PEQ from your system (but why would you
X  ## want to do that?)
X  uninstall:
X! 	rm -f $(DIR_CONSOLE_PEQ)/peq
X! 	rm -f $(DIR_X_PEQ)/xpeq
X! 	rm -f $(DIR_LIB)/peq.lib
X  
X  ## "clean" cleans up all the junk and leaves the uncompiled code alone
X  clean:
END-of-peq/patches/patch-aa
echo x - peq/patches/patch-ac
sed 's/^X//' >peq/patches/patch-ac << 'END-of-peq/patches/patch-ac'
X*** xpeq.cpp.orig	Fri Apr  2 15:50:52 1999
X--- xpeq.cpp	Fri Apr  2 15:50:47 1999
X***************
X*** 1,8 ****
X  
X  #include "xconfig.h"
X  #include "lib_path.h"
X! #include <qmenubar.h>
X! #include <qpopupmenu.h>
X  
X  int cho;
X  int wrd;
X--- 1,8 ----
X  
X  #include "xconfig.h"
X  #include "lib_path.h"
X! #include "/usr/X11R6/include/X11/qt/qmenubar.h"
X! #include "/usr/X11R6/include/X11/qt/qpopupmenu.h"
X  
X  int cho;
X  int wrd;
END-of-peq/patches/patch-ac
echo x - peq/patches/patch-ab
sed 's/^X//' >peq/patches/patch-ab << 'END-of-peq/patches/patch-ab'
X*** xconfig.h.orig	Fri Apr  2 15:50:41 1999
X--- xconfig.h	Fri Apr  2 15:50:34 1999
X***************
X*** 4,13 ****
X  #include <time.h>
X  #include <string.h>
X  #include <strings.h>
X! #include <qapplication.h>
X! #include <qpushbutton.h>
X! #include <qlabel.h>
X! #include <qstring.h>
X  
X  /* strmid.cpp */
X  char strmid(char*,char*,int,int);
X--- 4,13 ----
X  #include <time.h>
X  #include <string.h>
X  #include <strings.h>
X! #include "/usr/X11R6/include/X11/qt/qapplication.h"
X! #include "/usr/X11R6/include/X11/qt/qpushbutton.h"
X! #include "/usr/X11R6/include/X11/qt/qlabel.h"
X! #include "/usr/X11R6/include/X11/qt/qstring.h"
X  
X  /* strmid.cpp */
X  char strmid(char*,char*,int,int);
END-of-peq/patches/patch-ab
echo x - peq/patches/patch-ad
sed 's/^X//' >peq/patches/patch-ad << 'END-of-peq/patches/patch-ad'
X*** lib_path.h.orig	Fri Apr  2 16:23:25 1999
X--- lib_path.h	Fri Apr  2 16:23:18 1999
X***************
X*** 1,3 ****
X  /* Created automatically by config */
X! char lib_path[100]={"/usr/share/games/peq.lib"};
X  
X--- 1,3 ----
X  /* Created automatically by config */
X! char lib_path[100]={"/usr/local/share/peq/peq.lib"};
X  
END-of-peq/patches/patch-ad
exit


>Release-Note:
>Audit-Trail:
>Unformatted:
 
 	<Relevant environment information (multiple lines)>
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10TAJd-00006T-00>