New Port multimedia/y4mscaler y4mscaler is a general-purpose video scaler which operates on YUV4MPEG2 streams, as produced and consumed by the MJPEGtools such as lav2yuv and mpeg2enc(1). y4mscaler is meant to be used in a pipeline. Thus, input is from stdin, and output is to stdout. The essential function of y4mscaler is to scale a specified "active" region of the input stream (the source) into a specified active region of the output stream (the target). Pixels outside of the active region of the source are ignored; pixels outside of the active region of the target are filled with a background color. The source may additionally have a matte applied to it; pixels outside the source matte are set to a separately specified background color. y4mscaler correctly handles chroma sampling, and thus it can also perform chroma subsampling conversions. The YUV4MPEG2 stream format currently only supports 4:2:0 subsampling, although y4mscaler can process 4:1:1, 4:2:2, and 4:4:4 modes by abusing the YUV4MPEG2 format a bit. Includes preset parameters for popular output streams: DVD, SVCD, VCD, DV, CVD, and SVCD/VCD still images.
Fix PORTDOCS thanks to pav. diff -ruN multimedia/y4mscaler.orig/Makefile multimedia/y4mscaler/Makefile --- multimedia/y4mscaler.orig/Makefile Thu Mar 11 02:09:47 2004 +++ multimedia/y4mscaler/Makefile Thu Mar 11 02:12:32 2004 @@ -22,19 +22,12 @@ WRKSRC= ${WRKDIR}/${PKGNAME} -DOC_FILES= COPYING ChangeLog INSTALL README TODO +PORTDOCS= COPYING ChangeLog INSTALL README TODO MAN1= y4mscaler.1 PLIST_FILES= bin/y4mscaler .include <bsd.port.pre.mk> -.ifndef(PORTDOCS) -.for plistfile in ${DOC_FILES} -PLIST_FILES+= share/doc/${PORTNAME}/${plistfile} -.endfor -PLIST_DIRS+= share/doc/${PORTNAME} -.endif - post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/Makefile @@ -50,9 +43,9 @@ do-install: @${INSTALL_PROGRAM} ${WRKSRC}/y4mscaler ${PREFIX}/bin/y4mscaler @${INSTALL_MAN} ${WRKSRC}/y4mscaler.1 ${MANPREFIX}/man/man1/ -.ifndef(PORTDOCS) +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for docfile in ${DOC_FILES} +.for docfile in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor .endif
State Changed From-To: open->closed New port added, thanks!