2012-11-28 06:52:47 +01:00
|
|
|
# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
|
2009-05-19 15:14:17 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lmdbg
|
2014-02-06 22:30:49 +01:00
|
|
|
PORTVERSION= 1.2.1
|
2009-05-19 15:14:17 +02:00
|
|
|
CATEGORIES= devel
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2009-05-19 15:14:17 +02:00
|
|
|
|
2011-12-05 02:26:32 +01:00
|
|
|
MAINTAINER= trociny@FreeBSD.org
|
2009-05-19 15:14:17 +02:00
|
|
|
COMMENT= Lightweight malloc debugger
|
|
|
|
|
2011-12-11 13:29:02 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2013-10-10 15:28:17 +02:00
|
|
|
BUILD_DEPENDS= mk-configure>=0.24:${PORTSDIR}/devel/mk-configure
|
2014-07-04 11:13:03 +02:00
|
|
|
LIB_DEPENDS= libJudy.so:${PORTSDIR}/devel/judy
|
2011-12-05 02:26:32 +01:00
|
|
|
RUN_DEPENDS= runawk:${PORTSDIR}/lang/runawk \
|
|
|
|
${LOCALBASE}/bin/pipestatus:${PORTSDIR}/devel/pipestatus
|
2009-12-14 22:08:48 +01:00
|
|
|
|
2011-12-11 13:29:02 +01:00
|
|
|
USE_LDCONFIG= yes
|
2010-12-27 02:35:37 +01:00
|
|
|
|
|
|
|
MKCMAKE?= ${LOCALBASE}/bin/mkcmake
|
|
|
|
|
2013-10-10 15:28:17 +02:00
|
|
|
PORTDOCS= LICENSE NEWS README TODO
|
2010-01-30 00:00:18 +01:00
|
|
|
|
2010-12-27 02:35:37 +01:00
|
|
|
MKCMAKE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
|
|
|
|
MKCMAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
|
2012-01-15 15:52:50 +01:00
|
|
|
|
2013-10-10 15:28:17 +02:00
|
|
|
INSTALL_TARGET= install install-doc
|
2010-12-27 02:35:37 +01:00
|
|
|
|
2009-12-14 22:08:48 +01:00
|
|
|
do-build:
|
2012-01-15 15:52:50 +01:00
|
|
|
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
|
2009-12-14 22:08:48 +01:00
|
|
|
|
|
|
|
do-install:
|
2013-10-10 15:28:17 +02:00
|
|
|
${SETENV} ${MKCMAKE_ENV} DESTDIR=${STAGEDIR} \
|
|
|
|
${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
|
2009-05-19 15:14:17 +02:00
|
|
|
|
2014-02-06 22:30:49 +01:00
|
|
|
regression-test: build
|
|
|
|
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC} test
|
|
|
|
|
2009-05-19 15:14:17 +02:00
|
|
|
.include <bsd.port.mk>
|