mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
d9611f9375
Approved by: pat
32 lines
709 B
Makefile
32 lines
709 B
Makefile
# New ports collection makefile for: cleanscore
|
|
# Date created: 10 April 2002
|
|
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cleanscore
|
|
PORTVERSION= 0.9.8.1
|
|
CATEGORIES= news
|
|
MASTER_SITES= http://slrn.sourceforge.net/cleanscore/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
PORTCOMMENT= A perl script to clean up your slrn score file
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's|^use warnings|#use warnings|g ; \
|
|
s|^our |my |g' ${WRKSRC}/cleanscore
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cleanscore ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|