Bug 86161 - New port: astro/stardates
Summary: New port: astro/stardates
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 15:30 UTC by Henrik Brautaset Aronsen
Modified: 2005-09-16 00:57 UTC (History)
0 users

See Also:


Attachments
file.shar (2.28 KB, text/plain)
2005-09-15 15:30 UTC, Henrik Brautaset Aronsen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Brautaset Aronsen 2005-09-15 15:30:13 UTC
 New port: astro/stardates
 Displays date in 5 formats (including stardate of course)
Comment 1 Anton Berezin freebsd_committer freebsd_triage 2005-09-15 15:46:36 UTC
State Changed
From-To: open->feedback

+       ${CC} stardate.c > stardate 

????
Comment 2 Anton Berezin 2005-09-15 15:48:05 UTC
Also, the MAN1 is missing, which leads to broken plist.

-- 
An undefined problem has an infinite number of solutions.
-- Robert A. Humphrey
Comment 3 Henrik Brautaset Aronsen 2005-09-15 20:28:47 UTC
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@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@henrik.synth.no
XCOMMENT=	Displays date in 5 formats (including stardate of course)
X
XMAN1=		stardate.1
X
XAUTHOR=		Andrew Main <zefram@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@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
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-09-16 00:57:47 UTC
State Changed
From-To: feedback->closed

New port added, thank you!