Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 23:49:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353541 - head/multimedia/spook
Message-ID:  <201405092349.s49NnRBx047799@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri May  9 23:49:27 2014
New Revision: 353541
URL: http://svnweb.freebsd.org/changeset/ports/353541
QAT: https://qat.redports.org/buildarchive/r353541/

Log:
  - Support staging
  - Convert USE_GMAKE to USES
  - Convert USE_BZIP2 to USES
  - Use new LIB_DEPENDS syntax

Modified:
  head/multimedia/spook/Makefile

Modified: head/multimedia/spook/Makefile
==============================================================================
--- head/multimedia/spook/Makefile	Fri May  9 23:38:06 2014	(r353540)
+++ head/multimedia/spook/Makefile	Fri May  9 23:49:27 2014	(r353541)
@@ -19,31 +19,30 @@ OPTIONS_DEFAULT=	JPEG V4L
 MPEG4_DESC=	MPEG4 encoding support
 V4L_DESC=	V4L input support
 
-USE_BZIP2=	yes
-USE_GMAKE=	yes
+USES=		tar:bzip2 gmake
 USE_CSTD=	gnu89
 
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	autoconf aclocal automake
 AUTOMAKE_ARGS=	--add-missing
 
-NOMAN=		defined
-
 SUB_FILES=	pkg-message
 
 LDFLAGS+=	-L${LOCALBASE}/lib
 CFLAGS+=	-I${LOCALBASE}/include
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/spook bin/spookctl etc/spook.conf.dist
+PORTDOCS=	*
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MJPEG}
-LIB_DEPENDS+=		jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+=		libjpeg.so:${PORTSDIR}/graphics/jpeg
 CONFIGURE_ARGS+=	--enable-encoder-jpeg
 .endif
 
 .if ${PORT_OPTIONS:MMPEG4}
-LIB_DEPENDS+=		xvidcore.4:${PORTSDIR}/multimedia/xvid
+LIB_DEPENDS+=		libxvidcore.so:${PORTSDIR}/multimedia/xvid
 CONFIGURE_ARGS+=	--enable-encoder-mpeg4
 .endif
 
@@ -52,19 +51,11 @@ BUILD_DEPENDS+=		${LOCALBASE}/include/li
 CONFIGURE_ARGS+=	--enable-input-v4l
 .endif
 
-PLIST_FILES=	bin/spook bin/spookctl etc/spook.conf.dist
-
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS=	README
-.endif
-
 do-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
-.endif
-	${INSTALL_PROGRAM} ${WRKSRC}/spook ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/spookctl ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/spook.conf.dist ${PREFIX}/etc
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/spook ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/spookctl ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/spook.conf.dist ${STAGEDIR}${PREFIX}/etc
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405092349.s49NnRBx047799>