Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= makemkv |
4 |
PORTNAME= makemkv |
5 |
PORTVERSION= 1.15.1 |
5 |
PORTVERSION= 1.15.2 |
6 |
CATEGORIES= multimedia |
6 |
CATEGORIES= multimedia |
7 |
MASTER_SITES= http://www.makemkv.com/download/:makemkv \ |
7 |
MASTER_SITES= http://www.makemkv.com/download/:makemkv \ |
8 |
http://www.makemkv.com/download/old/:makemkv \ |
8 |
http://www.makemkv.com/download/old/:makemkv \ |
Lines 88-100
Link Here
|
88 |
MPCVERSION= 1.0.3 |
88 |
MPCVERSION= 1.0.3 |
89 |
GCCVERSION= 5.5.0 |
89 |
GCCVERSION= 5.5.0 |
90 |
FDKAACVERSION= 2.0.1 |
90 |
FDKAACVERSION= 2.0.1 |
91 |
FFMPEGVERSION= 4.2.2 |
91 |
FFMPEGVERSION= 4.3.1 |
92 |
OPENSSLVERSION= 1.0.2 |
92 |
OPENSSLVERSION= 1.0.2 |
93 |
OPENSSLPATCHLEVEL= k |
93 |
OPENSSLPATCHLEVEL= k |
94 |
OPENSSLFULLVER= ${OPENSSLVERSION}${OPENSSLPATCHLEVEL} |
94 |
OPENSSLFULLVER= ${OPENSSLVERSION}${OPENSSLPATCHLEVEL} |
95 |
|
95 |
|
96 |
LINUXARCH= ${ARCH:S/amd64/x86_64/} |
96 |
LINUXARCH= ${ARCH:S/amd64/x86_64/} |
97 |
LINUXTRIPLET= ${LINUXARCH}-unknown-linux-gnu |
|
|
98 |
LINUX32CPUTYPE= ${${OSVERSION} >= 1300000:?i686:i486} |
97 |
LINUX32CPUTYPE= ${${OSVERSION} >= 1300000:?i686:i486} |
99 |
LINUXTRIPLET= ${LINUXARCH:S/i386/${LINUX32CPUTYPE}/}-unknown-linux-gnu |
98 |
LINUXTRIPLET= ${LINUXARCH:S/i386/${LINUX32CPUTYPE}/}-unknown-linux-gnu |
100 |
LINUXLIBDIR= ${LINUXBASE}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} |
99 |
LINUXLIBDIR= ${LINUXBASE}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} |
Lines 164-170
Link Here
|
164 |
CC=${CC} CXX=${CXX} ../binutils-${BINUTILSVERSION}/configure \ |
163 |
CC=${CC} CXX=${CXX} ../binutils-${BINUTILSVERSION}/configure \ |
165 |
--target=${LINUXTRIPLET} \ |
164 |
--target=${LINUXTRIPLET} \ |
166 |
--prefix=${WRKDIR}/gnuroot \ |
165 |
--prefix=${WRKDIR}/gnuroot \ |
167 |
--disable-multilib --disable-nls; \ |
166 |
--disable-multilib --disable-nls --without-isl; \ |
168 |
${MAKE_CMD} ${_MAKE_JOBS} && \ |
167 |
${MAKE_CMD} ${_MAKE_JOBS} && \ |
169 |
${MAKE_CMD} install |
168 |
${MAKE_CMD} install |
170 |
# GCC compiler |
169 |
# GCC compiler |
Lines 173-179
Link Here
|
173 |
CC=${CC} CXX=${CXX} ../gcc-${GCCVERSION}/configure \ |
172 |
CC=${CC} CXX=${CXX} ../gcc-${GCCVERSION}/configure \ |
174 |
--target=${LINUXTRIPLET} \ |
173 |
--target=${LINUXTRIPLET} \ |
175 |
--prefix=${WRKDIR}/gnuroot \ |
174 |
--prefix=${WRKDIR}/gnuroot \ |
176 |
--enable-languages=c,c++ --disable-multilib; \ |
175 |
--enable-languages=c,c++ --disable-multilib \ |
|
|
176 |
--without-isl; \ |
177 |
${MAKE_CMD} ${_MAKE_JOBS} all-gcc && \ |
177 |
${MAKE_CMD} ${_MAKE_JOBS} all-gcc && \ |
178 |
${MAKE_CMD} install-gcc |
178 |
${MAKE_CMD} install-gcc |
179 |
# Glibc headers / startup code |
179 |
# Glibc headers / startup code |
Lines 207-213
Link Here
|
207 |
${MAKE_CMD} ${_MAKE_JOBS}; \ |
207 |
${MAKE_CMD} ${_MAKE_JOBS}; \ |
208 |
${MAKE_CMD} install |
208 |
${MAKE_CMD} install |
209 |
# GCC libstdc++ |
209 |
# GCC libstdc++ |
210 |
${ECHO_CMD} '#/bin/sh\ntrue' \ |
210 |
${ECHO_CMD} '#!/bin/sh\ntrue' \ |
211 |
>${WRKDIR}/gnuroot/bin/ldconfig |
211 |
>${WRKDIR}/gnuroot/bin/ldconfig |
212 |
${CHMOD} +x ${WRKDIR}/gnuroot/bin/ldconfig |
212 |
${CHMOD} +x ${WRKDIR}/gnuroot/bin/ldconfig |
213 |
cd ${WRKDIR}/gcc-build; \ |
213 |
cd ${WRKDIR}/gcc-build; \ |
Lines 244-251
Link Here
|
244 |
do-configure: |
244 |
do-configure: |
245 |
cd ${WRKSRC}; \ |
245 |
cd ${WRKSRC}; \ |
246 |
CC=${LINUXTRIPLET}-gcc CXX=${LINUXTRIPLET}-g++ \ |
246 |
CC=${LINUXTRIPLET}-gcc CXX=${LINUXTRIPLET}-g++ \ |
247 |
CFLAGS="${CFLAGS:N-Wl,-rpath=*}" \ |
247 |
CFLAGS="-std=c++11 ${CFLAGS:N-Wl,-rpath=*}" \ |
248 |
CXXFLAGS="${CXXFLAGS:N-Wl,-rpath=*}" \ |
248 |
CXXFLAGS="-std=c++11 ${CXXFLAGS:N-Wl,-rpath=*}" \ |
249 |
LDFLAGS="${LDFLAGS:N-Wl,-rpath=*}" \ |
249 |
LDFLAGS="${LDFLAGS:N-Wl,-rpath=*}" \ |
250 |
PATH=${WRKDIR}/gnuroot/bin:${PATH} \ |
250 |
PATH=${WRKDIR}/gnuroot/bin:${PATH} \ |
251 |
PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig \ |
251 |
PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig \ |
Lines 268-273
Link Here
|
268 |
${STAGEDIR}${PREFIX}/bin/makemkvcon |
268 |
${STAGEDIR}${PREFIX}/bin/makemkvcon |
269 |
${REINPLACE_CMD} -e 's:/sys/bus/scsi:/etc/makemkv/:' \ |
269 |
${REINPLACE_CMD} -e 's:/sys/bus/scsi:/etc/makemkv/:' \ |
270 |
${STAGEDIR}${PREFIX}/bin/makemkvcon |
270 |
${STAGEDIR}${PREFIX}/bin/makemkvcon |
|
|
271 |
${BRANDELF} -t Linux ${STAGEDIR}${PREFIX}/bin/makemkvcon |
271 |
${INSTALL_SCRIPT} ${WRKDIR}/update-makemkv-drives \ |
272 |
${INSTALL_SCRIPT} ${WRKDIR}/update-makemkv-drives \ |
272 |
${STAGEDIR}${PREFIX}/sbin |
273 |
${STAGEDIR}${PREFIX}/sbin |
273 |
|
274 |
|