1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/devel/elf/Makefile
Dmitry Marakasov 5a64f20c41 - Switch to USES=readline
- Don't use / in sed regexps to allow full path in , unbreaking cross-build with native-x-tools
2015-08-03 16:45:15 +00:00

30 lines
610 B
Makefile

# Created by: Samy Al Bahra <samy@kerneled.org>
# $FreeBSD$
PORTNAME= elf
PORTVERSION= 0.5.4p1
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= PACKETSTORM/linux/reverse-engineering
MAINTAINER= ports@FreeBSD.org
COMMENT= Commandline based ELF header analyzer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libedit readline
GNU_CONFIGURE= yes
PLIST_FILES= bin/elf man/man1/elf.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/src/Makefile.in
do-build:
${DO_MAKE_BUILD} -C ${WRKSRC}/src
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>