summaryrefslogtreecommitdiff
path: root/audio/mpegaudio/Makefile
blob: b4e4599889bb9848183eaeefe6e38b4fba75a944 (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
# $NetBSD: Makefile,v 1.10 2020/05/20 06:09:06 rillig Exp $

DISTNAME=	mpegaudio
PKGNAME=	mpegaudio-3.9
CATEGORIES=	audio
MASTER_SITES=	# empty
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	MPEG/audio Layer 1 and Layer 2 encoder/decoder package

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

# common.c: In function 'aiff_read_headers':
# common.c:729:28: error: array subscript has type 'char' [-Werror=char-subscripts]
#              temp_sampleRate[i] = CommChunk.sampleRate[i];
#                             ^
# common.c:729:54: error: array subscript has type 'char' [-Werror=char-subscripts]
#              temp_sampleRate[i] = CommChunk.sampleRate[i];
#                                                       ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+=	rm:-Werror=char-subscripts

post-install:
	${INSTALL_MAN} ${FILESDIR}/mpeg_musicin.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${FILESDIR}/mpeg_musicout.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../mk/bsd.pkg.mk"