Date: Sun, 20 Oct 2013 17:37:22 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331039 - head/multimedia/y4mscaler Message-ID: <201310201737.r9KHbMum058965@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Oct 20 17:37:22 2013 New Revision: 331039 URL: http://svnweb.freebsd.org/changeset/ports/331039 Log: Enable stage Cleanup Use pkg-plist Added: head/multimedia/y4mscaler/pkg-plist (contents, props changed) Modified: head/multimedia/y4mscaler/Makefile Modified: head/multimedia/y4mscaler/Makefile ============================================================================== --- head/multimedia/y4mscaler/Makefile Sun Oct 20 17:28:02 2013 (r331038) +++ head/multimedia/y4mscaler/Makefile Sun Oct 20 17:37:22 2013 (r331039) @@ -12,18 +12,12 @@ EXTRACT_SUFX= .tgz MAINTAINER= multimedia@FreeBSD.org COMMENT= Y4mscaler scales, crops, and shifts Y'CbCr video -LIB_DEPENDS= lavjpeg-2.0.0:${PORTSDIR}/multimedia/mjpegtools +LIB_DEPENDS= liblavjpeg-2.0.so:${PORTSDIR}/multimedia/mjpegtools -USE_GMAKE= yes +USES= gmake WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -PORTDOCS= COPYING ChangeLog INSTALL README TODO -MAN1= y4mscaler.1 -PLIST_FILES= bin/y4mscaler - -NO_STAGE= yes -.include <bsd.port.pre.mk> +DOCS= COPYING ChangeLog INSTALL README TODO post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ @@ -34,13 +28,9 @@ post-patch: ${WRKSRC}/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/y4mscaler ${PREFIX}/bin/y4mscaler - @${INSTALL_MAN} ${WRKSRC}/y4mscaler.1 ${MANPREFIX}/man/man1/ -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for docfile in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/y4mscaler ${STAGEDIR}${PREFIX}/bin/y4mscaler + ${INSTALL_MAN} ${WRKSRC}/y4mscaler.1 ${STAGEDIR}${MANPREFIX}/man/man1/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Added: head/multimedia/y4mscaler/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/y4mscaler/pkg-plist Sun Oct 20 17:37:22 2013 (r331039) @@ -0,0 +1,8 @@ +bin/y4mscaler +man/man1/y4mscaler.1.gz +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310201737.r9KHbMum058965>