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

PORTNAME=   xbiso
PORTVERSION=    0.6.0
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

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CFLAGS+=    -I${LOCALBASE}/include
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV=   LIBS="-L${LOCALBASE}/lib"

PLIST_FILES=    bin/xbiso

post-patch:
    @${REINPLACE_CMD} -e "s,^LIBS =,LIBS+=," ${WRKSRC}/Makefile.in

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

.include <bsd.port.mk>