summaryrefslogtreecommitdiffstats
path: root/sysutils/memgrep/Makefile
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-01-04 20:36:52 +0000
committerclement <clement@FreeBSD.org>2004-01-04 20:36:52 +0000
commit6b5097e14355e4ebdfef57da43ce7a18bd7c212c (patch)
treef2066aa403a2e703a17fb713f90c62394cbb17c8 /sysutils/memgrep/Makefile
parent5ef1b31bcf48cd84019466778bda42c10a1766d2 (diff)
downloadFreeBSD-ports-6b5097e14355e4ebdfef57da43ce7a18bd7c212c.zip
FreeBSD-ports-6b5097e14355e4ebdfef57da43ce7a18bd7c212c.tar.gz
- Update to 0.8.0
- Respect CFLAGS - Use PORTDOCS macro Approved by: erwin (mentor)
Diffstat (limited to 'sysutils/memgrep/Makefile')
-rw-r--r--sysutils/memgrep/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/sysutils/memgrep/Makefile b/sysutils/memgrep/Makefile
index 326ec48..8094d96 100644
--- a/sysutils/memgrep/Makefile
+++ b/sysutils/memgrep/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= memgrep
-PORTVERSION= 0.7.0
+PORTVERSION= 0.8.0
CATEGORIES= sysutils
MASTER_SITES= http://www.hick.org/code/skape/memgrep/
@@ -15,13 +15,29 @@ COMMENT= Utility to manipulate memory from running processes and core files
HAS_CONFIGURE= yes
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
+PORTDOCS= annotated.html doxygen.css doxygen.png examples.html files.html \
+ functions.html group__memgrep.html index.html memgrep_8h-source.html \
+ modules.html simple_8c-example.html struct__core__memory__sections.html \
+ struct__mem__ctx.html struct__mem__ctx__core__data.html \
+ struct__memgrep__functions.html struct__memgrep__result.html\
+ struct__memgrep__result__row.html struct__memgrep__result__row__dump.html \
+ struct__memgrep__result__row__heap.html \
+ struct__memgrep__result__row__replace.html \
+ struct__memgrep__result__row__search.html struct__process__section__addrs.html
+
+post-patch:
+ @${REINPLACE_CMD} "s,-O3,,;s,FLAGS=,FLAGS+=," ${WRKSRC}/src/Makefile.in ${WRKSRC}/examples/Makefile.in
+
+MAKE_ENV+= FLAGS="${CFLAGS}"
+
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/html
- ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}/html
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud