Bug 36971 - New port: news/cleanscore
Summary: New port: news/cleanscore
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-10 19:00 UTC by obraun
Modified: 2002-07-11 07:43 UTC (History)
0 users

See Also:


Attachments
file.shar (1.89 KB, text/plain)
2002-04-10 19:00 UTC, obraun
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description obraun 2002-04-10 19:00:02 UTC
cleanscore is a perl script to clean up your slrn score file.

WWW: http://slrn.sourceforge.net/cleanscore/

Regards,
         Olli
Comment 1 obraun 2002-07-10 22:22:46 UTC
New shar with improvements.

* Make it work on -stable with PERL_VER == 5.005.
* Install README in DOCSDIR, unless NOPORTDOCS is defined.

Regards,
         Olli


# 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:
#
#	cleanscore
#	cleanscore/pkg-descr
#	cleanscore/Makefile
#	cleanscore/distinfo
#	cleanscore/pkg-comment
#	cleanscore/pkg-plist
#
echo c - cleanscore
mkdir -p cleanscore > /dev/null 2>&1
echo x - cleanscore/pkg-descr
sed 's/^X//' >cleanscore/pkg-descr << 'END-of-cleanscore/pkg-descr'
Xcleanscore is a perl script to clean up your slrn score file.
XIt can be used to purge expired entries automatically, e.g. by
Xcalling it from cron.
X
XWWW: http://slrn.sourceforge.net/cleanscore/
X
X- Oliver Braun
Xobraun@informatik.unibw-muenchen.de
END-of-cleanscore/pkg-descr
echo x - cleanscore/Makefile
sed 's/^X//' >cleanscore/Makefile << 'END-of-cleanscore/Makefile'
X# New ports collection makefile for:   cleanscore
X# Date created:        10 April 2002
X# Whom:                Oliver Braun <obraun@informatik.unibw-muenchen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cleanscore
XPORTVERSION=	0.9.8.1
XCATEGORIES=	news
XMASTER_SITES=	http://slrn.sourceforge.net/cleanscore/
X
XMAINTAINER=	obraun@informatik.unibw-muenchen.de
X
XUSE_PERL5=	yes
XNO_BUILD=	yes
X
X.if !defined(PERL_VER) || ${PERL_VER} == 5.005
XUSE_REINPLACE=	yes
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|^use warnings|#use warnings|g ; \
X		s|^our |my |g' ${WRKSRC}/cleanscore
X.endif
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/cleanscore ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-cleanscore/Makefile
echo x - cleanscore/distinfo
sed 's/^X//' >cleanscore/distinfo << 'END-of-cleanscore/distinfo'
XMD5 (cleanscore-0.9.8.1.tar.gz) = c1e3c6c0223255cc4c08df09795add07
END-of-cleanscore/distinfo
echo x - cleanscore/pkg-comment
sed 's/^X//' >cleanscore/pkg-comment << 'END-of-cleanscore/pkg-comment'
XA perl script to clean up your slrn score file
END-of-cleanscore/pkg-comment
echo x - cleanscore/pkg-plist
sed 's/^X//' >cleanscore/pkg-plist << 'END-of-cleanscore/pkg-plist'
Xbin/cleanscore
X%%PORTDOCS%%share/doc/cleanscore/README
X%%PORTDOCS%%@dirrm share/doc/cleanscore
END-of-cleanscore/pkg-plist
exit
Comment 2 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-07-11 07:42:53 UTC
State Changed
From-To: open->closed

committed, thanks