mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
4adc756b76
PR: 193307 Submitted by: Gasol Wu Approved by: maintainer
24 lines
567 B
Makefile
24 lines
567 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= capstone
|
|
PORTVERSION= 2.1.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://capstone-engine.org/download/${PORTVERSION}/
|
|
|
|
MAINTAINER= oliver.pntr@gmail.com
|
|
COMMENT= Multi-platform, multi-architecture disassembly framework
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" \
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
|
|
|
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>
|