summaryrefslogtreecommitdiff
path: root/multimedia/win32-codecs/Makefile
blob: 60ba6935d44662a2b5573d3265c6b074e48291a1 (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
# $NetBSD: Makefile,v 1.2 2004/02/15 11:14:27 grant Exp $
#

DISTNAME=	win32codecs
PKGNAME=	win32-codecs-031029
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	http://www.mplayerhq.hu/MPlayer/releases/codecs/ \
		http://www2.mplayerhq.hu/MPlayer/releases/codecs/ \
		ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/ \
		ftp://ftp2.mplayerhq.hu/MPlayer/releases/codecs/
EXTRACT_SUFX=	.tar.bz2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} qt6dlls.tar.bz2
DISTFILES+=	qtextras.tar.bz2 rp9win32codecs.tar.bz2

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://mplayerhq.hu/MPlayer/releases/codecs/
COMMENT=	Huge compilation of Win32 binary codecs

USE_LANGUAGES=	# empty

ONLY_FOR_PLATFORM=	*-*-i386

DIST_SUBDIR=	${PKGNAME_NOREV}

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_DATA_DIR} ${PREFIX}/lib/win32
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/* ${PREFIX}/lib/win32
	${INSTALL_DATA} ${WRKDIR}/qt6dlls/* ${PREFIX}/lib/win32
	${INSTALL_DATA} ${WRKDIR}/qtextras/* ${PREFIX}/lib/win32
	${INSTALL_DATA} ${WRKDIR}/rp9win32codecs/*.dll ${PREFIX}/lib/win32

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