pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/calltree-perl calltree-perl: simplify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d25239466f9
branches:  trunk
changeset: 379088:1d25239466f9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 23 06:09:50 2018 +0000

description:
calltree-perl: simplify

diffstat:

 devel/calltree-perl/Makefile |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r d749edefa9d1 -r 1d25239466f9 devel/calltree-perl/Makefile
--- a/devel/calltree-perl/Makefile      Mon Apr 23 03:24:21 2018 +0000
+++ b/devel/calltree-perl/Makefile      Mon Apr 23 06:09:50 2018 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2017/09/04 05:40:44 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2018/04/23 06:09:50 wiz Exp $
 
 DISTNAME=      Calltree-perl_pl
-PKGNAME=       ${DISTNAME:tl:S/_pl//}-0.1
-COMMAND_NAME=  ${DISTNAME:tl:S/_pl/.pl/}
+PKGNAME=       calltree-perl-0.1
 CATEGORIES=    devel
 #MASTER_SITES= http://gw55.quarry.iu.teragrid.org/mediawiki/images/3/39/
+DIST_SUBDIR=   ${PKGNAME_NOREV}
 EXTRACT_SUFX=  # empty
-DIST_SUBDIR=   ${PKGNAME_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 #HOMEPAGE=     http://gw55.quarry.iu.teragrid.org/mediawiki/index.php?title=Perl_Static_Source_Code_Analysis
@@ -27,7 +26,6 @@
        ${DO_NADA}
 
 do-install:
-       (cd     ${WRKDIR} ; \
-       ${INSTALL} ${DISTNAME} ${DESTDIR}${PREFIX}/bin/${COMMAND_NAME})
+       ${INSTALL} ${WRKDIR}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/calltree-perl.pl
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index