Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 22:41:34 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330555 - in head/games/epiar: . files
Message-ID:  <201310162241.r9GMfYkM026886@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Oct 16 22:41:33 2013
New Revision: 330555
URL: http://svnweb.freebsd.org/changeset/ports/330555

Log:
  - Change maintainer email to @FreeBSD.org
  - Use the new format for LIB_DEPENDS
  - USES gmake pkgconfig
  - Support STAGEDIR
  - Add patches, fix build with Clang
  
  Approved by:	wg/pawel (mentors)

Added:
  head/games/epiar/files/
  head/games/epiar/files/patch-Source-Utilities-log.cpp   (contents, props changed)
Modified:
  head/games/epiar/Makefile

Modified: head/games/epiar/Makefile
==============================================================================
--- head/games/epiar/Makefile	Wed Oct 16 22:21:32 2013	(r330554)
+++ head/games/epiar/Makefile	Wed Oct 16 22:41:33 2013	(r330555)
@@ -5,9 +5,8 @@ PORTNAME=	epiar
 PORTVERSION=	0.5.1
 PORTREVISION=	2
 CATEGORIES=	games
-MASTER_SITES=	GH
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Space trading/exploring sim with RPG elements
 
 LICENSE=	GPLv2 CCbyNCSA3
@@ -16,10 +15,10 @@ LICENSE_NAME_CCbyNCSA3=Attribution-NonCo
 LICENSE_FILE_CCbyNCSA3=${WRKSRC}/LICENSE.music
 LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
 
-LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
-		ftgl:${PORTSDIR}/graphics/ftgl \
-		xml2:${PORTSDIR}/textproc/libxml2 \
-		physfs:${PORTSDIR}/devel/physfs
+LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
+		libftgl.so:${PORTSDIR}/graphics/ftgl \
+		libxml2.so:${PORTSDIR}/textproc/libxml2 \
+		libphysfs.so:${PORTSDIR}/devel/physfs
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	knowknowledge
@@ -27,29 +26,24 @@ GH_PROJECT=	Epiar
 GH_TAGNAME=	${GH_COMMIT}
 GH_COMMIT=	44046e3
 
-USES=		pkgconfig
+USES=		gmake pkgconfig
 USE_SDL=	image mixer sdl
 USE_GL=		glu
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf
 AUTOMAKE_ARGS=	--add-missing
 ACLOCAL_ARGS=
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 
 PORTDOCS=	AUTHORS ChangeLog README
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-install:
-	@${MKDIR} ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications/
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
+		${STAGEDIR}${PREFIX}/share/applications/
 
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Added: head/games/epiar/files/patch-Source-Utilities-log.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/epiar/files/patch-Source-Utilities-log.cpp	Wed Oct 16 22:41:33 2013	(r330555)
@@ -0,0 +1,10 @@
+--- Source/Utilities/log.cpp.orig	2012-10-27 10:18:51.000000000 +0200
++++ Source/Utilities/log.cpp	2013-10-11 00:14:27.000000000 +0200
+@@ -10,6 +10,7 @@
+ #include "common.h"
+ #include "Utilities/log.h"
+ #include "Engine/hud.h"
++#include <unistd.h>
+ 
+ /**\class Log
+  * \brief Main logging facilities for the code base. */



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