summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-04-03 22:36:02 +0000
committerrodent <rodent@pkgsrc.org>2015-04-03 22:36:02 +0000
commit8fff9472df4432292cb2041ea73006e799cafda7 (patch)
tree94a21bdc0e5d704c21d0c1b1d142a639e008d540 /comms
parentdb78dda268ba573116d129d6665c8c13b581b944 (diff)
downloadpkgsrc-8fff9472df4432292cb2041ea73006e799cafda7.tar.gz
Be lazy and use GITHUB_* variables in WRKSRC and INSTALLATION_DIRS.
Diffstat (limited to 'comms')
-rw-r--r--comms/libhidapi/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/libhidapi/Makefile b/comms/libhidapi/Makefile
index 4b010256316..584d6607f0d 100644
--- a/comms/libhidapi/Makefile
+++ b/comms/libhidapi/Makefile
@@ -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_LANGUAGES= c c++
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"