Index: head/LEGAL =================================================================== --- head/LEGAL (revision 530791) +++ head/LEGAL (revision 530792) @@ -1,240 +1,241 @@ # Creator: Jordan Hubbard # $FreeBSD$ # # ********************************************************************** # *** NOTE TO COMMITTERS *** # *** *** # *** If you are adding a port to this list that has previously been *** # *** distributed, please inform portmgr@FreeBSD.org so that the *** # *** distfile/packages can be removed from the FTP site. *** # ********************************************************************** # # Some of the ports in this directory have restrictive copyrights prohibiting # their actual redistribution on mass media. When creating compilations # of FreeBSD on such mass media, you should be sure and NOT distribute # the original source tarballs for such ports in your distfiles directory. # To do so will invite needless problems from the various parties involved. # # Since those connected to the net will also be able to use the ports framework # to automatically fetch their own original sources and thus complete the puzzle, # the hardship is not as severe as it might otherwise be. # # Such ports are listed below: # # This file can be linted with Tools/scripts/LEGALlint # # Dist Port Why # ------------------------------------------------------------------------------ +makemkv-* multimedia/makemkv MAKEMKV licenses don't allow 't allow distributing the package as it contains a modified version of the makemkvcon binary *-for-1.4.tgz net/dgd-lpmud May not be used for monetary gain *_MegaCLI.zip sysutils/megacli Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx 26410-800.zip audio/libaacplus unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies aacplusenc-* audio/aacplusenc unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies adom-* games/adom Copy of CD must be sent to author aestats-* games/aestats Commercial use is prohibited agrep-* textproc/agrep No redistribution for profit alephone/M1A1.zip games/alephone-data Bungie/Microsoft do not allow charging for Marathon data files alephone/Marathon*.zip games/alephone-data Bungie/Microsoft do not allow charging for Marathon data files apache2/mod_h264_streaming-* www/mod_h264_streaming No commercial use astah-community-*.zip devel/astah-community License restrictions -- See http://astah.net/faq/community/enduser-license-agreement atari800/* emulators/atari800 xf25 contains copyright ROMs and cannot be distributed baudline_* audio/baudline No redistribution allowed BCWipe-* security/bcwipe Non-commercial distribution and use only bicom* archivers/bicom Contact author personally regarding commercial use Browser*.tar.gz net/ldapbrowser No reply from author regarding redistribution licensing bzip-* archivers/bzip Some algorithms used may infringe certain US patents. Opinions differ. Commercial use could render you liable to unfriendly legal action citrix_ica-* net/citrix_ica License prohibits redistribution arcconf-v* sysutils/arcconf May not be redistributed in binary form cloudflare-cloudflared* net/cloudflared Not sure if we are allowed to redistribute it. clustalw-* biology/clustalw No commercial use consed_linux.tar.gz biology/consed Redistribution is not permitted in any form. You must request access permission via e-mail to get the tarball. Free for academic use. cos-* java/cos Special conditions apply for commercial use cosmo/* games/cosmo Possible copyright infringement CrystalSVGforGnomeIcons* x11-themes/gnome-icons-crystal Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. cyberbit/* x11-fonts/cyberbit-ttfonts Not free for commercial use darwinia-demo* games/linux-darwinia-demo Redistribution is limited, see license datamodeler databases/datamodeler Packaging prohibited by Oracle license dbvis java/dbvis Redistribution is not permitted dcl-*-C.tar.gz science/cdcl No commercial use dcl-*.tar.gz science/dcl No commercial use defcon* games/linux-defcon Redistribution is limited, see license djbdns* dns/djbdns No license -- see http://cr.yp.to/softwarelaw.html djbfft-* math/djbfft No license -- see http://cr.yp.to/softwarelaw.html dlv lang/dlv Not sure if we can redistribute it dn*.tgz emulators/darcnes Commercial use is restricted doom3-linux-* games/linux-doom3 Redistribution is limited, see license; Requested by id Software doom3-linux-* games/linux-doom3-demo Redistribution is limited, see license; Requested by id Software doomsrc.zip games/doom Redistribution is limited, see license; Requested by id Software dr_freebsd_*.zip sysutils/megarc Must be downloaded directly from the manufacturer eagle-lin-*.run cad/linux-eagle5 Usage permitted for non-commercial purposes only eawpats* audio/eawpats Some of the patches are not for commercial use ecw_jpeg_2000_*.zip graphics/libecwj2 Registration required to download sources, but sources no longer available on ERDAS website edith* editors/edith Redistribution not allowed eijiro* japanese/eijiro-fpw The original dictionary is not free emc2* math/emc2 No resale, contact author for commercial usage emiclock-* x11-clocks/emiclock Changes on the code or repackaging requires author approval et-linux-* games/linux-enemyterritory Redistribution limited etqw* games/linux-etqw-demo-server Redistribution limited etqw* games/linux-etqw-server Redistribution limited ezmlm-* mail/ezmlm No license -- see http://cr.yp.to/softwarelaw.html ezmlm-* mail/ezmlm-idx No license -- see http://cr.yp.to/softwarelaw.html fahclient-* biology/linux-foldingathome Distribution without permission is prohibited fasta2* biology/fasta May not be sold or incorporated into a commercial product fasta3* biology/fasta3 May not be sold or incorporated into a commercial product festival/festlex_OALD* audio/festlex-oald No commercial use festival/OGIlexicon-* audio/festlex-ogi No commercial use festlex-ogi audio/festlex-ogi No commercial use fmsx*/* emulators/fmsx Legal status of distributed ROM images unclear foiltex* textproc/foiltex Redistribution on a not-for-profit basis only fp-freebsd-ws-* security/f-prot Free for personal users on personal workstations only fuse-emulator-roms* emulators/fuse-roms No explicit permission to redistribute Opus-22.rom emulators/fuse-roms No explicit permission to redistribute freefonts-* x11-fonts/freefonts License prohibits redistribution; see individual .license files fretsonfire/FretsOnFire-*-linux* games/fretsonfire-data Only Unreal Voodoo site is allowed to distribute the music fvcom/sourcecode1.tar.gz science/fvcom Requires (free) registration fvcom/sourcecode1.tar.gz science/fvcom-mpi Requires (free) registration giac-* math/giacxcas The french documentation is for non commercial only use giftool* graphics/giftool Do not redistribute for profit gnome2/mcitymicrogui-default* x11-themes/metacity-theme-microgui Themes may contain artwork not done by the author. Keep FreeBSD safe if the theme author violated copyrights GoogleEarthLinux-* astro/google-earth Not really sure about the redistribution terms groupoffice-com-* www/groupoffice Free for personal use only HeroesOfMightAndMagic-* games/HeroesOfMightAndMagic Software is commercial homard-* french/homard The free downloading of HOMARD software is only allowed for coupling with Code_Aster. For any other use, a license agreement is requested. Please contact HOMARD project: . hplip-*-plugin.run print/hplip-plugin License agreement is required HyperSpec-* devel/clisp-hyperspec Commercial redistribution prohibited HyperSpec-*.tar.gz devel/clisp-hyperspec Commercial redistribution prohibited ICON-AquaFusion.* x11-themes/gnome-icons-aqua-fusion Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Gentoo-Test.* x11-themes/gnome-icons-gentoo-test Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Gnome-RH8.* x11-themes/gnome-icons-refined Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Iris* x11-themes/gnome-icons-iris Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Noia.* x11-themes/gnome-icons-noia-full Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-NoiaWarm.* x11-themes/gnome-icons-noia-warm Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Slick.* x11-themes/gnome-icons-slick Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Snow-Apple.* x11-themes/gnome-icons-snow-apple Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Stylish.* x11-themes/gnome-icons-stylish Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. ICON-Ximian-South-* x11-themes/gnome-icons-ximian-south Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. jaf-*.zip java/jaf See the license jai-*-lib-linux-i586.* java/jai Redistribution is not permitted java3d-sdk-*-linux-i386* java/java3d License does not allow distribution jdk-8*-apidocs.zip java/jdk8-doc This documentation is under license and export control jdk-8*-i586.tar.gz java/linux-oracle-jdk18 Redistribution of repackaged binaries not permitted jfbuild-* games/jfsw Must be distributed only through the Internet and free of charge jmf-*-alljava.zip java/jmf Redistribution of pre-compiled binaries is not permitted jre-8*-i586.tar.gz java/linux-oracle-jre18 License does not allow distribution with fee jta-*.zip java/jta See the license komodo-* editors/komodo-edit Distribution not permitted kzip-* archivers/kzip License does not allow redistribution l0phtcrack/* security/l0phtcrack Parts are under GPL, so binaries should not be distributed. Contains crypto code from OpenSSL ladder.tar games/ladder Possible copyright problems lame* audio/lame patent issues, see http://www.mp3licensing.com/ lha-1.14i-ac* archivers/lha-ac No redistribution allowed libaacplus-* audio/libaacplus Unclear legal status libamrnb/26104-*.zip audio/libamrnb unclear legal status, probably need licenses from 3GPP and more libamrwb/26204-*.zip audio/libamrwb unclear legal status, probably need licenses from 3GPP and more libdvdcss-*.tar.bz2 multimedia/libdvdcss CSS code may violate the DMCA linux-nwnclient/* games/linux-nwnclient Distribution not allowed linux-rkbin/* sysutils/linux-rkbin Unknown license linux-unrealgold* games/linux-unrealgold Redistribution limited linux-ut/* games/linux-ut Redistribution is limited, see license linuxq3ademo-* games/linux-quake3 Restrictive license by Loki Software linuxq3ademo-* games/linux-quake3-demo Restrictive license by Loki Software linuxsampler-* audio/linuxsampler Commercial use is prohibited Logitech-slimserver-* audio/logitechmediaserver Contains non-redistributable firmware, documentation, and images lpac-* audio/lpac No commercial use l_cc_p*_*.*.*.tar.gz lang/icc No redistribution allowed macopix-*.tar.gz games/macopix Contains commercial character data madfufw-* audio/madfufw No redistribution of firmware files malo-fw-*.tar.gz net/malo-firmware-kmod Marvell refuses to grant distribution rights mb339pan_* games/flightgear-mb339-pan Redistribution prohibited mindfocus-* games/mindfocus Contains commercial character data mindterm-* security/mindterm-binary Do not sell for profit mist64-cbmbasic-* lang/cbmbasic Based on decompiled C64 KERNAL binary; not really sure about the legal status molden* biology/molden Free for academic, non-profit usage; do not redistribute source and executable nero2_linux_* games/linux-nerogame Freeware, but license terms are unclear NetComponents-* java/netcomponents No redistribution except as part of a substantially different product nntpcache-* news/nntpcache Free for individuals and non-military, non-profit organisations only nttcp-* benchmarks/nttcp No commercial use nwresources*.tar.gz games/nwndata Distribution not allowed oneko-*.tar.gz games/oneko-sakura Including derivatives from CARDCAPTOR SAKURA OptimFROG* audio/optimfrog No commercial use oracle/* databases/jdbc-oracle11g This software is under license and export controls oracle/sqldeveloper* databases/sqldeveloper This software is under license and export controls oracle/instantclient-basic-linux* databases/linux-oracle-instantclient-basic Packaging prohibited by Oracle license pcsv*fb.tar.gz lang/petite-chez User must accept license terms before installation PDFlib-Lite-*.tar.gz print/pdflib Many odd restrictions on usage and distribution ppsmall-* archivers/ppunpack No commercial redistribution qtools-* mail/qtools No license -- see http://cr.yp.to/softwarelaw.html quake4-linux-* games/linux-quake4 Redistribution is limited; see the license quake4-linux-* games/linux-quake4-demo Redistribution is limited; see the license Radiator/* net/radiator Commercial software RakNet-* devel/raknet Special authorization granted to distribute version 3.x under GPLv3 rapid-* math/rapid For any commercial purpose, you must request a license from http://www.cs.unc.edu/~geom/OBB/OBBT.html rarbsd-* archivers/rar only unmodified original package can be distributed ricty-* japanese/font-ricty Redistribution not allowed ringtonetools-* misc/ringtonetools Not free for commercial organizations seatools_cli.tar sysutils/seatools Redistribution is not permitted serialmail-* mail/serialmail No license -- see http://cr.yp.to/softwarelaw.html serious.sam* games/linux-ssamtfe Redistribution limited serious.sam* games/linux-ssamtse Redistribution limited sharefonts-* x11-fonts/sharefonts Shareware: cannot be distributed without prior authorization shorten-* audio/shorten May not be sold. May not be distributed if modified sid-milter-* mail/sid-milter May incorporate intellectual property, possible patent issues simian-* devel/simian Have to agree to license before download STonX-* emulators/stonx Contains ROM (C) by Atari stuffit* archivers/stuffit Only unmodified original package can be distributed susv2.tar.bz2 misc/susv2 Redistribution of the documents is not permitted susv3.tar.bz2 misc/susv3 Redistribution of the documents is not permitted susv4tc2.tar.bz2 misc/susv4 Redistribution of the documents is not permitted susv4-2018.tar.bz2 misc/susv4 Redistribution of the documents is not permitted svm_light.tar.gz science/svmlight The software must not be further distributed without prior permission of the author taetgen-* math/tetgen Academic or personal use only tarsnap-* sysutils/tarsnap license restricts redistribution of source and binaries tcetest_* games/linux-enemyterritory-tce Redistribution limited teamspeak* audio/teamspeak3-server No redistribution thundercache www/thundercache Commercial software with shareware license to 50 threads tinker* biology/tinker Distribution is prohibited triangle-*/* math/triangle No commercial use without prior arrangement with the author Tripwire-*-1.tar.gz security/tripwire-131 Cannot be redistributed for more than the cost of duplication TrueCrypt* security/truecrypt May not be redistributed. Must accept license to download. tuc-* converters/tuc Author does not allow CD-ROM distribution tw_cli-* sysutils/tw_cli Redistribution forbidden by license ue*dev.zip editors/uemacs Resale allowed for media cost only unifi-5*/UniFi.unix.zip net-mgmt/unifi5 Redistribution of bundled firmware images is not permitted uplink-demo* games/linux-uplink-demo Redistribution is limited, see license uzap.tar.gz editors/uzap This software may not be used to make a profit in any way. vdbench*.zip benchmarks/linux-vdbench Redistribution is not permitted vdr-markad-* multimedia/vdr-plugin-markad Installs station logos vice-* emulators/vice ROMs are copyrighted by Commodore Business Machines VMware-vSphere-Perl* net/vmware-vsphere-cli May not be redistributed. Must accept license to download. vpnc-* security/vpnc Redistribution is not allowed if linked against OpenSSL vwnc7.3.1/* lang/visualworks Do not redistribute waeijiro-fpw-* japanese/waeijiro-fpw The original dictionary is not free webcopy-* www/webcopy This program cannot be distributed if modified in any way. Don't sell for profit without written permission webfonts/* x11-fonts/webfonts Restrictive copyright win32/* multimedia/win32-codecs Licensing status of the codecs is unknown xanim-* multimedia/xanim Must be redistributed without fee xchada01.lzh games/xchadance Contains commercial character data xephem-* astro/xephem Personal use only XFrisk-*.tar.gz games/xfrisk Possible trademark infringement xhime*.tgz games/xhime Contains commercial character data xinvaders-* games/xinvaders Do not sell for profit xmdiary-* deskutils/xmdiary Do not sell for profit xrisk-* games/xrisk Possible copyright/trademark violation xtr1.50e* japanese/xtr Need to obtain permission for commercial redistribution xzx-pro-*.tar.gz emulators/xzx Redistribution forbidden by license yEd* graphics/yed Downloading requires acceptance of license agreement zh-moettf/* chinese/moettf Contact Taiwan's Ministry of Education for commercial use UrbanTerror*.zip games/urbanterror-data The mod files may not be sold or distributed on physical media unless with permission from id Software. gmsh-* cad/gmsh Contact appropriate authors for commercial purposes if including Tetgen or Metis gmsh-occ-* cad/gmsh-occ Contact appropriate authors for commercial purposes if including Tetgen or Metis sas2ircu-* sysutils/sas2ircu May not be redistributed. Must accept license to download. snes9x-* emulators/snes9x-gtk Commercial users must seek permission from copyright holders. rainloop-1.*.zip mail/rainloop Redistribution in any form is prohibited lha-114i.tar.gz archivers/lha Binary only redistribution is prohibited. Non-network redistribution such as CDROM requires prior notification to author. Commercial use whose main purpose is to provide the functions of this program is prohibited. atom-*.tgz science/atom Redistribution in any form is prohibited charm-uiuc-* net/charm No commercial use: commercial use requires a commercial license namd-* science/namd No commercial use: commercial use requires a commercial license vmd-* science/vmd No commercial use: commercial use requires a commercial license msms-* science/msms No commercial use, only for use by individuals in scientific research unifi-devel-* net-mgmt/unifi-devel License restrictions, see https://www.ubnt.com/eula/ netio* benchmarks/netio No commercial use: commercial use requires a commercial license zerotier-* net/zerotier No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt Index: head/multimedia/Makefile =================================================================== --- head/multimedia/Makefile (revision 530791) +++ head/multimedia/Makefile (revision 530792) @@ -1,470 +1,471 @@ # $FreeBSD$ # COMMENT = Multimedia software SUBDIR += Bento4 SUBDIR += QtAV SUBDIR += ab25 SUBDIR += acidrip SUBDIR += aegisub SUBDIR += aom SUBDIR += aravis SUBDIR += assimp SUBDIR += atomicparsley SUBDIR += audacious SUBDIR += audacious-gtk3 SUBDIR += audacious-plugins SUBDIR += audacious-plugins-gtk3 SUBDIR += avidemux SUBDIR += avidemux-cli SUBDIR += avidemux-plugins SUBDIR += avidemux-qt5 SUBDIR += avinfo SUBDIR += baka-mplayer SUBDIR += bcmatroska2 SUBDIR += bino SUBDIR += bitstream SUBDIR += blind SUBDIR += bsdbktr_tvtune SUBDIR += butt SUBDIR += camserv SUBDIR += ccextractor SUBDIR += cclive SUBDIR += celluloid SUBDIR += cheese SUBDIR += chilitags SUBDIR += clipgrab SUBDIR += clive SUBDIR += clutter-gst SUBDIR += clutter-gst3 SUBDIR += cmrt SUBDIR += cmrtlib SUBDIR += cx88 SUBDIR += dav1d SUBDIR += deforaos-player SUBDIR += din SUBDIR += dirac SUBDIR += dragon SUBDIR += dtv-scan-tables SUBDIR += dumpmpeg SUBDIR += dv2sub SUBDIR += dvb-apps SUBDIR += dvbcut SUBDIR += dvbsnoop SUBDIR += dvd-slideshow SUBDIR += dvdauthor SUBDIR += dvdid SUBDIR += dvdrip SUBDIR += dvdstyler SUBDIR += emby-server SUBDIR += emovix SUBDIR += ffaudioconverter SUBDIR += ffdec SUBDIR += ffmpeg SUBDIR += ffmpeg2theora SUBDIR += ffmpegthumbnailer SUBDIR += ffms2 SUBDIR += flvmeta SUBDIR += flvstreamer SUBDIR += flvtool++ SUBDIR += fpc-dts SUBDIR += fpc-libvlc SUBDIR += freevo SUBDIR += fxtv SUBDIR += gaupol SUBDIR += gavl SUBDIR += gdialog SUBDIR += gmerlin SUBDIR += gmimms SUBDIR += gmmlib SUBDIR += gmp-api SUBDIR += gmtk SUBDIR += gnome-mplayer SUBDIR += gnome-subtitles SUBDIR += gnome-twitch SUBDIR += gpac-libgpac SUBDIR += gpac-mp4box SUBDIR += gpodder SUBDIR += grake SUBDIR += gst123 SUBDIR += gstreamer SUBDIR += gstreamer-ffmpeg SUBDIR += gstreamer-plugins SUBDIR += gstreamer-plugins-all SUBDIR += gstreamer-plugins-annodex SUBDIR += gstreamer-plugins-bad SUBDIR += gstreamer-plugins-bz2 SUBDIR += gstreamer-plugins-core SUBDIR += gstreamer-plugins-dts SUBDIR += gstreamer-plugins-dv SUBDIR += gstreamer-plugins-dvd SUBDIR += gstreamer-plugins-fluendo-mpegdemux SUBDIR += gstreamer-plugins-gnonlin SUBDIR += gstreamer-plugins-good SUBDIR += gstreamer-plugins-mpeg2dec SUBDIR += gstreamer-plugins-mpeg2enc SUBDIR += gstreamer-plugins-resindvd SUBDIR += gstreamer-plugins-schroedinger SUBDIR += gstreamer-plugins-theora SUBDIR += gstreamer-plugins-ugly SUBDIR += gstreamer-plugins-v4l2 SUBDIR += gstreamer-plugins-vdpau SUBDIR += gstreamer-plugins-vp8 SUBDIR += gstreamer-plugins-x264 SUBDIR += gstreamer-plugins-xvid SUBDIR += gstreamer1 SUBDIR += gstreamer1-editing-services SUBDIR += gstreamer1-libav SUBDIR += gstreamer1-plugins SUBDIR += gstreamer1-plugins-all SUBDIR += gstreamer1-plugins-aom SUBDIR += gstreamer1-plugins-assrender SUBDIR += gstreamer1-plugins-bad SUBDIR += gstreamer1-plugins-core SUBDIR += gstreamer1-plugins-dash SUBDIR += gstreamer1-plugins-dts SUBDIR += gstreamer1-plugins-dv SUBDIR += gstreamer1-plugins-dvdread SUBDIR += gstreamer1-plugins-gnonlin SUBDIR += gstreamer1-plugins-good SUBDIR += gstreamer1-plugins-hls SUBDIR += gstreamer1-plugins-kate SUBDIR += gstreamer1-plugins-libde265 SUBDIR += gstreamer1-plugins-mpeg2dec SUBDIR += gstreamer1-plugins-mpeg2enc SUBDIR += gstreamer1-plugins-mplex SUBDIR += gstreamer1-plugins-msdk SUBDIR += gstreamer1-plugins-openh264 SUBDIR += gstreamer1-plugins-resindvd SUBDIR += gstreamer1-plugins-rtmp SUBDIR += gstreamer1-plugins-smoothstreaming SUBDIR += gstreamer1-plugins-svt-av1 SUBDIR += gstreamer1-plugins-svt-hevc SUBDIR += gstreamer1-plugins-svt-vp9 SUBDIR += gstreamer1-plugins-theora SUBDIR += gstreamer1-plugins-ttml SUBDIR += gstreamer1-plugins-ugly SUBDIR += gstreamer1-plugins-v4l2 SUBDIR += gstreamer1-plugins-vpx SUBDIR += gstreamer1-plugins-x264 SUBDIR += gstreamer1-plugins-x265 SUBDIR += gstreamer1-qt SUBDIR += gstreamer1-rtsp-server SUBDIR += gstreamer1-transcoder SUBDIR += gstreamer1-vaapi SUBDIR += gstreamer1-validate SUBDIR += gstreamermm SUBDIR += gtk-youtube-viewer SUBDIR += gxine SUBDIR += handbrake SUBDIR += harvid SUBDIR += imagination SUBDIR += intel-media-sdk SUBDIR += iriverter SUBDIR += iso2mkv SUBDIR += jmref SUBDIR += kaffeine SUBDIR += kamoso SUBDIR += kdemultimedia SUBDIR += kdemultimedia-ffmpegthumbs SUBDIR += kdenlive SUBDIR += kf5-kmediaplayer SUBDIR += kmplayer SUBDIR += kodi SUBDIR += kodi-addon-inputstream.adaptive-devel SUBDIR += kodi-addon-peripheral-joystick SUBDIR += kodi-addon-peripheral.joystick-devel SUBDIR += kodi-addon-pvr-hts SUBDIR += kodi-addon-pvr-iptvsimple SUBDIR += kodi-addon-vfs.libarchive-devel SUBDIR += kodi-devel SUBDIR += kvazaar SUBDIR += l-smash SUBDIR += libaacs SUBDIR += libass SUBDIR += libav SUBDIR += libbdplus SUBDIR += libbluray SUBDIR += libcec SUBDIR += libdc1394 SUBDIR += libdca SUBDIR += libdcadec SUBDIR += libde265 SUBDIR += libdv SUBDIR += libdvbcsa SUBDIR += libdvbpsi SUBDIR += libdvdcss SUBDIR += libdvdnav SUBDIR += libdvdread SUBDIR += libfame SUBDIR += libhdhomerun SUBDIR += libkate SUBDIR += libmatroska SUBDIR += libmediaart SUBDIR += libmediainfo SUBDIR += libmpeg2 SUBDIR += libmpeg3 SUBDIR += libmtp SUBDIR += libopenshot SUBDIR += libquicktime SUBDIR += libquicktime-lame SUBDIR += libquvi SUBDIR += libquvi-scripts SUBDIR += libquvi-scripts09 SUBDIR += libquvi09 SUBDIR += librav1e SUBDIR += librtmp SUBDIR += libsmacker SUBDIR += libtheora SUBDIR += libtuner SUBDIR += libuvc SUBDIR += libv4l SUBDIR += libva SUBDIR += libva-glx SUBDIR += libva-intel-driver SUBDIR += libva-intel-hybrid-driver SUBDIR += libva-intel-media-driver SUBDIR += libva-utils SUBDIR += libva-vdpau-driver SUBDIR += libvdpau SUBDIR += libvdpau-va-gl SUBDIR += libvpx SUBDIR += libx264 SUBDIR += libxine SUBDIR += libxspf SUBDIR += libzen SUBDIR += linux-c7-libtheora SUBDIR += linux-c7-libv4l SUBDIR += linux-tsmuxer SUBDIR += linux_dvbwrapper-kmod SUBDIR += lives SUBDIR += livestreamer SUBDIR += lsdvd SUBDIR += lxdvdrip SUBDIR += m2tstoavi SUBDIR += m2vrequantiser + SUBDIR += makemkv SUBDIR += mediainfo SUBDIR += mencoder SUBDIR += mimms SUBDIR += minitube SUBDIR += mjpegtools SUBDIR += mjpg-streamer SUBDIR += mkclean SUBDIR += mkvalidator SUBDIR += mkvtoolnix SUBDIR += mkxvcd SUBDIR += mlt SUBDIR += mlt-qt5 SUBDIR += mmsclient SUBDIR += mmsrip SUBDIR += motion SUBDIR += mp3cd SUBDIR += mp4v2 SUBDIR += mpc-qt SUBDIR += mpeg2codec SUBDIR += mpeg2play SUBDIR += mpeg_encode SUBDIR += mpeg_play SUBDIR += mpeg_stat SUBDIR += mpgtx SUBDIR += mplayer SUBDIR += mplayer-skins SUBDIR += mplex SUBDIR += mps-youtube SUBDIR += mpv SUBDIR += mpv-mpris SUBDIR += msdl SUBDIR += msopenh264 SUBDIR += mswebrtc SUBDIR += musikcube SUBDIR += mxflib SUBDIR += mythtv SUBDIR += mythtv-frontend SUBDIR += naludump SUBDIR += nordlicht SUBDIR += nostt SUBDIR += obs-audio-spectralizer SUBDIR += obs-ndi SUBDIR += obs-qtwebkit SUBDIR += obs-scrab SUBDIR += obs-streamfx SUBDIR += obs-studio SUBDIR += obs-transition-matrix SUBDIR += obs-websocket SUBDIR += oggvideotools SUBDIR += ogmrip SUBDIR += ogmtools SUBDIR += olive SUBDIR += omxplayer SUBDIR += openh264 SUBDIR += openshot SUBDIR += oscam SUBDIR += p5-Audio-M4P SUBDIR += p5-FFmpeg-Command SUBDIR += p5-FLV-Info SUBDIR += p5-File-Format-RIFF SUBDIR += p5-GStreamer SUBDIR += p5-MP4-Info SUBDIR += p5-Net-UPnP SUBDIR += p5-Subtitles SUBDIR += p5-Umph-Prompt SUBDIR += pHash SUBDIR += peek SUBDIR += phonon SUBDIR += phonon-designerplugin SUBDIR += phonon-gstreamer SUBDIR += phonon-vlc SUBDIR += photofilmstrip SUBDIR += php-pHash SUBDIR += pipewire SUBDIR += pitivi SUBDIR += plexmediaserver SUBDIR += plexmediaserver-plexpass SUBDIR += podcastdl SUBDIR += poe SUBDIR += ppm2fli SUBDIR += projectx SUBDIR += ptx-kmod SUBDIR += pwcbsd SUBDIR += pwcview SUBDIR += py-PySceneDetect SUBDIR += py-av SUBDIR += py-cec SUBDIR += py-enzyme SUBDIR += py-ffmpeg-python SUBDIR += py-flvlib SUBDIR += py-gstreamer SUBDIR += py-gstreamer1 SUBDIR += py-guessit SUBDIR += py-kaa-base SUBDIR += py-kaa-imlib2 SUBDIR += py-kaa-metadata SUBDIR += py-librtmp SUBDIR += py-mido SUBDIR += py-mlt SUBDIR += py-moviepy SUBDIR += py-openlp SUBDIR += py-periscope SUBDIR += py-pretty_midi SUBDIR += py-pymediainfo SUBDIR += py-qt5-multimedia SUBDIR += py-qt5-multimediawidgets SUBDIR += py-soco SUBDIR += py-subliminal SUBDIR += py-tvnamer SUBDIR += qmmp-plugin-pack-qt5 SUBDIR += qmmp-qt5 SUBDIR += qt-faststart SUBDIR += qt5-multimedia SUBDIR += quodlibet SUBDIR += quvi SUBDIR += quvi09 SUBDIR += rage SUBDIR += rav1e SUBDIR += recmpeg SUBDIR += recordmydesktop SUBDIR += replex SUBDIR += rtmpdump SUBDIR += rubygem-av SUBDIR += rubygem-clutter-gstreamer SUBDIR += rubygem-flvtool2 SUBDIR += rubygem-gstreamer SUBDIR += rubygem-paperclip-av-transcoder SUBDIR += rubygem-paperclip-av-transcoder-rails50 SUBDIR += rubygem-streamio-ffmpeg SUBDIR += sabbu SUBDIR += schroedinger SUBDIR += shotcut SUBDIR += simplescreenrecorder SUBDIR += smpeg SUBDIR += smpeg2 SUBDIR += smplayer SUBDIR += smplayer-skins SUBDIR += smplayer-themes SUBDIR += sms1xxx-kmod SUBDIR += smtube SUBDIR += snappy SUBDIR += spigot SUBDIR += spook SUBDIR += subsync SUBDIR += subtitlecomposer SUBDIR += subtitleoffsetmodifier SUBDIR += subtitleripper SUBDIR += subtools SUBDIR += svt-av1 SUBDIR += svt-hevc SUBDIR += svt-vp9 SUBDIR += swfdec-gnome SUBDIR += syncplay SUBDIR += szap-s2 SUBDIR += tautulli SUBDIR += tcmplex-panteltje SUBDIR += termplay SUBDIR += tivodecode SUBDIR += totem SUBDIR += totem-pl-parser SUBDIR += tovid SUBDIR += transcode SUBDIR += tstools SUBDIR += tvheadend SUBDIR += umph SUBDIR += ustreamer SUBDIR += v4l-utils SUBDIR += v4l_compat SUBDIR += vamps SUBDIR += vapoursynth SUBDIR += vapoursynth-l-smash-works SUBDIR += vapoursynth-vmaf SUBDIR += vcdgear SUBDIR += vcdimager SUBDIR += vcdpad SUBDIR += vdpauinfo SUBDIR += vdr SUBDIR += vdr-plugin-control SUBDIR += vdr-plugin-eepg SUBDIR += vdr-plugin-epgsearch SUBDIR += vdr-plugin-extrecmenu SUBDIR += vdr-plugin-femon SUBDIR += vdr-plugin-infosatepg SUBDIR += vdr-plugin-iptv SUBDIR += vdr-plugin-markad SUBDIR += vdr-plugin-osdpip SUBDIR += vdr-plugin-osdteletext SUBDIR += vdr-plugin-reelchannelscan SUBDIR += vdr-plugin-remote SUBDIR += vdr-plugin-skinenigmang SUBDIR += vdr-plugin-sleeptimer SUBDIR += vdr-plugin-streamdev SUBDIR += vdr-plugin-ttxtsubs SUBDIR += vdr-plugin-vdrmanager SUBDIR += vdr-plugin-vnsiserver SUBDIR += vdr-plugin-wirbelscan SUBDIR += vdr-plugin-xineliboutput SUBDIR += vdr-plugin-xvdr SUBDIR += vdr-plugins SUBDIR += vid.stab SUBDIR += vlc SUBDIR += vmaf SUBDIR += vtkmpeg2encode SUBDIR += w_scan SUBDIR += webcamd SUBDIR += webcamoid SUBDIR += webvfx-qt5 SUBDIR += wf-recorder SUBDIR += win32-codecs SUBDIR += winff SUBDIR += wlrobs SUBDIR += x264 SUBDIR += x265 SUBDIR += xanim SUBDIR += xawtv SUBDIR += xfce4-parole SUBDIR += xine SUBDIR += xporthdmv SUBDIR += xvid SUBDIR += yamdi SUBDIR += zart SUBDIR += zoneminder .include Index: head/multimedia/makemkv/Makefile =================================================================== --- head/multimedia/makemkv/Makefile (nonexistent) +++ head/multimedia/makemkv/Makefile (revision 530792) @@ -0,0 +1,265 @@ +# Created by: Felix Palmen +# $FreeBSD$ + +PORTNAME= makemkv +PORTVERSION= 1.15.0 +CATEGORIES= multimedia +MASTER_SITES= http://www.makemkv.com/download/:makemkv \ + http://www.makemkv.com/download/old/:makemkv \ + KERNEL_ORG/linux/kernel/v2.6:linux \ + GNU/binutils:binutils \ + GNU/glibc:glibc \ + GNU/gmp:gmp \ + GNU/mpfr:mpfr \ + GNU/mpc:mpc \ + GCC/releases/gcc-${GCCVERSION}:gcc \ + SF/opencore-amr/fdk-aac/:fdkaac \ + https://ffmpeg.org/releases/:ffmpeg \ + https://www.openssl.org/source/old/${OPENSSLVERSION}/:openssl +DISTFILES= makemkv-oss-${PORTVERSION}.tar.gz:makemkv \ + makemkv-bin-${PORTVERSION}.tar.gz:makemkv \ + linux-${LINUXVERSION}.tar.xz:linux \ + binutils-${BINUTILSVERSION}.tar.bz2:binutils \ + glibc-${GLIBCVERSION}.tar.xz:glibc \ + gmp-${GMPVERSION}.tar.xz:gmp \ + mpfr-${MPFRVERSION}.tar.xz:mpfr \ + mpc-${MPCVERSION}.tar.gz:mpc \ + gcc-${GCCVERSION}.tar.gz:gcc \ + fdk-aac-${FDKAACVERSION}.tar.gz:fdkaac \ + ffmpeg-${FFMPEGVERSION}.tar.bz2:ffmpeg \ + openssl-${OPENSSLFULLVER}.tar.gz:openssl +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= felix@palmen-it.de +COMMENT= Video converter reading from DVD and Bluray + +LICENSE= MAKEMKV FDK GPLv2 GPLv3 LGPL21+ LGPL3 OpenSSL +LICENSE_COMB= multi +LICENSE_NAME_MAKEMKV= The MakeMKV EULA +LICENSE_NAME_FDK= The FDK AAC License +LICENSE_FILE_MAKEMKV= ${WRKDIR}/makemkv-bin-${PORTVERSION}/src/eula_en_linux.txt +LICENSE_FILE_FDK= ${WRKDIR}/fdk-aac-${FDKAACVERSION}/NOTICE +LICENSE_PERMS_MAKEMKV= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \ + no-auto-accept +LICENSE_PERMS_FDK= dist-mirror no-dist-sell pkg-mirror no-pkg-sell \ + auto-accept +LICENSE_DISTFILES_FDK= fdk-aac-${FDKAACVERSION}.tar.gz +LICENSE_DISTFILES_GPLv2= binutils-${BINUTILSVERSION}.tar.bz2 \ + glibc-${GLIBCVERSION}.tar.xz \ + linux-${LINUXVERSION}.tar.xz \ + gcc-${GCCVERSION}.tar.gz +LICENSE_DISTFILES_LGPL21+ = ffmpeg-${FFMPEGVERSION}.tar.bz2 +LICENSE_DISTFILES_GPLv3= gmp-${GMPVERSION}.tar.xz \ + mpfr-${MPFRVERSION}.tar.xz +LICENSE_DISTFILES_LGPL3= mpc-${MPCVERSION}.tar.gz +LICENSE_DISTFILES_OpenSSL= openssl-${OPENSSLFULLVER}.tar.gz +LICENSE_DISTFILES_MAKEMKV= makemkv-bin-${PORTVERSION}.tar.gz \ + makemkv-oss-${PORTVERSION}.tar.gz + +ONLY_FOR_ARCHS= amd64 i386 +USE_LDCONFIG= yes +USES= gmake linux pkgconfig perl5 +USE_LINUX= base expat expat:build openssl openssl:build +USE_PERL5= build +USE_GCC= yes +BUILD_DEPENDS= nasm>0:devel/nasm \ + ${LOCALBASE}/include/expat.h:textproc/expat2 \ + patchelf>0:sysutils/patchelf \ + gawk>0:lang/gawk \ + gsed>0:textproc/gsed + +RESTRICTED= yes +RESTRICTED_FILES= makemkv-bin-${PORTVERSION}.tar.gz + +WRKSRC= ${WRKDIR}/makemkv-oss-${PORTVERSION} + +SUB_FILES= update-makemkv-drives +SUB_LIST= LINUXBASE=${LINUXBASE} +PLIST_SUB= LINUXBASE=${LINUXBASE} + +LINUXVERSION= 2.6.32.27 +BINUTILSVERSION= 2.27 +GLIBCVERSION= 2.17 +GMPVERSION= 5.1.3 +MPFRVERSION= 3.1.2 +MPCVERSION= 1.0.3 +GCCVERSION= 5.5.0 +FDKAACVERSION= 2.0.1 +FFMPEGVERSION= 4.2.2 +OPENSSLVERSION= 1.0.2 +OPENSSLPATCHLEVEL= k +OPENSSLFULLVER= ${OPENSSLVERSION}${OPENSSLPATCHLEVEL} + +LINUXARCH= ${ARCH:S/amd64/x86_64/} +LINUXTRIPLET= ${LINUXARCH}-unknown-linux-gnu +LINUXLIBDIR= ${LINUXBASE}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} +GNUCROSSDIR= ${WRKDIR}/gnuroot/${LINUXTRIPLET} +GNUCROSSLIBDIR= ${GNUCROSSDIR}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} +OPENSSLTARGET= ${"${LINUXARCH:Mx86_64}" != "":?linux-x86_64:linux-elf} + +PATCHELF_CMD?= ${LOCALBASE}/bin/patchelf + +CFLAGS+= -DFORCE_OPENSSL_NO_EC -I${WRKDIR}/gnuroot/include \ + -I${WRKDIR}/openssl-${OPENSSLFULLVER}/include +SSP_CFLAGS= +LDFLAGS+= -L${WRKDIR}/gnuroot/lib -Wl,-rpath-link=${WRKDIR}/gnuroot/lib +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --disable-gui --host=${LINUXTRIPLET} \ + --libdir=${PREFIX}/lib/makemkv +CONFIGURE_ENV= CC=${LINUXTRIPLET}-gcc CXX=${LINUXTRIPLET}-g++ \ + CFLAGS="${CFLAGS:N-Wl,-rpath=*}" \ + CXXFLAGS="${CXXFLAGS:N-Wl,-rpath=*}" \ + LDFLAGS="${LDFLAGS:N-Wl,-rpath=*}" \ + PATH=${WRKDIR}/gnuroot/bin:${PATH} \ + PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig +MAKE_ENV= PATH=${WRKDIR}/gnuroot/bin:${PATH} +STRIP_CMD= ${WRKDIR}/gnuroot/bin/${LINUXTRIPLET}-strip + +post-extract: + @${MV} -f ${WRKDIR}/gmp-${GMPVERSION} \ + ${WRKDIR}/gcc-${GCCVERSION}/gmp + @${MV} -f ${WRKDIR}/mpfr-${MPFRVERSION} \ + ${WRKDIR}/gcc-${GCCVERSION}/mpfr + @${MV} -f ${WRKDIR}/mpc-${MPCVERSION} \ + ${WRKDIR}/gcc-${GCCVERSION}/mpc + @${MKDIR} ${WRKDIR}/gnuroot/lib + @cd ${WRKDIR}/gnuroot/lib; \ + ${LN} -s ${LINUXLIBDIR}/libz.so.1; \ + ${LN} -s libz.so.1 libz.so; \ + ${LN} -s ${LINUXLIBDIR}/libcrypto.so.10; \ + ${LN} -s libcrypto.so.10 libcrypto.so; \ + ${LN} -s ${LINUXLIBDIR}/libexpat.so.1; \ + ${LN} -s libexpat.so.1 libexpat.so + @${MKDIR} ${WRKDIR}/gnuroot/include + @cd ${WRKDIR}/gnuroot/include; \ + ${LN} -s /usr/include/zlib.h; \ + ${LN} -s /usr/include/zconf.h; \ + ${LN} -s ${LOCALBASE}/include/expat.h; \ + ${LN} -s ${LOCALBASE}/include/expat_config.h; \ + ${LN} -s ${LOCALBASE}/include/expat_external.h + @${MKDIR} ${WRKDIR}/binutils-build + @${MKDIR} ${WRKDIR}/gcc-build + @${MKDIR} ${WRKDIR}/glibc-build + +post-patch: + @${REINPLACE_CMD} -e 's:INSTALL) -D:INSTALL):' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's:/bin/bash:/bin/sh:' \ + -e 's:x86_64:amd64:' \ + -e 's:-t \([^ ]*\) \([^ ]*\):\2 \1:' \ + ${WRKDIR}/makemkv-bin-${PORTVERSION}/Makefile + @${REINPLACE_CMD} -e 's:3\.79:4.*:' \ + ${WRKDIR}/glibc-${GLIBCVERSION}/configure + @${REINPLACE_CMD} -e 's:#ifndef __u_char_defined:#if 0:' \ + -e 's:#ifndef __daddr_t_defined:#if 0:' \ + ${WRKDIR}/glibc-${GLIBCVERSION}/sunrpc/rpc/types.h + @${REINPLACE_CMD} -e 's:^\([[:space:]]*\)sed :\1gsed :' \ + ${WRKDIR}/glibc-${GLIBCVERSION}/Makerules + +pre-configure: + # Linux headers + cd ${WRKDIR}/linux-${LINUXVERSION}; \ + ${MAKE_CMD} V=1 HOSTCC=${CC} ARCH=${LINUXARCH} \ + INSTALL_HDR_PATH=${GNUCROSSDIR} headers_install; \ + # Binutils + cd ${WRKDIR}/binutils-build; \ + CC=${CC} CXX=${CXX} ../binutils-${BINUTILSVERSION}/configure \ + --target=${LINUXTRIPLET} \ + --prefix=${WRKDIR}/gnuroot \ + --disable-multilib --disable-nls; \ + ${MAKE_CMD} ${_MAKE_JOBS} && \ + ${MAKE_CMD} install + # GCC compiler + cd ${WRKDIR}/gcc-build; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + CC=${CC} CXX=${CXX} ../gcc-${GCCVERSION}/configure \ + --target=${LINUXTRIPLET} \ + --prefix=${WRKDIR}/gnuroot \ + --enable-languages=c,c++ --disable-multilib; \ + ${MAKE_CMD} ${_MAKE_JOBS} all-gcc && \ + ${MAKE_CMD} install-gcc + # Glibc headers / startup code + cd ${WRKDIR}/glibc-build; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + export nargs=0; \ + BUILD_CC=${CC} CC=${LINUXTRIPLET}-gcc \ + ../glibc-${GLIBCVERSION}/configure \ + --host=${LINUXTRIPLET} \ + --prefix=${GNUCROSSDIR} \ + --with-binutils=${WRKDIR}/gnuroot/bin \ + --with-headers=${GNUCROSSDIR}/include \ + --disable-profile --disable-multilib \ + --enable-kernel=2.6.32 libc_cv_forced_unwind=yes \ + libc_cv_ssp=no; \ + ${MAKE_CMD} install-bootstrap-headers=yes install-headers; \ + ${MAKE_CMD} ${_MAKE_JOBS} csu/subdir_lib; \ + ${INSTALL_DATA} csu/crt1.o csu/crti.o csu/crtn.o \ + ${GNUCROSSDIR}/lib; \ + ${LINUXTRIPLET}-gcc -nostdlib -nostartfiles -shared \ + -x c /dev/null -o ${GNUCROSSDIR}/lib/libc.so; \ + ${TOUCH} ${GNUCROSSDIR}/include/gnu/stubs.h + # GCC support libs + cd ${WRKDIR}/gcc-build; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + ${MAKE_CMD} ${_MAKE_JOBS} all-target-libgcc; \ + ${MAKE_CMD} install-target-libgcc + # Glibc library + cd ${WRKDIR}/glibc-build; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + ${MAKE_CMD} ${_MAKE_JOBS}; \ + ${MAKE_CMD} install + # GCC libstdc++ + ${ECHO_CMD} '#/bin/sh\ntrue' \ + >${WRKDIR}/gnuroot/bin/ldconfig + ${CHMOD} +x ${WRKDIR}/gnuroot/bin/ldconfig + cd ${WRKDIR}/gcc-build; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + ${MAKE_CMD} ${_MAKE_JOBS}; \ + ${MAKE_CMD} install + # FDK AAC + cd ${WRKDIR}/fdk-aac-${FDKAACVERSION}; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + export CXXFLAGS="${CFLAGS}"; \ + LDFLAGS=-L${WRKDIR}/gnuroot/lib \ + ./configure --prefix=${WRKDIR}/gnuroot \ + --disable-shared --enable-static --with-pic \ + --host=${LINUXTRIPLET} --disable-silent-rules; \ + ${MAKE_CMD} ${_MAKE_JOBS} install + # ffmpeg + cd ${WRKDIR}/ffmpeg-${FFMPEGVERSION}; \ + export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ + export CFLAGS="${CFLAGS}"; \ + PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig \ + CPPFLAGS="-Dcaddr_t=void\* -D__daddr_t_defined" \ + LDFLAGS=-L${WRKDIR}/gnuroot/lib \ + ./configure --prefix=${WRKDIR}/gnuroot \ + --disable-shared --enable-static --enable-pic \ + --enable-libfdk-aac --pkg-config=pkg-config \ + --cross-prefix=${LINUXTRIPLET}- --arch=${LINUXARCH} \ + --target-os=linux --host-cc=${CC}; \ + CFLAGS="${CFLAGS}" \ + ${MAKE_CMD} ${_MAKE_JOBS} V=1 ARCH=x86 all install + # OpenSSL headers + cd ${WRKDIR}/openssl-${OPENSSLFULLVER}; \ + ./Configure --openssldir= --prefix=/usr ${OPENSSLTARGET} + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/makemkv + +post-install: + ${INSTALL_MAN} ${FILESDIR}/makemkvcon.1 \ + ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_LIB} ${GNUCROSSLIBDIR}/libstdc++.so.6 \ + ${STAGEDIR}${PREFIX}/lib/makemkv + cd ${WRKDIR}/makemkv-bin-${PORTVERSION}; \ + ${MKDIR} tmp; \ + ${ECHO_CMD} accepted > tmp/eula_accepted; \ + ${MAKE_CMD} DESTDIR=${STAGEDIR} PREFIX=${PREFIX} install + ${PATCHELF_CMD} --set-rpath ${PREFIX}/lib/makemkv \ + ${STAGEDIR}${PREFIX}/bin/makemkvcon + ${REINPLACE_CMD} -e 's:/sys/bus/scsi:/etc/makemkv/:' \ + ${STAGEDIR}${PREFIX}/bin/makemkvcon + ${INSTALL_SCRIPT} ${WRKDIR}/update-makemkv-drives \ + ${STAGEDIR}${PREFIX}/sbin + +.include Property changes on: head/multimedia/makemkv/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/makemkv/distinfo =================================================================== --- head/multimedia/makemkv/distinfo (nonexistent) +++ head/multimedia/makemkv/distinfo (revision 530792) @@ -0,0 +1,25 @@ +TIMESTAMP = 1585042908 +SHA256 (makemkv/makemkv-oss-1.15.0.tar.gz) = a9213fa7cbf2bf2f03d90cd350ad53aa82394bc3991c440e9e369e4169f3ed06 +SIZE (makemkv/makemkv-oss-1.15.0.tar.gz) = 6383576 +SHA256 (makemkv/makemkv-bin-1.15.0.tar.gz) = 442d67d5368390263c30fca2d980ebfffb716be227b9f056b69961d2b11b26ff +SIZE (makemkv/makemkv-bin-1.15.0.tar.gz) = 9516617 +SHA256 (makemkv/linux-2.6.32.27.tar.xz) = 96c20c370ed440db61624d93f34721a09a69b12bb81b1b03bb735041983fb1bd +SIZE (makemkv/linux-2.6.32.27.tar.xz) = 52652044 +SHA256 (makemkv/binutils-2.27.tar.bz2) = 369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 +SIZE (makemkv/binutils-2.27.tar.bz2) = 26099568 +SHA256 (makemkv/glibc-2.17.tar.xz) = 6914e337401e0e0ade23694e1b2c52a5f09e4eda3270c67e7c3ba93a89b5b23e +SIZE (makemkv/glibc-2.17.tar.xz) = 10981956 +SHA256 (makemkv/gmp-5.1.3.tar.xz) = dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 +SIZE (makemkv/gmp-5.1.3.tar.xz) = 1818812 +SHA256 (makemkv/mpfr-3.1.2.tar.xz) = 399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b +SIZE (makemkv/mpfr-3.1.2.tar.xz) = 1074388 +SHA256 (makemkv/mpc-1.0.3.tar.gz) = 617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 +SIZE (makemkv/mpc-1.0.3.tar.gz) = 669925 +SHA256 (makemkv/gcc-5.5.0.tar.gz) = 3aabce75d6dd206876eced17504b28d47a724c2e430dbd2de176beb948708983 +SIZE (makemkv/gcc-5.5.0.tar.gz) = 123816630 +SHA256 (makemkv/fdk-aac-2.0.1.tar.gz) = 840133aa9412153894af03b27b03dde1188772442c316a4ce2a24ed70093f271 +SIZE (makemkv/fdk-aac-2.0.1.tar.gz) = 2865456 +SHA256 (makemkv/ffmpeg-4.2.2.tar.bz2) = b620d187c26f76ca19e74210a0336c3b8380b97730df5cdf45f3e69e89000e5c +SIZE (makemkv/ffmpeg-4.2.2.tar.bz2) = 10953320 +SHA256 (makemkv/openssl-1.0.2k.tar.gz) = 6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0 +SIZE (makemkv/openssl-1.0.2k.tar.gz) = 5309236 Property changes on: head/multimedia/makemkv/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/makemkv/files/makemkvcon.1 =================================================================== --- head/multimedia/makemkv/files/makemkvcon.1 (nonexistent) +++ head/multimedia/makemkv/files/makemkvcon.1 (revision 530792) @@ -0,0 +1,103 @@ +.Dd May 20, 2019 +.Dt MAKEMKVCON 1 +.Os +.Sh NAME +.Nm makemkvcon +.Nd read video from DVD or Bluray disc and convert to mkv format +.Sh SYNOPSIS +.Nm +.Op Fl -minlength= Ns Ar seconds +.Cm info +.Ar source_spec +.Nm +.Op Fl -minlength= Ns Ar seconds +.Cm mkv +.Ar source_spec +.Ar title_spec +.Pa target_directory +.Sh DESCRIPTION +The +.Nm +utility shows information about a video disc in an optical drive, the +.Cm mkv +subcommand also converts selected titles from the disc to +.Sy .mkv +files in a given location. +.sp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl -minlength= Ns Ar seconds +Only consider video titles with a minimal length of +.Ar seconds . No If you use the +.Cm mkv +subcommand after the +.Cm info +subcommand, make sure to pass the same value for +.Ar seconds , +as filtering out titles with a smaller length happens before +numbering the titles. +.It Ar source_spec +Read video disc from the given source. +Use +.Dq disc:0 +here to have +.Nm +read from the first video disc it can find. +.It Ar title_spec +Determines which titles to read. +This can be either a whole number from +.Sy 0 +to +.Sy n-1 +for a disc with +.Sy n +titles to read exactly one title, or the string +.Dq all +to read all titles found. +.It Ar target_directory +The path where to store the converted +.Sy .mkv +files. +.El +.Sh FILES +.Bl -tag -width Ds +.It Pa ~/.MakeMKV/settings.conf +You may put a license key in this file in the following format: +.Dl app_Key = Qq XXXXXXXXXXXXXXXX... +You can either buy a license or use the key, that is freely available +as long as MakeMKV is in beta from +.Lk https://www.makemkv.com/forum/ . +.El +.Sh EXAMPLES +.Bd -literal -offset indent +% makemkvcon mkv disc:0 0 . +.Ed +.sp +This command reads the first title from the first disc it can find and stores +a converted +.Sy .mkv +file in the current directory. +.Sh SEE ALSO +This manpage only describes the most commonly used options. +A more complete documentation is available online at +.Lk https://www.makemkv.com/developers/usage.txt +.sp +For some examples what you can put in your configuration file, see +.Lk http://wiki.indie-it.com/wiki/MakeMKV +.Sh BUGS +On +.Fx Ns , +.Nm +crashes with a signal 11 (segmentation fault) after finishing its job. +Be aware this might leave a +.Sy .core +file on your file system. +.Sh KNOWN ISSUES +To find optical drives, +.Nm +uses some entries from Linux' sysfs that aren't present on +.Fx . +A script `update-makemkv-drives` is included to fake these entries and is run +automatically on installation. +If your system's configuration changes, you must run this script as root +manually, so new or changed drives can be found. Property changes on: head/multimedia/makemkv/files/makemkvcon.1 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/makemkv/files/update-makemkv-drives.in =================================================================== --- head/multimedia/makemkv/files/update-makemkv-drives.in (nonexistent) +++ head/multimedia/makemkv/files/update-makemkv-drives.in (revision 530792) @@ -0,0 +1,58 @@ +#!/bin/sh + +trap 'rm -fr $TMPFIFODIR' EXIT +TMPFIFODIR=$(mktemp -d) +mkfifo $TMPFIFODIR/campipe + +SGDEVS= + +rm -fr %%LINUXBASE%%/etc/makemkv/devices +rm -fr %%LINUXBASE%%/etc/makemkv/drivers + +camcontrol devlist | grep -E '[(,]cd[0-9]+[,)]' > $TMPFIFODIR/campipe & +while read line +do + SCBUS=`echo $line | grep -Eo 'scbus[0-9]+' | sed -e 's:scbus::'` + TARGET=`echo $line | grep -Eo 'target [0-9]+' | sed -e 's:target ::'` + LUN=`echo $line | grep -Eo 'lun [0-9]+' | sed -e 's:lun ::'` + SGDEV=`echo $line | grep -Eo '(.*)' | grep -Eo 'sg[0-9]+'` + if [ -n "$SCBUS" -a -n "$TARGET" -a -n "$LUN" ]; then + if [ -z "$SGDEV" ]; then + cat < +for building a custom kernel. + +When finished, re-run this script (update-makemkv-drives). +EOF + exit 1 + fi + SGDEVS="$SGDEVS /dev/$SGDEV" + LOC=$SCBUS:0:$TARGET:$LUN + mkdir -p %%LINUXBASE%%/etc/makemkv/devices/$LOC/scsi_generic/$SGDEV + mkdir -p %%LINUXBASE%%/etc/makemkv/drivers/sr + ln -s ../../devices/$LOC %%LINUXBASE%%/etc/makemkv/drivers/sr/$LOC + echo 5 >%%LINUXBASE%%/etc/makemkv/devices/$LOC/type + fi +done < $TMPFIFODIR/campipe + +if [ -z "$SGDEVS" ]; then + cat <