summaryrefslogtreecommitdiff
path: root/emulators/extract-xiso/Makefile
blob: 37dbcada76cd99428d1b7947403b820bfcfcec68 (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
# Created by: king@v2project.com
# $FreeBSD$

PORTNAME=	extract-xiso
DISTVERSION=	2.5
CATEGORIES=	emulators
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20source/${PORTNAME}%20v${PORTVERSION}%20source%20code
DISTNAME=	${PORTNAME}_v${DISTVERSION}_src
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool for extracting and creating optimised Xbox ISO images

WRKSRC=		${WRKDIR}/extract-xiso

PLIST_FILES=	bin/extract-xiso
DOC=		LICENSE.TXT

MAKE_ENV=	PTHREAD_LIBS=${PTHREAD_LIBS}

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

NO_STAGE=	yes
pre-configure:
	@${CP} ${FILESDIR}/Makefile ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.	if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${DOCSDIR}
.	endif

.include <bsd.port.mk>