aboutsummaryrefslogtreecommitdiff
path: root/sysutils/abgx360/Makefile
blob: ddc0f561cd1bb93d0f23b07d64c3b23f6cbfd5af (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
# New ports collection makefile for:   abgx360
# Date created:        21 November 2009
# Whom:                okeeblow <root@cooltrainer.org>
#
# $FreeBSD$
#

PORTNAME=	abgx360
PORTVERSION=	1.0.6
CATEGORIES=	sysutils
MASTER_SITES=	http://abgx360.x-scene.com/ \
		http://update.cooltrainer.org/freebsd-ports/sysutils/abgx360/

MAINTAINER=	root@cooltrainer.org
COMMENT=	Verify and repair Xbox 360 backup images

BUILD_DEPENDS=	curl:${PORTSDIR}/ftp/curl

PLIST_FILES=	bin/abgx360

GNU_CONFIGURE=	yes

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/abgx360 ${PREFIX}/bin

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 900000
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src-abgx360.c
.endif

.if ${OSVERSION} > 900000
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=		Does not compile on ia64, powerpc, or sparc64
.endif
.endif

.include <bsd.port.post.mk>