summaryrefslogtreecommitdiff
path: root/news/cleanscore/Makefile
blob: 6be566176b5f861857fdfce96b46832fb224507d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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_RUN=	yes
NO_BUILD=	yes

PORTDOCS=	README
PLIST_FILES=	bin/cleanscore

post-patch:
	@${REINPLACE_CMD} '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>