pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/liblnk



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Mar 21 13:30:09 UTC 2018

Modified Files:
        pkgsrc/devel/liblnk: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/liblnk/Makefile

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

Modified files:

Index: pkgsrc/devel/liblnk/Makefile
diff -u pkgsrc/devel/liblnk/Makefile:1.1 pkgsrc/devel/liblnk/Makefile:1.2
--- pkgsrc/devel/liblnk/Makefile:1.1    Wed Mar 21 13:16:13 2018
+++ pkgsrc/devel/liblnk/Makefile        Wed Mar 21 13:30:08 2018
@@ -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