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 | |
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
-rw-r--r-- | LEGAL | 5 | ||||
-rw-r--r-- | graphics/avifile/Makefile | 25 | ||||
-rw-r--r-- | graphics/avifile/distinfo | 2 | ||||
-rw-r--r-- | graphics/avifile/pkg-plist | 21 | ||||
-rw-r--r-- | multimedia/avifile/Makefile | 25 | ||||
-rw-r--r-- | multimedia/avifile/distinfo | 2 | ||||
-rw-r--r-- | multimedia/avifile/pkg-plist | 21 |
7 files changed, 18 insertions, 83 deletions
@@ -22,9 +22,6 @@ adom-* ports/games/adom Copy of CD must be sent to aswedit-* ports/www/aswedit Commercial software. atari800-* ports/emulators/atari800 xf25 contains copyright ROMs and cannot be distributed. -avifile ports/graphics/avifile The program is under GPL but - legality of the codecs is - unknown. bb-* ports/net/bb FreeBSD has permission from author to put bb onto CDROM. blender ports/graphics/blender Can't distribute commercially. @@ -210,6 +207,8 @@ vice-* ports/emulators/vice ROMs are copyrighted by vje30/vje-delta-3.0-* ports/japanese/vje30 Commercial software webcopy.tgz ports/www/webcopy Don't sell for profit webfonts-* ports/x11-fonts/webfonts Restrictive copyright +win32-codecs ports/graphics/win32-codecs Licensing status of the + codecs is unknown. wxg/ja-wxg-1.0b-1.tgz ports/japanese/wxg Redistribution not allowed xbarcode-*.tar.gz ports/graphics/xbarcode Must not be sold xev*.tar.gz ports/games/xbat Possible copyright infringement diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile index 3938e8300efc..3f3fa0da4b4a 100644 --- a/graphics/avifile/Makefile +++ b/graphics/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/graphics/avifile/distinfo b/graphics/avifile/distinfo index debab7223a25..9d5abd23475e 100644 --- a/graphics/avifile/distinfo +++ b/graphics/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/graphics/avifile/pkg-plist b/graphics/avifile/pkg-plist index 96325411cbb9..f8735a3b0180 100644 --- a/graphics/avifile/pkg-plist +++ b/graphics/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%% 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%% |