Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 14:19:52 +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: r353695 - head/graphics/ogre3d
Message-ID:  <201405111419.s4BEJqd0001683@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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