freebsd-ports/devel/py-lief/Makefile
Neal Nelson 2cde3efd90 devel/py-lief: New Port
The purpose of this project is to provide a cross platform library which
can parse, modify and abstract ELF, PE and MachO formats.

Main features:

- Parsing: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and
  provides a user-friendly API to access to format internals.
- Modify: LIEF enables to modify some parts of these formats
- Abstract: Three formats have common features like sections, symbols,
  entry point... LIEF factors them.
- API: LIEF can be used in C, C++ and Python

WWW: https://github.com/lief-project/lief
PR:		257041
2023-09-01 19:16:15 +02:00

26 lines
642 B
Makefile

PORTNAME= lief
DISTVERSION= 0.11.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@nicandneal.net
COMMENT= Library to instrument executable formats
WWW= https://github.com/lief-project/lief
LICENSE= APACHE20
# Note: cmake is needed to build, but distutils is used directly.
# If USES= cmake is set, the build will not work.
BUILD_DEPENDS= cmake:devel/cmake
USES= python zip
USE_PYTHON= concurrent distutils
PY_VER= ${PYTHON_VER:S/.//}
PLIST_SUB= PY_VER=${PY_VER}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lief.cpython-${PY_VER}.so
.include <bsd.port.mk>