summaryrefslogtreecommitdiff
path: root/audio/freac/Makefile
blob: 1b4b80810e9da943229ad75da3e6b8b18e0689e9 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	freac
PORTVERSION=	1.1.5
DISTVERSIONPREFIX=	v
CATEGORIES=	audio

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES=	09444c7f0a9b3204394914ea18f629567868aacf.diff:-p1

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Free, open-source audio converter and CD ripper

LICENSE=	GPLv2+

LIB_DEPENDS=	libboca-1.0.so:audio/boca \
		libsmooth-0.9.so:devel/smooth

USES=		desktop-file-utils gmake
USE_GITHUB=	yes
GH_ACCOUNT=	enzo1982

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's,INSTALL_PROGRAM,BSD_&,' \
	    -e '/DLLNAME/s,INSTALL_DATA,BSD_INSTALL_LIB,' \
		${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's,INSTALL_DATA,BSD_INSTALL_LIB,' \
		${WRKSRC}/Makefile-commands
	@${REINPLACE_CMD} -e '/operatingSystem/s,Unknown",&;,' \
		${WRKSRC}/components/extension/protocols/systeminfo.cpp

.include <bsd.port.mk>