summaryrefslogtreecommitdiff
path: root/devel/elfsh/Makefile
blob: cbc48882f8145e836f61ac738b5743974b3ddf5b (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
30
31
32
# $NetBSD: Makefile,v 1.3 2003/05/15 07:04:21 mjl Exp $
#

VERS=		0.43b
DISTNAME=	${PKGNAME}-portable
PKGNAME=	elfsh-${VERS}
CATEGORIES=	devel
MASTER_SITES=	http://devhell.org/projects/elfsh/files/ \
	http://www.hert.org/projects/elfsh/files/
EXTRACT_SUFX=	.tgz

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://devhell.org/projects/elfsh/
COMMENT=	ELF format exploration shell

WRKSRC=		${WRKDIR}/elfsh_0.43

USE_BUILDLINK2=	yes

# XXX This package should be converted to use libtool

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/elfsh/elfsh ${PREFIX}/bin/elfsh
	${INSTALL_DATA} ${WRKSRC}/libelfsh/libelfsh.a ${PREFIX}/lib/libelfsh.a
	${INSTALL_DATA} ${WRKSRC}/libelfsh/libelfsh.so ${PREFIX}/lib/libelfsh.so
	${INSTALL_DATA} ${WRKSRC}/libelfsh/include/libelfsh.h ${PREFIX}/include/libelfsh.h
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/elfsh
	${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/elfsh/README
	${INSTALL_DATA} ${WRKSRC}/doc/libelfsh-ref.txt ${PREFIX}/share/doc/elfsh/libelfsh-ref.txt

.include "../../devel/readline/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"