svn commit: r353695 - head/graphics/ogre3d

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun May 11 14:19:52 UTC 2014


Author: amdmi3
Date: Sun May 11 14:19:51 2014
New Revision: 353695
URL: http://svnweb.freebsd.org/changeset/ports/353695
QAT: https://qat.redports.org/buildarchive/r353695/

Log:
  - Support staging
  - Convert USE_BZIP2 to USES
  - Use new LIB_DEPENDS syntax
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/ogre3d/Makefile

Modified: head/graphics/ogre3d/Makefile
==============================================================================
--- head/graphics/ogre3d/Makefile	Sun May 11 14:18:54 2014	(r353694)
+++ head/graphics/ogre3d/Makefile	Sun May 11 14:19:51 2014	(r353695)
@@ -12,19 +12,17 @@ WRKSRC=		${WRKDIR}/sinbad-ogre-dd30349ea
 MAINTAINER=	oliver at FreeBSD.org
 COMMENT=	A scene-oriented, flexible 3D engine written in C++
 
-LIB_DEPENDS=	zzip.13:${PORTSDIR}/devel/zziplib \
+LIB_DEPENDS=	libzzip.so:${PORTSDIR}/devel/zziplib \
 		libfreetype.so:${PORTSDIR}/print/freetype2 \
-		freeimage.3:${PORTSDIR}/graphics/freeimage
+		libfreeimage.so:${PORTSDIR}/graphics/freeimage
 
 OPTIONS_DEFINE=	BOOST
 
-USE_LDCONFIG=	YES
-USE_BZIP2=	YES
-USES=		cmake pkgconfig compiler:c++11-lib
+USE_LDCONFIG=	yes
+USES=		tar:bzip2 cmake pkgconfig compiler:c++11-lib
 USE_SDL=	sdl
 USE_XORG=	xaw xrandr
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MBOOST}
@@ -60,11 +58,9 @@ post-patch:
 		${WRKSRC}/OgreMain/include/OgrePlatform.h
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in README COPYING AUTHORS
-	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list