freebsd-ports/devel/elfsh/Makefile
Pawel Pekala d488e2f9f1 - Add staging support
- Convert to USES
- Strip binary objects
2014-03-27 17:42:55 +00:00

27 lines
620 B
Makefile

# Created by: Samy Al Bahra <samy@kerneled.com>
# $FreeBSD$
PORTNAME= elfsh
PORTVERSION= 0.51b3
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://elfsh.asgardlabs.org/files/
DISTNAME= elfsh-0.51b3-portable
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Attractive toolkit for the analysis of ELF object files
USES= gmake
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -E 's,(BIN|INC|LIB|MOD)PATH),DESTDIR)$$(&,g' \
${WRKSRC}/Makefile
pre-install:
@(cd ${WRKSRC} && ${STRIP_CMD} vm/elfsh libelfsh/libelfsh.so modules/*.so)
.include <bsd.port.mk>