Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 10:45:31 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333196 - head/devel/raknet
Message-ID:  <201311081045.rA8AjVZP038516@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Fri Nov  8 10:45:31 2013
New Revision: 333196
URL: http://svnweb.freebsd.org/changeset/ports/333196

Log:
  - Enable staging
  - Update USES
  - Rework doc installation
  - Fix library symlink creation
  - Cleanup pkg-descr

Modified:
  head/devel/raknet/Makefile
  head/devel/raknet/pkg-descr   (contents, props changed)

Modified: head/devel/raknet/Makefile
==============================================================================
--- head/devel/raknet/Makefile	Fri Nov  8 10:42:51 2013	(r333195)
+++ head/devel/raknet/Makefile	Fri Nov  8 10:45:31 2013	(r333196)
@@ -3,7 +3,7 @@
 
 PORTNAME=	raknet
 PORTVERSION=	3.9.2
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	devel net
 MASTER_SITES=	http://www.jenkinssoftware.com/raknet/downloads/ \
@@ -30,10 +30,8 @@ USE_DOS2UNIX=	yes
 DOS2UNIX_REGEX=	.*\.(cpp|h|txt)
 
 USE_GCC=	yes
-USE_GMAKE=	yes
-USES=		cmake
+USES=		cmake gmake
 
-NO_STAGE=	yes
 # XXX Do not provide Samples for the following reason :
 # - potential licensing problems
 # XXX Disable build of DependentExtensions for the following reasons :
@@ -44,8 +42,6 @@ NO_STAGE=	yes
 #   have to be provided by the port to have working extensions
 CMAKE_ARGS+=	-DDISABLEDEPENDENCIES:BOOL=ON
 
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${FIND} ${WRKSRC} -type f -a '(' -name '*.cpp' -o -name '*.h' ')' -print0 \
 		| ${XARGS} -0 -x -n10 \
@@ -56,18 +52,16 @@ pre-install:
 		| ${XARGS} -0 -x -n10 ${RM}
 
 do-install:
-	@${MKDIR} ${PREFIX}/include/raknet
-	@(cd ${WRKSRC}/Source/ && ${COPYTREE_SHARE} \*.h ${PREFIX}/include/raknet)
-	@${MKDIR} ${PREFIX}/lib
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/raknet
+	@(cd ${WRKSRC}/Source/ && ${COPYTREE_SHARE} \*.h ${STAGEDIR}${PREFIX}/include/raknet)
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib
 	@${INSTALL_LIB} ${WRKSRC}/Lib/DLL/libRakNetDynamic.so \
-		${PREFIX}/lib/libraknet.so.0
-	@${LN} ${PREFIX}/lib/libraknet.so.0 ${PREFIX}/lib/libraknet.so
+		${STAGEDIR}${PREFIX}/lib/libraknet.so.0
+	@${LN} -sf ${PREFIX}/lib/libraknet.so.0 ${STAGEDIR}${PREFIX}/lib/libraknet.so
 	@${INSTALL_LIB} ${WRKSRC}/Lib/LibStatic/libRakNetStatic.a \
-		${PREFIX}/lib/libraknet.a
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}/Help
-	@(cd ${WRKSRC}/Help/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/Help)
-	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/
-.endif
+		${STAGEDIR}${PREFIX}/lib/libraknet.a
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/Help
+	@(cd ${WRKSRC}/Help/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/Help)
+	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/raknet/pkg-descr
==============================================================================
--- head/devel/raknet/pkg-descr	Fri Nov  8 10:42:51 2013	(r333195)
+++ head/devel/raknet/pkg-descr	Fri Nov  8 10:45:31 2013	(r333196)
@@ -1,6 +1,6 @@
-A free networking API that provides reliable UDP and high level networking
-constructs. Although RakNet can be used for any networked application, it
-was developed specifically for rapid development of online games and the
+RakNet is a free networking API that provides reliable UDP and high level
+networking constructs. Although it can be used for any networked application,
+it was developed specifically for rapid development of online games and the
 addition of multiplayer to single player games.
 
 WWW: http://www.jenkinssoftware.com/



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