diff options
Diffstat (limited to 'devel/libdwarf/Makefile')
-rw-r--r-- | devel/libdwarf/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/libdwarf/Makefile b/devel/libdwarf/Makefile new file mode 100644 index 00000000000..14c866d9cc5 --- /dev/null +++ b/devel/libdwarf/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 2016/04/10 16:54:36 kamil Exp $ + +DISTNAME= libdwarf-20160115 +CATEGORIES= devel +MASTER_SITES= https://www.prevanders.net/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.prevanders.net/dwarf.html +COMMENT= Tools for parsing DWARF debug information +LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 + +WRKSRC= ${WRKDIR}/dwarf-${PKGVERSION_NOREV} +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ + +CONFIGURE_ARGS+= --enable-shared + +MAKE_JOBS_SAFE= no + +INSTALLATION_DIRS+= bin lib include ${PKGMANDIR}/man1 share/doc/libdwarf + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dwarfdump/dwarfdump ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/dwarfdump/dwarfdump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_LIB} ${WRKSRC}/libdwarf/libdwarf.a ${DESTDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libdwarf/libdwarf.so ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/libdwarf/dwarf.h ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/libdwarf/libdwarf.h ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/libdwarf/*.pdf ${DESTDIR}${PREFIX}/share/doc/libdwarf + +.include "../../devel/libelf/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |