a84c115a09
Approved by: portmgr (not really, but touches unstaged ports)
26 lines
618 B
Makefile
26 lines
618 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
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Attractive toolkit for the analysis of ELF object files
|
|
|
|
USES= gmake readline tar:tgz
|
|
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>
|