aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xbiso/Makefile
blob: 8405ac312d2528f0b7f6280cf55393dfc0336819 (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
# 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=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

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

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

GNU_CONFIGURE=  yes
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>