Commit 80f3382d authored by pi's avatar pi
Browse files

devel/capstone: move to capstone3, introduce capstone4

- update py-capstone to use capstone3

PR:		206941
Submitted by:	oleksii.tsai@gmail.com
Approved by:	oliver.pntr@gmail.com (maintainer timeout)
parent 570d2c33
......@@ -8609,3 +8609,4 @@ sysutils/moosefs-master|sysutils/moosefs2-master|2016-07-07|Moved to a numbered
sysutils/moosefs-metalogger|sysutils/moosefs2-metalogger|2016-07-07|Moved to a numbered port name
sysutils/moosefs-netdump|sysutils/moosefs2-netdump|2016-07-07|Moved to a numbered port name
devel/gmake-lite|devel/gmake|2016-07-08|No longer needed
devel/capstone|devel/capstone3|2016-07-10|Moved to a numbered port name to make place for capstone4
......@@ -208,7 +208,8 @@
SUBDIR += c2mdoc
SUBDIR += caf
SUBDIR += calibrator
SUBDIR += capstone
SUBDIR += capstone3
SUBDIR += capstone4
SUBDIR += cargo
SUBDIR += cask
SUBDIR += catch
......
......@@ -10,6 +10,8 @@ COMMENT= Multi-platform, multi-architecture disassembly framework
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
CONFLICTS= capstone4
USES= gmake
USE_LDCONFIG= yes
USE_GITHUB= yes
......
# $FreeBSD$
PORTNAME= capstone
PORTVERSION= 4.0
CATEGORIES= devel
PKGNAMESUFFIX= 4
MAINTAINER= oleksii.tsai@gmail.com
COMMENT= Multi-platform, multi-architecture disassembly framework
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
CONFLICTS= capstone3
USES= gmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= aquynh
GH_TAGNAME= 9031b17
MAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_DATA="${INSTALL_DATA}"
TEST_ENV= ${MAKE_ENV} LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib
TEST_TARGET= check
post-patch:
${REINPLACE_CMD} -i '' \
-e 's|DESTDIR ?=|DESTDIR = ${STAGEDIR}|' \
-e 's|LIBDIR ?=.*|LIBDIR = ${PREFIX}/lib|' \
${WRKSRC}/Makefile
post-install:
${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||g' \
${STAGEDIR}/${PREFIX}/libdata/pkgconfig/capstone.pc
.include <bsd.port.mk>
SHA256 (aquynh-capstone-4.0-9031b17_GH0.tar.gz) = 7ac67cebb971e373e15e57fe863ae191ab1de8c454d02995f3a6996c2b92bdf7
SIZE (aquynh-capstone-4.0-9031b17_GH0.tar.gz) = 3209182
Capstone is a lightweight multi-platform, multi-architecture disassembly
framework.
Features:
* Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86
* Clean/simple/lightweight/intuitive architecture-neutral API
* Provide details on disassembled instruction (called "decomposer")
* Provide some semantics of the disassembled instruction, such as list of
implicit registers read & written.
* Implemented in pure C language, with bindings for Python, Ruby, C#, Java,
GO, OCaml & Vala available.
* Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris)
* Thread-safe by design
* Distributed under the open source BSD license
WWW: http://capstone-engine.org/
include/capstone/arm.h
include/capstone/arm64.h
include/capstone/capstone.h
include/capstone/m68k.h
include/capstone/mips.h
include/capstone/platform.h
include/capstone/ppc.h
include/capstone/sparc.h
include/capstone/systemz.h
include/capstone/x86.h
include/capstone/xcore.h
lib/libcapstone.a
lib/libcapstone.so
lib/libcapstone.so.4
libdata/pkgconfig/capstone.pc
......@@ -3,6 +3,7 @@
PORTNAME= capstone
PORTVERSION= 3.0.4
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......@@ -14,7 +15,7 @@ COMMENT= Python bindings for the Capstone Disassembly Engine
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LIB_DEPENDS= libcapstone.so:devel/capstone
LIB_DEPENDS= libcapstone.so:devel/capstone3
USES= python
USE_PYTHON= autoplist distutils
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment