summaryrefslogtreecommitdiffstats
path: root/devel/capstone/Makefile
blob: 098c9185d8f04cd73ea9ef3f117677fe2bc973ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$

PORTNAME=	capstone
PORTVERSION=	2.0
CATEGORIES=	devel
MASTER_SITES=	http://capstone-engine.org/download/2.0/

MAINTAINER=	oliver.pntr@gmail.com
COMMENT=	Multi-platform, multi-architecture disassembly framework

LICENSE=	BSD3CLAUSE

USES=		gmake
USE_LDCONFIG=	yes

MAKE_ENV=	INSTALL_LIBRARY="${INSTALL_LIB}"

post-build:
	# The pkgconfig file is generated and points to stagedir
	${REINPLACE_CMD} -e '/libdir/s|\(libdir=\)\(.*\)\(devel/capstone/work/stage\)|\1|g' ${WRKSRC}/capstone.pc

.include <bsd.port.mk>
OpenPOWER on IntegriCloud