• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD$
2
3PORTNAME=	capstone
4PORTVERSION=	3.0.3
5CATEGORIES=	devel
6MASTER_SITES=	http://capstone-engine.org/download/${PORTVERSION}/
7
8MAINTAINER=	oliver.pntr@gmail.com
9COMMENT=	Multi-platform, multi-architecture disassembly framework
10
11LICENSE=	BSD3CLAUSE
12
13USES=		gmake
14USE_LDCONFIG=	yes
15
16MAKE_ENV+=	INSTALL_LIB="${INSTALL_LIB}" \
17		INSTALL_DATA="${INSTALL_DATA}"
18
19post-build:
20	# The pkgconfig file is generated and points to stagedir
21	${REINPLACE_CMD} -e '/libdir/s|\(libdir=\)\(.*\)\(devel/capstone/work/stage\)|\1|g' ${WRKSRC}/capstone.pc
22
23.include <bsd.port.mk>
24