pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint No need to define fake DISTNAME and e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/662f33dcd9dc
branches:  trunk
changeset: 631337:662f33dcd9dc
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Mar 02 09:03:11 2014 +0000

description:
No need to define fake DISTNAME and empty MASTER_SITES and DISTFILES now.
Just define PKGNAME and use it.

diffstat:

 pkgtools/pkglint/Makefile |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r da84c1944a7f -r 662f33dcd9dc pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sun Mar 02 08:56:54 2014 +0000
+++ b/pkgtools/pkglint/Makefile Sun Mar 02 09:03:11 2014 +0000
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.439 2014/02/17 14:33:42 wiz Exp $
+# $NetBSD: Makefile,v 1.440 2014/03/02 09:03:11 obache Exp $
 
 # Note: if you update the version number, please have a look at the
 # changes between the CVS tag "pkglint_current" and HEAD.
 # After updating, please re-set the CVS tag to HEAD.
-DISTNAME=      pkglint-4.136
+PKGNAME=       pkglint-4.136
 CATEGORIES=    pkgtools
-MASTER_SITES=  # none
-DISTFILES=     # none
 
 OWNER=         wiz%NetBSD.org@localhost
 HOMEPAGE=      http://www.NetBSD.org/docs/pkgsrc/
@@ -39,7 +37,7 @@
 SUBST_SED.pkglint+=    -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
 .endif
 SUBST_SED.pkglint+=    -e s\|@PREFIX@\|${PREFIX}\|g
-SUBST_SED.pkglint+=    -e s\|@DISTVER@\|${DISTNAME:S/pkglint-//}\|g
+SUBST_SED.pkglint+=    -e s\|@DISTVER@\|${PKGNAME:S/pkglint-//}\|g
 SUBST_SED.pkglint+=    -e s\|@MAKE@\|${MAKE:Q}\|g
 SUBST_SED.pkglint+=    -e s\|@PERL@\|${PERL5:Q}\|g
 SUBST_SED.pkglint+=    -e s\|@DATADIR@\|${FILESDIR}\|g



Home | Main Index | Thread Index | Old Index