summaryrefslogtreecommitdiffstats
path: root/audio/flac123/Makefile
blob: bee1a23f0ff923286ca581f7340a667af8e4d28e (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
35
36
37
38
39
# New ports collection makefile for:	flac123
# Date created:		2004-05-14
# Whom:			michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=	flac123
PORTVERSION=	0.0.11
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	SF/flac-tools/${PORTNAME}/${PORTVERSION}

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	Command-line player for flac audio files

LIB_DEPENDS=	FLAC.10:${PORTSDIR}/audio/flac \
		ao.4:${PORTSDIR}/audio/libao \
		popt.0:${PORTSDIR}/devel/popt

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

PORTDOCS=	README.remote
PLIST_FILES=	bin/flac123

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
		${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

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