blob: 853f2b949c27ce6812f98234371795e82d9154cc (
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
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.7 2004/03/30 06:50:16 uebayasi Exp $
#
VERS= 0.51b3
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= tech-pkg@NetBSD.org
HOMEPAGE= http://devhell.org/projects/elfsh/
COMMENT= ELF format exploration shell
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_BUILDLINK3= yes
USE_GNU_READLINE= yes
SUBST_STAGE.elfsh= post-patch
SUBST_FILES.elfsh= vm/include/elfsh.h
SUBST_SED.elfsh= -e s,@@SH@@,${SH}, -e s,@@PREFIX@@,${PREFIX},
SUBST_CLASSES+= elfsh
# XXX This package should be converted to use libtool
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vm/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}/lib/elfsh
${INSTALL_DATA} ${WRKSRC}/modules/modremap.so ${PREFIX}/lib/elfsh
${INSTALL_DATA} ${WRKSRC}/modules/modtest.so ${PREFIX}/lib/elfsh
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/elfsh
${INSTALL_DATA} ${WRKSRC}/doc/elfsh-ref.txt ${PREFIX}/share/doc/elfsh/elfsh-ref.txt
${INSTALL_DATA} ${WRKSRC}/doc/libelfsh-ref.txt ${PREFIX}/share/doc/elfsh/libelfsh-ref.txt
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|