2005-02-12 23:09:59 +01:00
|
|
|
# New ports collection makefile for: libdwarf
|
|
|
|
# Date created: 11 Feb 2005
|
|
|
|
# Whom: joerg@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libdwarf
|
2006-10-10 13:21:02 +02:00
|
|
|
PORTVERSION= 20060421
|
2005-02-12 23:09:59 +01:00
|
|
|
CATEGORIES= devel
|
2006-10-10 13:21:02 +02:00
|
|
|
MASTER_SITES= http://reality.sgiweb.org/davea/
|
2005-02-12 23:09:59 +01:00
|
|
|
|
|
|
|
MAINTAINER= joerg@FreeBSD.org
|
|
|
|
COMMENT= A library to analyze DWARF debugging information in ELF files
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libelf.so.0:${PORTSDIR}/devel/libelf
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/dwarf-${PORTVERSION}/libdwarf
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
PS_FILES= dwarf.v2.ps index.v2.ps libdwarf2.1.ps libdwarf2p.1.ps mips_extensions.ps
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libdwarf.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dwarf.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libdwarf.h ${PREFIX}/include
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/libdwarf
|
|
|
|
for f in ${PS_FILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/libdwarf ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|