aboutsummaryrefslogtreecommitdiffstats
path: root/misc/sloccount/Makefile
blob: 0987df9f30a5b78a9f87dae17da92a8f81670d80 (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
34
# ex:ts=8
# New ports collection makefile for:    sloccount
# Date created:         May 21, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   sloccount
PORTVERSION=    2.13
CATEGORIES= misc
MASTER_SITES=   http://www.dwheeler.com/sloccount/

MAINTAINER= freaky@aagh.net

USE_PERL5=  yes

MAKEFILE=   makefile
INSTALL_TARGET= install_programs install_man

MAN1=       sloccount.1

post-install:
.for file in lexcount1 c_count java_count php_count
    @strip ${PREFIX}/bin/${file}
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ChangeLog README TODO sloccount.html
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>