blob: 9f4ce820c4a453713a42844c5f37f4ee4c953fe4 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# New ports collection makefile for: avifile
# Date created: 16 September 2000
# Whom: Holger Lamm
#
# $FreeBSD$
#
PORTNAME= win32-codecs
PORTVERSION= 2.${CODEC_MPLAYER_VERSION:S/pre/.p/}
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia audio
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \
http://www2.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \
http://www.mplayerhq.hu/MPlayer/releases/codecs/:w32codec \
http://ftp.lug.udel.edu/MPlayer/releases/codecs/:mplayer_extracodec,w32codec \
http://www1.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \
http://www2.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \
ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/:w32codec \
ftp://ftp.lug.udel.edu/MPlayer/releases/codecs/:mplayer_extracodec,w32codec
DIST_SUBDIR= win32
DISTFILES= win32codecs.tar.bz2:w32codec \
qt6dlls.tar.bz2:mplayer_extracodec \
qtextras.tar.bz2:mplayer_extracodec \
rp9codecs.tar.bz2:mplayer_extracodec \
xanimdlls.tar.bz2:mplayer_extracodec
EXTRACT_ONLY= win32codecs.tar.bz2
MAINTAINER= holger@e-gitt.net
COMMENT= Huge compilation of Win32 binary codecs, including MPEG-4(DivX ;-))
RESTRICTED= Unsure of codec\'s license
ONLY_FOR_ARCHS= i386
USE_BZIP2= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/w32codec-${CODEC_MPLAYER_VERSION:S/pre7//}
PLIST_SUB= PKGNAME=${PKGNAME}
CODEC_MPLAYER_VERSION= 0.90
# Used by other ports to detect if this is installed
CODEC_DETECTION_FILE= ${LOCALBASE}/lib/win32/${PKGNAME}
# additional codec packs
ADDITIONAL_CODECS_DISTFILES= qt6dlls.tar.bz2 qtextras.tar.bz2 \
xanimdlls.tar.bz2 rp9codecs.tar.bz2
# extraction wrksrc
ADDITIONAL_CODECS_WRKSRC= win32codecs qt6dlls qtextras \
rp9codecs xanimdlls
post-extract:
.for file in ${ADDITIONAL_CODECS_DISTFILES}
@cd ${WRKDIR} && ${TAR} xyf \
${DISTDIR}/${DIST_SUBDIR}/${file}
.endfor
@${MKDIR} ${WRKSRC}
.for dir in ${ADDITIONAL_CODECS_WRKSRC}
@${INSTALL} ${WRKDIR}/${dir}/* ${WRKSRC}
.endfor
do-install:
@${MKDIR} ${PREFIX}/lib/win32
@${CHMOD} 0555 ${PREFIX}/lib/win32
@${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/lib/win32
# marker file
@${CP} /dev/null ${PREFIX}/lib/win32/${PKGNAME}
@${CHMOD} 0444 ${PREFIX}/lib/win32/${PKGNAME}
.include <bsd.port.mk>
|