pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/liblnk liblnk: fix PKGNAME. Simplify version num...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7faee3636411
branches:  trunk
changeset: 377727:7faee3636411
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 21 13:30:08 2018 +0000

description:
liblnk: fix PKGNAME. Simplify version number handling. Add test target.

diffstat:

 devel/liblnk/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 3cfcaae334b0 -r 7faee3636411 devel/liblnk/Makefile
--- a/devel/liblnk/Makefile     Wed Mar 21 13:27:13 2018 +0000
+++ b/devel/liblnk/Makefile     Wed Mar 21 13:30:08 2018 +0000
@@ -1,19 +1,21 @@
-# $NetBSD: Makefile,v 1.1 2018/03/21 13:16:13 manu Exp $
+# $NetBSD: Makefile,v 1.2 2018/03/21 13:30:08 wiz Exp $
 
 DISTNAME=      liblnk-alpha-20171101
-PKGNAME=       liblnk
+PKGNAME=       ${DISTNAME:S/-alpha//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libyal/}
-GITHUB_RELEASE=        20171101
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/libyal/liblnk/wiki
 COMMENT=       Library to handle Windows .lnk shortcuts
 LICENSE=       gnu-lgpl-v3
 
-WRKSRC=                ${WRKDIR}/liblnk-20171101
-
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
+TEST_TARGET=   check
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+USE_TOOLS+=    bash
+REPLACE_BASH+= tests/*.sh
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index