blob: 187769094365cd1cc7a6da9803d0e641718495d2 (
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
|
# New ports collection makefile for: avifile
# Date created: 16 September 2000
# Whom: Holger Lamm
#
# $FreeBSD$
#
PORTNAME= win32-codecs
PORTVERSION= ${CODEC_VERSION}.0.${CODEC_MPLAYER_VERSION}
CATEGORIES= graphics audio
MASTER_SITES= http://avifile.sourceforge.net/:binaries \
http://ernie.eit.uni-kl.de/avifile/ \
http://mplayerhq.hu/MPlayer/releases/:w32codec \
ftp://mplayerhq.hu/MPlayer/releases/:w32codec \
http://www2.mplayerhq.hu/MPlayer/releases/:w32codec \
http://ftp.mplayerhq.hu/MPlayer/releases/:w32codec \
http://ftp2.mplayerhq.hu/MPlayer/releases/:w32codec
DISTFILES= w32codec-${CODEC_MPLAYER_VERSION}.tar.bz2:w32codec \
binaries-${CODEC_VERSION}.tgz:binaries \
wmvds32.ax.gz
EXTRACT_ONLY= w32codec-${CODEC_MPLAYER_VERSION}.tar.bz2
MAINTAINER= holger@eit.uni-kl.de
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_VERSION= 011002
CODEC_MPLAYER_VERSION= 0.90pre7
# Used by other ports to detect if this is installed
CODEC_DETECTION_FILE= ${LOCALBASE}/lib/win32/${PKGNAME}
post-extract:
@cd ${WRKDIR} && ${TAR} xfz \
${DISTDIR}/binaries-${CODEC_VERSION}.tgz
@${INSTALL} ${WRKDIR}/win32/* ${WRKSRC}
@${GZCAT} ${DISTDIR}/wmvds32.ax.gz > ${WRKSRC}/wmvds32.ax
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>
|