aboutsummaryrefslogtreecommitdiff
path: root/devel/libdwarf/Makefile
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2005-02-12 22:09:59 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2005-02-12 22:09:59 +0000
commit90be6507b53f95de37f159c90353f2616361d423 (patch)
tree6da6c49623058ae49691015cfa23bfb327252f38 /devel/libdwarf/Makefile
parentf2b63b5314742b676c18d81783ab66b9b5fcc20f (diff)
downloadports-90be6507b53f95de37f159c90353f2616361d423.tar.gz
ports-90be6507b53f95de37f159c90353f2616361d423.zip
Notes
Diffstat (limited to 'devel/libdwarf/Makefile')
-rw-r--r--devel/libdwarf/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/libdwarf/Makefile b/devel/libdwarf/Makefile
new file mode 100644
index 000000000000..93ebc07b59b5
--- /dev/null
+++ b/devel/libdwarf/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: libdwarf
+# Date created: 11 Feb 2005
+# Whom: joerg@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdwarf
+PORTVERSION= 20041122
+CATEGORIES= devel
+MASTER_SITES= http://reality.sgi.com/davea/
+
+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>