From c929a40b30f6ab038b6989f4a19e555b35eb1c8d Mon Sep 17 00:00:00 2001 From: Kamel Ibn Aziz Derouiche Date: Wed, 28 Dec 2011 21:45:18 +0000 Subject: [PATCH] Update 1.51 --> 1.55 change: o added dependency: p5-Getopt-Long,p5-IO o Update COMMENT --- cloc/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/cloc/Makefile b/cloc/Makefile index 60eeaee253..00bbdee6b3 100644 --- a/cloc/Makefile +++ b/cloc/Makefile @@ -1,27 +1,31 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/05/14 21:46:41 jihbed Exp $ +# $NetBSD: Makefile,v 1.2 2011/12/28 21:45:18 jihbed Exp $ # -DISTNAME= cloc-1.51 -CATEGORIES= devel -MASTER_SITES= http://garr.dl.sourceforge.net/project/cloc/cloc/v1.51/ +DISTNAME= cloc-1.55 +CATEGORIES= devel perl +MASTER_SITES= http://switch.dl.sourceforge.net/project/cloc/cloc/v1.55/ EXTRACT_SUFX= .pl MAINTAINER= kamel.derouiche@gmail.com HOMEPAGE= http://cloc.sourceforge.net/ -COMMENT= Versatile source code counter +COMMENT= Statistics utility to count lines of code LICENSE= gnu-gpl-v2 +DEPENDS+= p5-Getopt-Long>=2.38:../../devel/p5-Getopt-Long +DEPENDS+= p5-IO>=1.25:../../devel/p5-IO + PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} -USE_LANGUAGES= # none NO_BUILD= yes +REPLACE_PERL+= ${DISTNAME}.pl + INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/cloc-1.51.pl ${DESTDIR}${PREFIX}/bin/cloc + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.pl ${DESTDIR}${PREFIX}/bin/cloc .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk"