freebsd-ports/multimedia/win32-codecs/Makefile
Mario Sergio Fujikawa Ferreira ce630cf943 o add the codecs from mplayer-codecs, this port will hold all win32
codecs from now on, this is not that much a bloat since all depending
  ports tend to use (in the long run) all the same codecs
o prepare to remove mplayer-codecs port since it is no longer
  necessary

Approved by:	MAINTAINERs (from both mplayer-codecs/win32-codecs)
2001-10-01 13:52:16 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: avifile
# Date created: 16 September 2000
# Whom: Holger Lamm
#
# $FreeBSD$
#
PORTNAME= win32-codecs
PORTVERSION= ${CODEC_VERSION}.1.${CODEC_MPLAYER_VERSION}
CATEGORIES= graphics audio
MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \
http://avifile.sourceforge.net/ \
http://www.toon.eu.org/divx/ \
http://mplayerhq.hu/MPlayer/releases/ \
ftp://mplayerhq.hu/MPlayer/releases/ \
http://www.stud.uni-karlsruhe.de/~uedc/mplayer/ \
http://codeczone.virtualave.net/ \
http://www.rrr.de/~riggs/mplayer/
DISTFILES= w32codec-${CODEC_MPLAYER_VERSION}.zip \
binaries-${CODEC_VERSION}.zip \
wmvds32.ax.gz
EXTRACT_ONLY= ${DISTFILES:S/wmvds32.ax.gz//}
MAINTAINER= holger@eit.uni-kl.de
RESTRICTED= Unsure of codec\'s license
ONLY_FOR_ARCHS= i386
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -n -q
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_SUB= PKGNAME=${PKGNAME}
CODEC_VERSION= 010122
CODEC_MPLAYER_VERSION= 0.18
# Used by other ports to detect if this is installed
CODEC_DETECTION_FILE= ${LOCALBASE}/lib/win32/${PKGNAME}
post-extract:
@${GZCAT} ${DISTDIR}/wmvds32.ax.gz > ${WRKDIR}/wmvds32.ax
do-install:
@${MKDIR} ${PREFIX}/lib/win32
@${CHMOD} 0555 ${PREFIX}/lib/win32
@${INSTALL_DATA} ${WRKDIR}/* ${PREFIX}/lib/win32
# marker file
@${CP} /dev/null ${PREFIX}/lib/win32/${PKGNAME}
@${CHMOD} 0444 ${PREFIX}/lib/win32/${PKGNAME}
.include <bsd.port.mk>