svn commit: r349349 - head/devel/elfsh
Pawel Pekala
pawel at FreeBSD.org
Thu Mar 27 17:42:56 UTC 2014
Author: pawel
Date: Thu Mar 27 17:42:55 2014
New Revision: 349349
URL: http://svnweb.freebsd.org/changeset/ports/349349
QAT: https://qat.redports.org/buildarchive/r349349/
Log:
- Add staging support
- Convert to USES
- Strip binary objects
Modified:
head/devel/elfsh/Makefile
Modified: head/devel/elfsh/Makefile
==============================================================================
--- head/devel/elfsh/Makefile Thu Mar 27 17:39:30 2014 (r349348)
+++ head/devel/elfsh/Makefile Thu Mar 27 17:42:55 2014 (r349349)
@@ -3,7 +3,7 @@
PORTNAME= elfsh
PORTVERSION= 0.51b3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://elfsh.asgardlabs.org/files/
DISTNAME= elfsh-0.51b3-portable
@@ -12,9 +12,16 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= Attractive toolkit for the analysis of ELF object files
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_GMAKE= yes
+USES= gmake
USE_LDCONFIG= yes
-NO_STAGE= 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>
More information about the svn-ports-all
mailing list