summaryrefslogtreecommitdiff
path: root/sysutils/pax-utils/Makefile
blob: 81e4984f40312aac25fb6c71fa1f15592a9068bf (plain) (blame)
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
# Created by: Timothy Redaelli

PORTNAME=	pax-utils
PORTVERSION=	1.2.2
CATEGORIES=	sysutils
MASTER_SITES=	http://dev.gentoo.org/~vapier/dist/ \
		LOCAL/sbz

MAINTAINER=	sbz@FreeBSD.org
COMMENT=	Various ELF related utils for ELF32, ELF64 binaries

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake tar:xz

PLIST_FILES=	bin/dumpelf bin/pspax bin/scanelf bin/scanmacho \
		man/man1/dumpelf.1.gz man/man1/pspax.1.gz \
		man/man1/scanelf.1.gz man/man1/scanmacho.1.gz
PORTDOCS=	BUGS COPYING README.md TODO

OPTIONS_DEFINE=	DOCS

do-install:
.for f in dumpelf pspax scanelf scanmacho
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/${f}.1 ${STAGEDIR}${PREFIX}/man/man1
.endfor

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>