aboutsummaryrefslogtreecommitdiff
path: root/sysutils/uif2iso/Makefile
blob: d406bc629ed45738475cfec589b8d89fb720bf1f (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
PORTNAME=	uif2iso
PORTVERSION=	0.1.7c
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://aluigi.altervista.org/mytoolz/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Convert MagicISO UIF files to ISO9660

LICENSE=	GPLv2

USES=		zip

WRKSRC=		${WRKDIR}/src

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} 's|exit(1)|exit(0)|' \
		${WRKSRC}/uif2iso.c
	@${REINPLACE_CMD} 's|/usr/local|${STAGEDIR}${PREFIX}|; \
		s|$$(DESTDIR)||' \
		${WRKSRC}/Makefile

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in README uif2iso.txt
	${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>