summaryrefslogblamecommitdiff
path: root/misc/cloc/Makefile
blob: 74c73210dda772f1084dfa97509030dcf4d55787 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        
           

                    
                    
                    
                                                          

                   
                                  

                                    

                                                                        

                     






                                     
                                                                          

                      
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	cloc
PORTVERSION=	1.62
CATEGORIES=	misc
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
EXTRACT_SUFX=	.pl

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Counts lines of code

RUN_DEPENDS=	p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff

USES=		perl5
USE_PERL5=	run
EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	./${PORTNAME}
PLIST_FILES=	bin/${PORTNAME}
NO_BUILD=	yes

do-install:
	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>