pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zmap: Use MASTER_SITE_GITHUB and GITHUB_TAG
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Aug 14 16:33:44 2018 +0200
Changeset: c033f4593705460730b3fcb5f8f02675eaa36512
Modified Files:
zmap/Makefile
zmap/distinfo
Log Message:
zmap: Use MASTER_SITE_GITHUB and GITHUB_TAG
This permit to simplify a bit the Makefile and avoid PKGNAME,
DIST_SUBDIR and redefining WRKSRC.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c033f4593705460730b3fcb5f8f02675eaa36512
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zmap/Makefile | 9 +++------
zmap/distinfo | 7 ++++---
2 files changed, 7 insertions(+), 9 deletions(-)
diffs:
diff --git a/zmap/Makefile b/zmap/Makefile
index bb6862474c..911337452e 100644
--- a/zmap/Makefile
+++ b/zmap/Makefile
@@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.3 2015/01/20 12:02:10 ahp-nils Exp $
-DISTNAME= v1.2.1
-PKGNAME= ${DISTNAME:S/v/zmap-/}
+DISTNAME= zmap-1.2.1
CATEGORIES= net
-MASTER_SITES= https://github.com/zmap/zmap/archive/
-DIST_SUBDIR= zmap
+MASTER_SITES= ${MASTER_SITE_GITHUB:=zmap/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://zmap.io/
@@ -13,8 +12,6 @@ LICENSE= apache-2.0
BUILD_DEPENDS+= gengetopt-[0-9]*:../../devel/gengetopt
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-
USE_CMAKE= yes
USE_TOOLS+= yacc
diff --git a/zmap/distinfo b/zmap/distinfo
index bb9232fe6d..1d6d784df7 100644
--- a/zmap/distinfo
+++ b/zmap/distinfo
@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.6 2015/01/20 12:02:10 ahp-nils Exp $
-SHA1 (zmap/v1.2.1.tar.gz) = 1ce5529d8685a7b7fbca1f3b04670b1614838fa7
-RMD160 (zmap/v1.2.1.tar.gz) = 1b15b7ce0702ef25129d6566dd44521dfc1e8fb3
-Size (zmap/v1.2.1.tar.gz) = 99840 bytes
+SHA1 (zmap-1.2.1.tar.gz) = 1ce5529d8685a7b7fbca1f3b04670b1614838fa7
+RMD160 (zmap-1.2.1.tar.gz) = 1b15b7ce0702ef25129d6566dd44521dfc1e8fb3
+SHA512 (zmap-1.2.1.tar.gz) = 1b3d7fa41bb75c859463f3ec8bcde31778f5d91a6f561aa9638ba93be97dacdba89493574581ce52aebcf093a86b042dcce41cffe6cb0849bb76a6005b714be2
+Size (zmap-1.2.1.tar.gz) = 99840 bytes
SHA1 (patch-src_CMakeLists.txt) = 482ba413114f4928a721b2a372015ff02c5daa40
Home |
Main Index |
Thread Index |
Old Index