Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 14:17:00 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304219 - in head/games/abuse_sdl: . files
Message-ID:  <201209131417.q8DEH0oR013884@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Sep 13 14:17:00 2012
New Revision: 304219
URL: http://svn.freebsd.org/changeset/ports/304219

Log:
  - Improve COMMENT
  - Add LICENSE
  - Doesn't require gmake, remove USE_GMAKE
  - Avoid pkg-plist when possible
  - Convert to OptionsNG
  - Give maintainership to submitter
  
  PR:		ports/171318
  Submitted by:	nemysis <nemysis@gmx.ch>

Added:
  head/games/abuse_sdl/files/patch-src-intsect.cpp   (contents, props changed)
Deleted:
  head/games/abuse_sdl/files/patch-src__intsect.cpp
  head/games/abuse_sdl/pkg-plist
Modified:
  head/games/abuse_sdl/Makefile   (contents, props changed)

Modified: head/games/abuse_sdl/Makefile
==============================================================================
--- head/games/abuse_sdl/Makefile	Thu Sep 13 14:04:18 2012	(r304218)
+++ head/games/abuse_sdl/Makefile	Thu Sep 13 14:17:00 2012	(r304219)
@@ -2,21 +2,20 @@
 
 PORTNAME=	abuse_sdl
 PORTVERSION=	0.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	GENTOO/distfiles \
 		http://abuse.zoy.org/raw-attachment/wiki/download/
-DISTNAME=	abuse-${PORTVERSION}
+DISTNAME=	abuse-${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An SDL port of the Abuse game engine
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	SDL port of the Abuse game engine
 
-CONFLICTS=	abuse-[0-9]*
+LICENSE=	GPLv2
 
 USE_GNOME=	gnomehack
 USE_GL=		gl
 USE_SDL=	mixer sdl
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-assetdir=${DATADIR} --enable-release
 MAKE_JOBS_SAFE=	yes
@@ -26,4 +25,25 @@ MAN6=		abuse.6 abuse-tool.6
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+PLIST_FILES=	bin/abuse \
+		bin/abuse-tool \
+		share/pixmaps/abuse.png
+
+PORTDATA=	*
+PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
+
+.include <bsd.port.options.mk>
+
+post-install:
+# Pixmaps
+	${INSTALL_DATA} ${WRKSRC}/doc/abuse.png ${PREFIX}/share/pixmaps/
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+.  for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.  endfor
+.endif
+
 .include <bsd.port.mk>

Added: head/games/abuse_sdl/files/patch-src-intsect.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/abuse_sdl/files/patch-src-intsect.cpp	Thu Sep 13 14:17:00 2012	(r304219)
@@ -0,0 +1,10 @@
+--- src/intsect.cpp.orig	2011-05-02 13:55:06.000000000 +0200
++++ src/intsect.cpp	2012-09-10 22:33:43.000000000 +0200
+@@ -13,6 +13,7 @@
+ #endif
+ 
+ #include <stdlib.h>
++#include <inttypes.h>
+ 
+ void pushback(int32_t x1,int32_t y1,int32_t &x2,int32_t &y2,
+              int32_t xp1, int32_t yp1, int32_t xp2, int32_t yp2, int xdir, int ydir, int inside)



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