Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 18:48:08 +0100 (CET)
From:      Philip Paeps <philip@paeps.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47148: New ports: devel/p5-Date-Roman, math/p5-Roman
Message-ID:  <20030116174808.0BF202D@juno.home.paeps.cx>

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

>Number:         47148
>Category:       ports
>Synopsis:       New ports: devel/p5-Date-Roman, math/p5-Roman
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 16 09:50:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Philip Paeps
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD juno.home.paeps.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #8: 
Mon Jan 13 13:03:18 CET 2003 philip@juno.home.paeps.cx:/usr/obj/usr/src/sys/JUNO i386
	
>Description:
	
	Two new ports.  The math/p5-Roman port will convert 'ordinary' Arabic
	numerals into their Roman couterparts.  Comes in handy when trying to
	decipher copyright messages on BBC.  The devel/p5-Date-Roman port
	translates 'modern' dates into the format used by the ancient Romans.
	Makes for an interesting addition to e-mail headers.

>How-To-Repeat:
	
	Extract the shell-archives from the Fix-section, build the ports.  Share
	and enjoy!

>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:
#
#	p5-Roman/
#	p5-Roman/pkg-plist
#	p5-Roman/pkg-descr
#	p5-Roman/pkg-comment
#	p5-Roman/distinfo
#	p5-Roman/Makefile
#
echo c - p5-Roman/
mkdir -p p5-Roman/ > /dev/null 2>&1
echo x - p5-Roman/pkg-plist
sed 's/^X//' >p5-Roman/pkg-plist << 'END-of-p5-Roman/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Roman.pm
END-of-p5-Roman/pkg-plist
echo x - p5-Roman/pkg-descr
sed 's/^X//' >p5-Roman/pkg-descr << 'END-of-p5-Roman/pkg-descr'
XA Perl package providing the functionality to convert between 
XArabic and Roman numerals.
X
XWWW: http://search.cpan.org/author/OZAWA/Roman-1.1/Roman.pm
END-of-p5-Roman/pkg-descr
echo x - p5-Roman/pkg-comment
sed 's/^X//' >p5-Roman/pkg-comment << 'END-of-p5-Roman/pkg-comment'
XPerl module to convert between Arabic and Roman numerals
END-of-p5-Roman/pkg-comment
echo x - p5-Roman/distinfo
sed 's/^X//' >p5-Roman/distinfo << 'END-of-p5-Roman/distinfo'
XMD5 (Roman-1.1.tar.gz) = 67b0e6affdc50fdf28cfc438c045fd9b
END-of-p5-Roman/distinfo
echo x - p5-Roman/Makefile
sed 's/^X//' >p5-Roman/Makefile << 'END-of-p5-Roman/Makefile'
X# New ports collection makefile for:	p5-Roman
X# Date created:				16 January 2003
X# Whom:	      				Philip Paeps <philip@paeps.cx>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Roman
XPORTVERSION=	1.1
XCATEGORIES=	math perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Roman
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	philip@paeps.cx
X
XNO_BUILD=	yes
X
XSITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
X
Xdo-install:
X	${CP} ${WRKSRC}/Roman.pm ${SITE_PERL}
X
X.include <bsd.port.mk>
END-of-p5-Roman/Makefile
exit


# 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:
#
#	p5-Date-Roman
#	p5-Date-Roman/Makefile
#	p5-Date-Roman/distinfo
#	p5-Date-Roman/pkg-plist
#	p5-Date-Roman/pkg-descr
#	p5-Date-Roman/pkg-comment
#
echo c - p5-Date-Roman
mkdir -p p5-Date-Roman > /dev/null 2>&1
echo x - p5-Date-Roman/Makefile
sed 's/^X//' >p5-Date-Roman/Makefile << 'END-of-p5-Date-Roman/Makefile'
X# New ports collection makefile for:	p5-Date-Roman
X# Date created:				16 January 2003
X# Whom:	      				Philip Paeps <philip@paeps.cx>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Date-Roman
XPORTVERSION=	1.05
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Date
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	philip@paeps.cx
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Roman.pm:${PORTSDIR}/math/p5-Roman
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=	Date::Roman.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
XSITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
X
X.include <bsd.port.mk>
END-of-p5-Date-Roman/Makefile
echo x - p5-Date-Roman/distinfo
sed 's/^X//' >p5-Date-Roman/distinfo << 'END-of-p5-Date-Roman/distinfo'
XMD5 (Date-Roman-1.05.tar.gz) = 8d12c48a3bc4cc9e73b1ee7a20138ce1
END-of-p5-Date-Roman/distinfo
echo x - p5-Date-Roman/pkg-plist
sed 's/^X//' >p5-Date-Roman/pkg-plist << 'END-of-p5-Date-Roman/pkg-plist'
Xbin/RomanDate
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Roman/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/perllocal.pod
Xlib/perl5/site_perl/%%PERL_VER%%/Date/Roman.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Roman
X@unexec rmdir %Dlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date 2>/dev/null || true
X@unexec rmdir %Dlib/perl5/site_perl/%%PERL_VER%%/Date 2>/dev/null || true
END-of-p5-Date-Roman/pkg-plist
echo x - p5-Date-Roman/pkg-descr
sed 's/^X//' >p5-Date-Roman/pkg-descr << 'END-of-p5-Date-Roman/pkg-descr'
XThis Perl module deals with Roman dates.  Very useful for generating custom
Xheaders for e-mail messages, or just to dazzle and confuse friends, relatives
Xand complete strangers.
X
XWWW: http://search.cpan.org/author/HOBBIT/Date-Roman-1.05/lib/Date/Roman.pm
END-of-p5-Date-Roman/pkg-descr
echo x - p5-Date-Roman/pkg-comment
sed 's/^X//' >p5-Date-Roman/pkg-comment << 'END-of-p5-Date-Roman/pkg-comment'
XPerl module to play with Roman dates
END-of-p5-Date-Roman/pkg-comment
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030116174808.0BF202D>