svn commit: r332115 - head/multimedia/avbin

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Oct 30 14:19:47 UTC 2013


Author: amdmi3
Date: Wed Oct 30 14:19:46 2013
New Revision: 332115
URL: http://svnweb.freebsd.org/changeset/ports/332115

Log:
  - Support staging
  - Update WWW

Modified:
  head/multimedia/avbin/Makefile
  head/multimedia/avbin/pkg-descr

Modified: head/multimedia/avbin/Makefile
==============================================================================
--- head/multimedia/avbin/Makefile	Wed Oct 30 14:15:06 2013	(r332114)
+++ head/multimedia/avbin/Makefile	Wed Oct 30 14:19:46 2013	(r332115)
@@ -20,8 +20,10 @@ USE_LDCONFIG=	yes
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
+
+.include <bsd.port.options.mk>
 
 .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
 CFLAGS+=	-fPIC
@@ -36,12 +38,8 @@ do-build:
 		-lavcodec0 -lavformat0
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/${LIBNAME} ${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/include/avbin.h ${PREFIX}/include
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
-.endif
+	${INSTALL_DATA} ${WRKSRC}/${LIBNAME} ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_DATA} ${WRKSRC}/include/avbin.h ${STAGEDIR}${PREFIX}/include/
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/multimedia/avbin/pkg-descr
==============================================================================
--- head/multimedia/avbin/pkg-descr	Wed Oct 30 14:15:06 2013	(r332114)
+++ head/multimedia/avbin/pkg-descr	Wed Oct 30 14:19:46 2013	(r332115)
@@ -1,4 +1,4 @@
 AVbin is a thin wrapper around FFmpeg, providing binary compatibility
 for applications and languages that need it
 
-WWW: http://code.google.com/p/avbin/
+WWW: http://avbin.github.com/


More information about the svn-ports-all mailing list