aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-mp3cue/Makefile
blob: cf68532906fe7983cb3f7e799210037167eb06ca (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
# New ports collection makefile for:	XMMS-mp3cue
# Date created:			12 February 2004
# Whom:				Vaidas Zlotkus <r2@music.lt>
#
# $FreeBSD$
#

PORTNAME=	xmms-mp3cue
PORTVERSION=	0.94
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	http://brianvictor.tripod.com/
DISTNAME=	XMMS-mp3cue-${PORTVERSION}

MAINTAINER=	r2@music.lt
COMMENT=	XMMS mp3cue adds cue file support to XMMS

LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_X_PREFIX=	yes

PLIST_SUB=	PORTDOCS=${DISTNAME}

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -fPIC"
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/*.c

.include <bsd.port.post.mk>