summaryrefslogtreecommitdiff
path: root/sysutils/pax-utils/Makefile
blob: 04ede00d2de47e8217fc39322e73773a0ae2da78 (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
35
36
37
38
39
40
41
42
43
44
# Created by: Timothy Redaelli
# $FreeBSD$

PORTNAME=	pax-utils
PORTVERSION=	0.7
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GENTOO} \
		http://dev.gentoo.org/~vapier/dist/ \
		LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
MASTER_SITE_SUBDIR=	distfiles

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

LICENSE=	GPLv2

USE_XZ=		true
USE_GMAKE=	true

PLIST_FILES=	bin/dumpelf bin/pspax bin/scanelf bin/scanmacho

MAN1=		dumpelf.1 pspax.1 scanelf.1 scanmacho.1

OPTIONS_DEFINE=	DOCS

PORTDOCS=	BUGS README TODO

.include <bsd.port.options.mk>

.if ${OSVERSION} < 800076
BROKEN=	Does not build
.endif

do-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.for f in ${MAN1:S,.1,,}
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
	${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man/,} ${PREFIX}/man/man1

.include <bsd.port.mk>