summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-05-22 03:55:03 +0000
committerfoxfair <foxfair@FreeBSD.org>2003-05-22 03:55:03 +0000
commit99897b5904a234ba30e61df67168f77b2ce750f3 (patch)
tree031bf56ebb2099c301c6fb1d905df3f4c0f3253d
parent3dd33088068dcb173e8f9df9ae9d57996dc56f75 (diff)
downloadFreeBSD-ports-99897b5904a234ba30e61df67168f77b2ce750f3.zip
FreeBSD-ports-99897b5904a234ba30e61df67168f77b2ce750f3.tar.gz
Add memgrep 0.7.0,
utility to manipulate memory from running processes and core files. PR: 48561 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/memgrep/Makefile25
-rw-r--r--sysutils/memgrep/distinfo1
-rw-r--r--sysutils/memgrep/files/patch-Makefile.in21
-rw-r--r--sysutils/memgrep/pkg-descr6
-rw-r--r--sysutils/memgrep/pkg-plist27
6 files changed, 81 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 52c96d3..013597f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -150,6 +150,7 @@
SUBDIR += maint
SUBDIR += manck
SUBDIR += medusa
+ SUBDIR += memgrep
SUBDIR += memtest
SUBDIR += metalog
SUBDIR += mgeupsd
diff --git a/sysutils/memgrep/Makefile b/sysutils/memgrep/Makefile
new file mode 100644
index 0000000..bf5c9bf
--- /dev/null
+++ b/sysutils/memgrep/Makefile
@@ -0,0 +1,25 @@
+# New ports collection Makefile for: memgrep
+# Date created: 22 February 2003
+# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= memgrep
+PORTVERSION= 0.7.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.hick.org/code/skape/memgrep/
+
+MAINTAINER= sheepkiller@cultdeadsheep.org
+COMMENT= Utility to manipulate memory from running processes and core files
+
+HAS_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}/html
+ ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}/html
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/memgrep/distinfo b/sysutils/memgrep/distinfo
new file mode 100644
index 0000000..2741430
--- /dev/null
+++ b/sysutils/memgrep/distinfo
@@ -0,0 +1 @@
+MD5 (memgrep-0.7.0.tar.gz) = 935787217d081c54b7f9ed9100bb7ab6
diff --git a/sysutils/memgrep/files/patch-Makefile.in b/sysutils/memgrep/files/patch-Makefile.in
new file mode 100644
index 0000000..5dc8921
--- /dev/null
+++ b/sysutils/memgrep/files/patch-Makefile.in
@@ -0,0 +1,21 @@
+--- Makefile.in.orig Sat Feb 22 00:41:31 2003
++++ Makefile.in Sat Feb 22 14:04:54 2003
+@@ -6,13 +6,13 @@
+ cd examples && make
+
+ install:
+- cp include/memgrep.h /usr/include
+- cp libmemgrep.so /usr/lib
+- cp libmemgrep.a /usr/lib
+- cp memgrep /usr/bin
++ ${INSTALL} include/memgrep.h ${PREFIX}/include
++ ${INSTALL} libmemgrep.so ${PREFIX}/lib
++ ${INSTALL} libmemgrep.a ${PREFIX}/lib
++ ${INSTALL} memgrep ${PREFIX}/bin
+
+ uninstall:
+- rm -f /usr/lib/libmemgrep.so /usr/lib/libmemgrep.a /usr/bin/memgrep /usr/include/memgrep.h
++ rm -f ${PREFIX}/lib/libmemgrep.so ${PREFIX}/lib/libmemgrep.a ${PREFIX}/bin/memgrep ${PREFIX}/include/memgrep.h
+
+ clean:
+ cd examples && make clean
diff --git a/sysutils/memgrep/pkg-descr b/sysutils/memgrep/pkg-descr
new file mode 100644
index 0000000..f1a0144
--- /dev/null
+++ b/sysutils/memgrep/pkg-descr
@@ -0,0 +1,6 @@
+memgrep is an utility to search/replace/dump memory from running processes
+and core files.
+It also provides an API to write you own tools.
+
+WWW: http://www.hick.org/code.html
+Authors : hick.org community
diff --git a/sysutils/memgrep/pkg-plist b/sysutils/memgrep/pkg-plist
new file mode 100644
index 0000000..8ab1710
--- /dev/null
+++ b/sysutils/memgrep/pkg-plist
@@ -0,0 +1,27 @@
+bin/memgrep
+include/memgrep.h
+lib/libmemgrep.so
+lib/libmemgrep.a
+%%PORTDOCS%%share/doc/memgrep/html/annotated.html
+%%PORTDOCS%%share/doc/memgrep/html/doxygen.css
+%%PORTDOCS%%share/doc/memgrep/html/doxygen.png
+%%PORTDOCS%%share/doc/memgrep/html/examples.html
+%%PORTDOCS%%share/doc/memgrep/html/files.html
+%%PORTDOCS%%share/doc/memgrep/html/functions.html
+%%PORTDOCS%%share/doc/memgrep/html/group__memgrep.html
+%%PORTDOCS%%share/doc/memgrep/html/index.html
+%%PORTDOCS%%share/doc/memgrep/html/memgrep_8h-source.html
+%%PORTDOCS%%share/doc/memgrep/html/modules.html
+%%PORTDOCS%%share/doc/memgrep/html/simple_8c-example.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__core__memory__sections.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__mem__ctx.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__mem__ctx__core__data.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__memgrep__functions.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__memgrep__result.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__memgrep__result__row.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__memgrep__result__row__dump.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__memgrep__result__row__replace.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__memgrep__result__row__search.html
+%%PORTDOCS%%share/doc/memgrep/html/struct__process__section__addrs.html
+%%PORTDOCS%%@dirrm share/doc/memgrep/html
+%%PORTDOCS%%@dirrm share/doc/memgrep
OpenPOWER on IntegriCloud