summaryrefslogtreecommitdiff
path: root/devel/libexecinfo/Makefile
blob: 3bd893b583ed6530f8196d3192d6b1e4ccf09825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libexecinfo
PORTVERSION=	1.1
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	LOCAL/itetcu

MAINTAINER=	itetcu@FreeBSD.org
COMMENT=	Library for inspecting program's backtrace

OPTIONS_DEFINE=	DOCS

USES=		tar:bzip2 uidfix
USE_LDCONFIG=	yes
CFLAGS=		-fno-omit-frame-pointer
MAKE_FLAGS=	LIBDIR=${PREFIX}/lib \
		INCLUDEDIR=${PREFIX}/include

PORTDOCS=	README

CFLAGS_amd64=	-fno-omit-frame-pointer

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>