summaryrefslogtreecommitdiff
path: root/multimedia/realplayer-codecs/Makefile
blob: c426a3af9c00494fa4a4c1ef7366c7aaadf2b72c (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
40
41
42
43
44
45
46
47
48
# $NetBSD: Makefile,v 1.18 2017/01/19 18:52:19 agc Exp $
#

DISTNAME=	rp8codecs${RP_ARCH}-20050115
PKGNAME=	realplayer-codecs-8.20050115
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/
MASTER_SITES+=	ftp://ftp5.mplayerhq.hu/MPlayer/releases/codecs/
MASTER_SITES+=	http://www1.mplayerhq.hu/MPlayer/releases/codecs/
MASTER_SITES+=	http://www2.mplayerhq.hu/MPlayer/releases/codecs/
EXTRACT_SUFX=	.tar.bz2
# for easier 'make mdi'
#DISTFILES=	rp8codecs-20040626.tar.bz2 rp8codecs-ppc-20050115.tar.bz2 rp8codecs-alpha-20050115.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.mplayerhq.hu/MPlayer/releases/codecs/
COMMENT=	RealPlayer 8 shared libraries, primarily for use with MPlayer

ONLY_FOR_PLATFORM=	*-*-i386 *-*-powerpc *-*-alpha

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386"
RP_ARCH=
# The distfile has not been updated.
DISTFILES=	rp8codecs-20040626.tar.bz2
WRKSRC=		${WRKDIR}/rp8codecs-20040626
.elif ${MACHINE_ARCH} == "powerpc"
RP_ARCH=	-ppc
.elif ${MACHINE_ARCH} == "alpha"
RP_ARCH=	-alpha
.endif

NO_BUILD=	YES

RESTRICTED=	Unsure of codec's license
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP=	${RESTRICTED}
NO_SRC_ON_CDROM=${RESTRICTED}
NO_SRC_ON_FTP=	${RESTRICTED}

do-install:
	${INSTALL_LIB_DIR} ${DESTDIR:Q}${PREFIX}/lib/RealPlayer8-Codecs
	${INSTALL_LIB} ${WRKSRC}/*.so.*.* \
		${DESTDIR:Q}${PREFIX}/lib/RealPlayer8-Codecs

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