summaryrefslogtreecommitdiff
path: root/devel/capstone
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-06-13 01:51:04 +0000
committerkamil <kamil@pkgsrc.org>2016-06-13 01:51:04 +0000
commit8aece8d8d101dd6ff671f6dec57017bffe074d79 (patch)
treec3e658da5c365a6d4f8b7d7049106bced5f2c4e3 /devel/capstone
parenta74dbc61e9a94f93a953b81a70a7331b8f46984d (diff)
downloadpkgsrc-8aece8d8d101dd6ff671f6dec57017bffe074d79.tar.gz
Prepare devel/capstone for split for the base package and bindings
Fix pkglint warnings (whitespace). Bump PKGREVISION.
Diffstat (limited to 'devel/capstone')
-rw-r--r--devel/capstone/Makefile17
-rw-r--r--devel/capstone/Makefile.common12
-rw-r--r--devel/capstone/buildlink3.mk4
3 files changed, 22 insertions, 11 deletions
diff --git a/devel/capstone/Makefile b/devel/capstone/Makefile
index c6fb7e319b1..669fc23d7b4 100644
--- a/devel/capstone/Makefile
+++ b/devel/capstone/Makefile
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.8 2016/02/20 11:40:30 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2016/06/13 01:51:04 kamil Exp $
-DISTNAME= capstone-3.0.4
-PKGREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GITHUB:=aquynh/}
+.include "Makefile.common"
+
+PKGREVISION= 2
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.capstone-engine.org/
COMMENT= Lightweight multi-platform, multi-architecture disassembly framework
LICENSE= modified-bsd
-PKGCONFIG_OVERRIDE+= capstone.pc
+PKGCONFIG_OVERRIDE+= capstone.pc
PKGCONFIG_OVERRIDE_STAGE= post-build
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake
# succeeds after 'make install'
-TEST_TARGET= check
+TEST_TARGET= check
+# Don't use FreeBSD/DragonFly specific paths
ALL_ENV+= USE_GENERIC_LIBDATADIR=yes
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/capstone/Makefile.common b/devel/capstone/Makefile.common
new file mode 100644
index 00000000000..1d371cc9749
--- /dev/null
+++ b/devel/capstone/Makefile.common
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile.common,v 1.1 2016/06/13 01:51:04 kamil Exp $
+#
+# used by devel/py-capstone/Makefile
+
+DISTNAME= capstone-3.0.4
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=aquynh/}
+
+HOMEPAGE= http://www.capstone-engine.org/
+
+DISTINFO_FILE= ${.CURDIR}/../../devel/capstone/distinfo
+PATCHDIR= ${.CURDIR}/../../devel/capstone/patches
diff --git a/devel/capstone/buildlink3.mk b/devel/capstone/buildlink3.mk
index b33fd9d1da8..c6c65e61597 100644
--- a/devel/capstone/buildlink3.mk
+++ b/devel/capstone/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/12/05 11:51:58 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2016/06/13 01:51:04 kamil Exp $
BUILDLINK_TREE+= capstone
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= capstone
CAPSTONE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.capstone+= capstone>=3.0
-BUILDLINK_PKGSRCDIR.capstone?= ../../devel/capstone
+BUILDLINK_PKGSRCDIR.capstone?= ../../devel/capstone
.endif # CAPSTONE_BUILDLINK3_MK
BUILDLINK_TREE+= -capstone