pkgsrc-WIP-changes archive

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

libtpl: simplify, fix pkglint warnings.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri May 19 15:01:36 2017 +0200
Changeset:	819368ca35ef384faa4c803b0d1fa0afbfa60877

Modified Files:
	libtpl/Makefile
	libtpl/distinfo

Log Message:
libtpl: simplify, fix pkglint warnings.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=819368ca35ef384faa4c803b0d1fa0afbfa60877

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libtpl/Makefile | 19 ++++++-------------
 libtpl/distinfo |  8 ++++----
 2 files changed, 10 insertions(+), 17 deletions(-)

diffs:
diff --git a/libtpl/Makefile b/libtpl/Makefile
index 7af11526e9..30e466b3d4 100644
--- a/libtpl/Makefile
+++ b/libtpl/Makefile
@@ -1,28 +1,21 @@
 # $NetBSD$
-#
-GITHUB_PROJECT=	tpl
-DISTNAME=	v1.6.1
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
-CATEGORIES=	wip
+
+DISTNAME=	tpl-1.6.1
+CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=troydhanson/}
-EXTRACT_SUFX=	.zip
-DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	angelmadames%gmail.com@localhost
 HOMEPAGE=	https://github.com/troydhanson/tpl/
 COMMENT=	Store and reload your C data
-LICENSE=	BSD
+LICENSE=	2-clause-bsd
 
 GNU_CONFIGURE= 	yes
 USE_LIBTOOL=	yes
 USE_TOOLS+=	automake autoconf aclocal
 USE_LANGUAGES=	c c++
-WRKSRC=			${WRKDIR}/tpl-1.6.1
-CONFIGURE_ARGS+=	${PREFIX}
 
 pre-configure:
-	set -x; cd ${WRKSRC}; libtoolize --copy --force; aclocal -I config; autoheader; automake --foreign --add-missing --copy; autoconf
-post-install:
-	${LIBTOOL} --finish ${PREFIX}/lib
+	set -x; cd ${WRKSRC}; autoreconf -fiv
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/libtpl/distinfo b/libtpl/distinfo
index 494e0e5d34..690e98c4cc 100644
--- a/libtpl/distinfo
+++ b/libtpl/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (tpl/v1.6.1.zip) = 623b1d2a46c2d8c00ae99d106b4399f33db91f52
-RMD160 (tpl/v1.6.1.zip) = a7cda870564a686af23c2ae8e3e3ac1d58278a3a
-SHA512 (tpl/v1.6.1.zip) = a4a355c0443c89c13ac7c1bf9fff06fcfc4e857167b11c04297d7b473ba5536cf92ea1e79f0d044b128466e8607a60914d5c78b5b55f1744b3c0ab5113f46ab4
-Size (tpl/v1.6.1.zip) = 286728 bytes
+SHA1 (tpl-1.6.1.tar.gz) = 2ee92627e8f67400061d8fc606b601988ed90217
+RMD160 (tpl-1.6.1.tar.gz) = c875cb03b850e1202d4b9d385b2a77f1aac812ac
+SHA512 (tpl-1.6.1.tar.gz) = 6ffedb32a849b59a4270f3f613d5a1f1681bfb83d9fdb1e9cad073a11ab9e78da8920067f941e716ceb8486abf130dd057c2cdbe34b615891520faf71b9fd1ed
+Size (tpl-1.6.1.tar.gz) = 189846 bytes


Home | Main Index | Thread Index | Old Index