diff options
author | lioux <lioux@FreeBSD.org> | 2001-02-13 10:41:23 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-02-13 10:41:23 +0800 |
commit | 7ce114bb1a1e20428405710308d9bdca1227005e (patch) | |
tree | 979af8fc1856e48dcd462fc71d0363f9aaa0380a /multimedia | |
parent | 8113254c0240e35e8fadb6517b036efb1f1fb418 (diff) | |
download | freebsd-ports-gnome-7ce114bb1a1e20428405710308d9bdca1227005e.tar.gz freebsd-ports-gnome-7ce114bb1a1e20428405710308d9bdca1227005e.tar.zst freebsd-ports-gnome-7ce114bb1a1e20428405710308d9bdca1227005e.zip |
Move all codecs to a port of their own, since the codecs present
on this port can be also used by other ports -> graphics/win32-codecs.
Therefore, all codec related code will be removed,
Depend on that port from now on.
A positive side effect is that this port can now produce a package
since the RESTRICTED flag (related to the codecs) can be removed.
Update LEGAL, win32-codecs instead of avifile is now RESTRICTED.
PR: 25035
Reviewed by: sobomax
Approved by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avifile/Makefile | 25 | ||||
-rw-r--r-- | multimedia/avifile/distinfo | 2 | ||||
-rw-r--r-- | multimedia/avifile/pkg-plist | 21 |
3 files changed, 8 insertions, 40 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile index 3938e8300efc..3f3fa0da4b4a 100644 --- a/multimedia/avifile/Makefile +++ b/multimedia/avifile/Makefile @@ -12,18 +12,11 @@ MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \ http://divx.euro.ru/ \ http://www.toon.eu.org/divx/ DISTFILES= avifile-${PORTVERSION}.tar.gz \ - binaries-${CODEC_VERSION}.zip \ - wmvds32.ax.gz -EXTRACT_ONLY= avifile-${PORTVERSION}.tar.gz MAINTAINER= holger@eit.uni-kl.de LIB_DEPENDS= SDL-1.1.2:${PORTSDIR}/devel/sdl-devel -BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip - -RESTRICTED= Unsure of codec\'s license -RESTRICTED_FILES= binaries-${CODEC_VERSION}.zip \ - wmvds32.ax.gz +RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT} ONLY_FOR_ARCHS= i386 USE_QT2= yes @@ -43,7 +36,12 @@ CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2 \ --enable-release PLIST_SUB= LIB_VERSION="${LIB_VERSION}" -CODEC_VERSION= 010122 +FMT= /usr/bin/fmt + +CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs +#CODEC_PORT= ../win32-codecs +CODEC_DETECTION_FILE!= cd ${CODEC_PORT} && ${MAKE} -V CODEC_DETECTION_FILE + LIB_VERSION= 0 # Adhoc fix. First part. # qt is there but configure is not finding it @@ -57,11 +55,6 @@ DIFF?= /usr/bin/diff .include <bsd.port.pre.mk> -post-extract: - @${LOCALBASE}/bin/unzip ${DISTDIR}/binaries-${CODEC_VERSION}.zip \ - -d ${WRKDIR}/codecs - @${GZCAT} ${DISTDIR}/wmvds32.ax.gz > ${WRKDIR}/codecs/wmvds32.ax - # Libtool fix code kindly provided by Mr. Maxim Sobolev <sobomax@FreeBSD.org> post-configure: @${PERL} -pi -e \ @@ -74,9 +67,7 @@ post-build: .endfor post-install: - @${MKDIR} ${PREFIX}/lib/win32 - @${INSTALL_DATA} ${WRKDIR}/codecs/* ${PREFIX}/lib/win32 - @/usr/bin/fmt < ${PKGMESSAGE} + @${FMT} < ${PKGMESSAGE} @${INSTALL_DATA} ${WRKSRC}/lib/libaviplay.la ${PREFIX}/lib @${LN} -sf libaviplay.so.${LIB_VERSION} ${PREFIX}/lib/libaviplay.so # Adhoc fix. Second part. diff --git a/multimedia/avifile/distinfo b/multimedia/avifile/distinfo index debab7223a25..9d5abd23475e 100644 --- a/multimedia/avifile/distinfo +++ b/multimedia/avifile/distinfo @@ -1,3 +1 @@ MD5 (avifile-0.53.4.tar.gz) = 9f5dc386314ccc2748af0200d87f356f -MD5 (binaries-010122.zip) = ffc44e68b581994613931a9e47500446 -MD5 (wmvds32.ax.gz) = 886493bf1d0fa9ea088755c3fbddcfd7 diff --git a/multimedia/avifile/pkg-plist b/multimedia/avifile/pkg-plist index 96325411cbb9..f8735a3b0180 100644 --- a/multimedia/avifile/pkg-plist +++ b/multimedia/avifile/pkg-plist @@ -55,27 +55,6 @@ share/avifile/stop.ppm share/avifile/about.ppm share/avifile/test.png @dirrm share/avifile -lib/win32/ativcr2.dll -lib/win32/divx_c32.ax -lib/win32/divxa32.acm -lib/win32/divxc32.dll -lib/win32/divxc32f.dll -lib/win32/acelpdec.ax -lib/win32/iccvid.dll -lib/win32/imc32.acm -lib/win32/ir32_32.dll -lib/win32/ir41_32.dll -lib/win32/ir41_qc.dll -lib/win32/ir50_32.dll -lib/win32/ir50_qc.dll -lib/win32/ir50_qcx.dll -lib/win32/m3jpeg32.dll -lib/win32/mpg4c32.dll -lib/win32/msadp32.acm -lib/win32/msms001.vwp -lib/win32/voxmsdec.ax -lib/win32/wmvds32.ax -@dirrm lib/win32 lib/libaviplay.la lib/libaviplay.so lib/libaviplay.so.%%LIB_VERSION%% |