pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/libhidapi Be lazy and use GITHUB_* variables in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1aea1fd25b5
branches:  trunk
changeset: 649503:a1aea1fd25b5
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Fri Apr 03 22:36:02 2015 +0000

description:
Be lazy and use GITHUB_* variables in WRKSRC and INSTALLATION_DIRS.

diffstat:

 comms/libhidapi/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 5311c162b572 -r a1aea1fd25b5 comms/libhidapi/Makefile
--- a/comms/libhidapi/Makefile  Fri Apr 03 22:31:32 2015 +0000
+++ b/comms/libhidapi/Makefile  Fri Apr 03 22:36:02 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/04/03 22:29:12 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2015/04/03 22:36:02 rodent Exp $
 
 GITHUB_PROJECT=        hidapi
 GITHUB_TAG=    ${GITHUB_PROJECT}-0.7.0
@@ -16,8 +16,8 @@
 USE_TOOLS+=    gmake pkg-config
 
 NO_CONFIGURE=          yes
-WRKSRC=                        ${WRKDIR}/hidapi-${DISTNAME}
-INSTALLATION_DIRS+=    include/hidapi lib
+WRKSRC=                        ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+INSTALLATION_DIRS+=    include/${GITHUB_PROJECT} lib
 
 .include "../../mk/bsd.fast.prefs.mk"
 



Home | Main Index | Thread Index | Old Index