From aed3d79a30560b8dab14fe105fa9a067605e8fbc Mon Sep 17 00:00:00 2001 From: Seiichirou Hiraoka Date: Tue, 4 May 1999 16:26:51 +0000 Subject: PR: ports/11482 Submitted by: andy@icc.surw.chel.su simple biorythm calculation program --- games/biorythm/Makefile | 36 ++++++++++++++++++++++++++++++++++++ games/biorythm/distinfo | 1 + games/biorythm/files/patch-aa | 28 ++++++++++++++++++++++++++++ games/biorythm/pkg-comment | 1 + games/biorythm/pkg-descr | 15 +++++++++++++++ games/biorythm/pkg-plist | 5 +++++ 6 files changed, 86 insertions(+) create mode 100644 games/biorythm/Makefile create mode 100644 games/biorythm/distinfo create mode 100644 games/biorythm/files/patch-aa create mode 100644 games/biorythm/pkg-comment create mode 100644 games/biorythm/pkg-descr create mode 100644 games/biorythm/pkg-plist (limited to 'games/biorythm') diff --git a/games/biorythm/Makefile b/games/biorythm/Makefile new file mode 100644 index 000000000000..219f5a412fdf --- /dev/null +++ b/games/biorythm/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: biorythm +# Version required: 1.1.1 +# Date created: 4 May 1999 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= biorythm-1.1.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SUNSITE} \ + http://home.sol.no/~sverrehu/pub-unix/files/ +MASTER_SITE_SUBDIR= games/amusements + +MAINTAINER= andy@icc.surw.chel.su + +LIB_DEPENDS= shhmsg.1:${PORTSDIR}/devel/libshhmsg \ + shhopt.1:${PORTSDIR}/devel/libshhopt + +USE_GMAKE= yes + +MAN6= biorythm.6 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/biorythm ${PREFIX}/bin + @ ${INSTALL_MAN} ${WRKSRC}/biorythm.6 ${PREFIX}/man/man6 + +post-install: +.if !defined (NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/biorythm +.for file in CREDITS ChangeLog README + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/biorythm +.endfor +.endif + +.include diff --git a/games/biorythm/distinfo b/games/biorythm/distinfo new file mode 100644 index 000000000000..20b033d67a88 --- /dev/null +++ b/games/biorythm/distinfo @@ -0,0 +1 @@ +MD5 (biorythm-1.1.1.tar.gz) = 0c304a6c37d56cb2d3c11e77225745b5 diff --git a/games/biorythm/files/patch-aa b/games/biorythm/files/patch-aa new file mode 100644 index 000000000000..dc818b4b8fb2 --- /dev/null +++ b/games/biorythm/files/patch-aa @@ -0,0 +1,28 @@ +--- Makefile Sun Jul 5 19:55:11 1998 ++++ /home/andy/tmp/wrk/Makefile Tue May 4 10:55:11 1999 +@@ -11,10 +11,10 @@ + ########################################################################### + + # where are shhmsg and shhopt? +-INCDIR = -I/usr/local/include +-LIBDIR = -L/usr/local/lib ++INCDIR = -I$(LOCALBASE)/include ++LIBDIR = -L$(LOCALBASE)/lib + +-INSTBASEDIR = /usr/local ++INSTBASEDIR = $(PREFIX) + INSTBINDIR = $(INSTBASEDIR)/games + INSTMANDIR = $(INSTBASEDIR)/man/man6 + INSTALL = install -m 644 +@@ -27,9 +27,9 @@ + + ########################################################################### + +-CC = gcc ++#CC = gcc + +-OPTIM = -O2 ++OPTIM = $(CFLAGS) + CCOPT = -Wall $(OPTIM) $(INCDIR) $(DEFINES) $(CFLAGS) + LDOPT = -s $(LIBDIR) $(LDFLAGS) + diff --git a/games/biorythm/pkg-comment b/games/biorythm/pkg-comment new file mode 100644 index 000000000000..8150895a0d64 --- /dev/null +++ b/games/biorythm/pkg-comment @@ -0,0 +1 @@ +simple biorythm calculation program diff --git a/games/biorythm/pkg-descr b/games/biorythm/pkg-descr new file mode 100644 index 000000000000..5fb94d9ee9e3 --- /dev/null +++ b/games/biorythm/pkg-descr @@ -0,0 +1,15 @@ +This program calculates a simple biorythm plot based on the given date +of birth. The plot starts at the given first day of plot, and includes +the number of days indicated on the command line. + +Dates must be entered according to ISO date format, that is: +YYYY-MM-DD, four digit year, two digit month, and two digit day of +month. + +The default plot includes emotional, intellectual and physical +curves. This may be overridden by command line options. + +The author has no idea how to interpret the plot, so please don't ask +him about it. + +WWW: http://home.sol.no/~sverrehu/pub-unix/ diff --git a/games/biorythm/pkg-plist b/games/biorythm/pkg-plist new file mode 100644 index 000000000000..d20fc31815a5 --- /dev/null +++ b/games/biorythm/pkg-plist @@ -0,0 +1,5 @@ +bin/biorythm +share/doc/biorythm/CREDITS +share/doc/biorythm/ChangeLog +share/doc/biorythm/README +@dirrm share/doc/biorythm -- cgit v1.2.3