|
Lines 3-8
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= ffmpeg |
4 |
PORTNAME= ffmpeg |
| 5 |
PORTVERSION= 2.8 |
5 |
PORTVERSION= 2.8 |
|
|
6 |
PORTREVISION= 1 |
| 6 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
| 7 |
CATEGORIES= multimedia audio ipv6 net |
8 |
CATEGORIES= multimedia audio ipv6 net |
| 8 |
MASTER_SITES= http://ffmpeg.org/releases/ |
9 |
MASTER_SITES= http://ffmpeg.org/releases/ |
|
Lines 268-275
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPLv3
Link Here
|
| 268 |
NONFREE_CONFIGURE_ENABLE=nonfree |
272 |
NONFREE_CONFIGURE_ENABLE=nonfree |
| 269 |
NONFREE_VARS= RESTRICTED="linking to libfaac or libaacplus restricts redistribution" |
273 |
NONFREE_VARS= RESTRICTED="linking to libfaac or libaacplus restricts redistribution" |
| 270 |
|
274 |
|
| 271 |
FFPROGS= ffmpeg ffprobe |
275 |
INSTALL_TARGET= install-progs install-doc install-data \ |
| 272 |
INSTALL_TARGET= install-progs install-data install-libs install-headers |
276 |
install-libs install-headers |
| 273 |
|
277 |
|
| 274 |
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} |
278 |
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} |
| 275 |
|
279 |
|
|
Lines 316-340
DOC_DOCFILES= APIchanges *.txt
Link Here
|
| 316 |
PORTDOCS= * |
321 |
PORTDOCS= * |
| 317 |
|
322 |
|
| 318 |
.if ${PORT_OPTIONS:MDOCS} |
323 |
.if ${PORT_OPTIONS:MDOCS} |
| 319 |
DOC_DOCFILES+= *.html |
|
|
| 320 |
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html |
324 |
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html |
|
|
325 |
.else |
| 326 |
CONFIGURE_ARGS+=--disable-htmlpages |
| 321 |
.endif |
327 |
.endif |
| 322 |
|
328 |
|
| 323 |
# ffserver |
|
|
| 324 |
.if ${PORT_OPTIONS:MFFSERVER} |
| 325 |
FFPROGS+= ffserver |
| 326 |
.if ${PORT_OPTIONS:MDOCS} |
| 327 |
DOC_DOCFILES+= ffserver.html |
| 328 |
.endif |
| 329 |
.endif |
| 330 |
|
| 331 |
# sdl |
329 |
# sdl |
| 332 |
.if ${PORT_OPTIONS:MSDL} |
330 |
.if ${PORT_OPTIONS:MSDL} |
| 333 |
USE_SDL+= sdl |
331 |
USE_SDL+= sdl |
| 334 |
FFPROGS+= ffplay |
|
|
| 335 |
.if ${PORT_OPTIONS:MDOCS} |
| 336 |
DOC_DOCFILES+= ffplay.html |
| 337 |
.endif |
| 338 |
.else |
332 |
.else |
| 339 |
CONFIGURE_ARGS+= --disable-ffplay --disable-outdev=sdl |
333 |
CONFIGURE_ARGS+= --disable-ffplay --disable-outdev=sdl |
| 340 |
.endif |
334 |
.endif |
|
Lines 369-378
post-configure-THEORA-off:
Link Here
|
| 369 |
${WRKSRC}/config.mak |
363 |
${WRKSRC}/config.mak |
| 370 |
|
364 |
|
| 371 |
post-install: |
365 |
post-install: |
| 372 |
.for PROG in ${FFPROGS} |
|
|
| 373 |
@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1 |
| 374 |
${INSTALL_MAN} ${WRKSRC}/doc/${PROG}*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ |
| 375 |
.endfor |
| 376 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
366 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
| 377 |
.for FILE in ${DOC_FILES} |
367 |
.for FILE in ${DOC_FILES} |
| 378 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} |
368 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} |