ports/86161: New port: astro/stardates
Henrik Brautaset Aronsen
freebsd-ports at henrik.synth.no
Thu Sep 15 19:30:14 UTC 2005
The following reply was made to PR ports/86161; it has been noted by GNATS.
From: Henrik Brautaset Aronsen <freebsd-ports at henrik.synth.no>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/86161: New port: astro/stardates
Date: Thu, 15 Sep 2005 21:28:47 +0200
Sorry, I submitted an old shar file. The MAN1 and CC issues are solved in
this new archive.
Henrik
>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:
#
# stardates
# stardates/distinfo
# stardates/Makefile
# stardates/files
# stardates/files/patch-Makefile
# stardates/pkg-descr
# stardates/pkg-plist
#
echo c - stardates
mkdir -p stardates > /dev/null 2>&1
echo x - stardates/distinfo
sed 's/^X//' >stardates/distinfo << 'END-of-stardates/distinfo'
XMD5 (stardates-1.6.1.tar.gz) = 266e8671fdea2048f7d99f0e5338d156
XSIZE (stardates-1.6.1.tar.gz) = 15610
END-of-stardates/distinfo
echo x - stardates/Makefile
sed 's/^X//' >stardates/Makefile << 'END-of-stardates/Makefile'
X# New ports collection makefile for: stardates
X# Date created: 15 September 2005
X# Whom: freebsd-ports at henrik.synth.no
X#
X# $FreeBSD$
X#
X
XPORTNAME= stardates
XPORTVERSION= 1.6.1
XCATEGORIES= astro
XMASTER_SITES= ftp://ftp.cc.umanitoba.ca/startrek/stardates-pgms/ \
X http://trek.starshine.org/downlink/utilities/ \
X http://trek-stage.parts-unknown.org/downlink/
X
XMAINTAINER= freebsd-ports at henrik.synth.no
XCOMMENT= Displays date in 5 formats (including stardate of course)
X
XMAN1= stardate.1
X
XAUTHOR= Andrew Main <zefram at fysh.org>
X
Xdo-install:
X ${INSTALL} ${WRKSRC}/stardate ${PREFIX}/bin/
X ${INSTALL_MAN} ${WRKSRC}/stardate.1 ${MAN1PREFIX}/man/man1/stardate.1
X
X.include <bsd.port.mk>
END-of-stardates/Makefile
echo c - stardates/files
mkdir -p stardates/files > /dev/null 2>&1
echo x - stardates/files/patch-Makefile
sed 's/^X//' >stardates/files/patch-Makefile << 'END-of-stardates/files/patch-Makefile'
Xdiff -urN Makefile.orig Makefile
X--- Makefile.orig Thu Jan 1 01:00:00 1970
X+++ Makefile Thu Sep 15 15:11:50 2005
X@@ -0,0 +1,7 @@
X+all: default
X+
X+default:
X+ ${CC} stardate.c -o stardate
X+
X+clean:
X+ rm stardate
END-of-stardates/files/patch-Makefile
echo x - stardates/pkg-descr
sed 's/^X//' >stardates/pkg-descr << 'END-of-stardates/pkg-descr'
XDisplays date in 5 formats (including stardate of course)
X
XAuthor: Andrew Main <zefram at fysh.org>
END-of-stardates/pkg-descr
echo x - stardates/pkg-plist
sed 's/^X//' >stardates/pkg-plist << 'END-of-stardates/pkg-plist'
Xbin/stardate
END-of-stardates/pkg-plist
exit
More information about the freebsd-ports-bugs
mailing list