2003-05-22 05:55:03 +02:00
|
|
|
# New ports collection Makefile for: memgrep
|
|
|
|
# Date created: 22 February 2003
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= memgrep
|
2004-01-04 21:36:52 +01:00
|
|
|
PORTVERSION= 0.8.0
|
2003-05-22 05:55:03 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.hick.org/code/skape/memgrep/
|
|
|
|
|
2009-11-12 05:56:15 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-05-22 05:55:03 +02:00
|
|
|
COMMENT= Utility to manipulate memory from running processes and core files
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-05-22 05:55:03 +02:00
|
|
|
|
2003-06-09 05:09:28 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2004-01-04 21:36:52 +01:00
|
|
|
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}"
|
|
|
|
|
2003-05-22 05:55:03 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-01-04 21:36:52 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}
|
2003-05-22 05:55:03 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|