1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/bstack/Makefile
John Marino 486f8df418 sysutils/bstack: properly register gdb as RUN_DEPENDS
bstack requires the ports version of gdb, but the was RUN_DEPENDS was
specified, the base gdb satisfied the requirement, thus ports gdb is
never registered as a dependency.  Specify using the full path of gdb
to rectify + revbump.

approved by:	just-fix-it
2016-08-04 00:05:05 +00:00

34 lines
670 B
Makefile

# $FreeBSD$
PORTNAME= bstack
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= luca.pizzamiglio@gmail.com
COMMENT= Debug tool that shows the stack trace of a running process
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${LOCALBASE}/bin/gdb:devel/gdb
USE_GITHUB= yes
GH_ACCOUNT= pizzamig
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/bstack \
%%DATADIR%%/gdb_bstack
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|;' ${WRKSRC}/bstack
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bstack \
${STAGEDIR}${PREFIX}/bin/bstack
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gdb_bstack \
${STAGEDIR}${DATADIR}/gdb_bstack
.include <bsd.port.mk>