summaryrefslogblamecommitdiff
path: root/news/cleanscore/Makefile
blob: 6c97291499dca99bc0bf13030b521a976815e540 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                         
                                 
                                                              















                                                            
# 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
COMMENT=	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>