summaryrefslogtreecommitdiffstats
path: root/misc/xbiso/Makefile
blob: 1bf225a8589ee77ac9ab9a0e2d8ef93a25ef7aa6 (plain)
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
# ex:ts=8
# Ports collection makefile for:	xbiso
# Date created:			Jan 28, 2004
# Whom:				ijliao	ij
#
# $FreeBSD$
#

PORTNAME=	xbiso
PORTVERSION=	0.6.1
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	XBox xdvdfs iso extraction utility

LIB_DEPENDS=	ftp.3:${PORTSDIR}/ftp/ftplib

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

PLIST_FILES=	bin/xbiso

post-patch:
	@${REINPLACE_CMD} -e 's|$$(CPPFLAGS)|@CPPFLAGS@|g ; \
		 s|= @LIBS@|= @LDFLAGS@ @LIBS@|g' ${WRKSRC}/Makefile.in

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud