pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/http-parser Simplify by using more of the github f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51c861474ffe
branches:  trunk
changeset: 347757:51c861474ffe
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 29 14:17:48 2016 +0000

description:
Simplify by using more of the github framework.

diffstat:

 www/http-parser/Makefile |  12 +++---------
 www/http-parser/PLIST    |   5 ++---
 www/http-parser/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 17 deletions(-)

diffs (55 lines):

diff -r fc351b1ec6fe -r 51c861474ffe www/http-parser/Makefile
--- a/www/http-parser/Makefile  Sun May 29 14:03:02 2016 +0000
+++ b/www/http-parser/Makefile  Sun May 29 14:17:48 2016 +0000
@@ -1,21 +1,15 @@
-# $NetBSD: Makefile,v 1.1 2016/05/28 23:09:30 schnoebe Exp $
+# $NetBSD: Makefile,v 1.2 2016/05/29 14:17:48 wiz Exp $
 
-DISTNAME=      v${DISTVER}
-PKGNAME=       ${GITHUB_PROJECT}-${DISTVER}
+DISTNAME=      http-parser-2.7.0
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nodejs/}
-DIST_SUBDIR=   ${GITHUB_PROJECT}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    schnoebe%NetBSD.org@localhost
 HOMEPAGE=      ${MASTER_SITE_GITHUB:=nodejs/http-parser/}
 COMMENT=       Parser for HTTP messages written in C
 LICENSE=       mit
 
-GITHUB_PROJECT=        http-parser
-DISTVER=       2.7.0
-
-WRKSRC=        ${WRKDIR}/${PKGNAME_NOREV}
-
 USE_LANGUAGES=         c
 USE_TOOLS+=            gmake
 BUILD_TARGET=          library
diff -r fc351b1ec6fe -r 51c861474ffe www/http-parser/PLIST
--- a/www/http-parser/PLIST     Sun May 29 14:03:02 2016 +0000
+++ b/www/http-parser/PLIST     Sun May 29 14:17:48 2016 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/05/28 23:09:30 schnoebe Exp $
-@comment $NetBSD: PLIST,v 1.1 2016/05/28 23:09:30 schnoebe Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/05/29 14:17:48 wiz Exp $
 include/http_parser.h
 lib/libhttp_parser.so
-lib/libhttp_parser.so.2.${OS_VERSION}
+lib/libhttp_parser.so.2.7.0
diff -r fc351b1ec6fe -r 51c861474ffe www/http-parser/distinfo
--- a/www/http-parser/distinfo  Sun May 29 14:03:02 2016 +0000
+++ b/www/http-parser/distinfo  Sun May 29 14:17:48 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/05/28 23:09:30 schnoebe Exp $
+$NetBSD: distinfo,v 1.2 2016/05/29 14:17:48 wiz Exp $
 
-SHA1 (http-parser/v2.7.0.tar.gz) = f24bd35cf6d663e2b9f916708d82a96f562bc78b
-RMD160 (http-parser/v2.7.0.tar.gz) = 910c4bb7cf4c5463ad2a54eb82b78d1bc20de877
-SHA512 (http-parser/v2.7.0.tar.gz) = 1fe13b5366e9d161dbce2f6ad340890713413e4c5865d2567cb5ccf5601a52bc03682ecc43bc4e2c5ee9c4f152993a658d87fd43373070da67530c58ad577ee1
-Size (http-parser/v2.7.0.tar.gz) = 48523 bytes
+SHA1 (http-parser-2.7.0.tar.gz) = f24bd35cf6d663e2b9f916708d82a96f562bc78b
+RMD160 (http-parser-2.7.0.tar.gz) = 910c4bb7cf4c5463ad2a54eb82b78d1bc20de877
+SHA512 (http-parser-2.7.0.tar.gz) = 1fe13b5366e9d161dbce2f6ad340890713413e4c5865d2567cb5ccf5601a52bc03682ecc43bc4e2c5ee9c4f152993a658d87fd43373070da67530c58ad577ee1
+Size (http-parser-2.7.0.tar.gz) = 48523 bytes
 SHA1 (patch-Makefile) = d2563f8f1e7d85e3b7d7e1dc53ae20089a0e8cab



Home | Main Index | Thread Index | Old Index