aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-12 04:46:48 +0800
committerbsam <bsam@FreeBSD.org>2013-06-12 04:46:48 +0800
commit12651891d06be9720fdbf2fe326896f4df35651b (patch)
treea47c0b9693d6ca3818c3d8573416ee954f912f50
parentec6e63f3e94007aff339380010231f3f1f75f8c6 (diff)
downloadfreebsd-ports-gnome-12651891d06be9720fdbf2fe326896f4df35651b.tar.gz
freebsd-ports-gnome-12651891d06be9720fdbf2fe326896f4df35651b.tar.zst
freebsd-ports-gnome-12651891d06be9720fdbf2fe326896f4df35651b.zip
. fix build with clang (CFLAGS+=-Wno-return-type);
. trim Makefile headers; . remove the indefinite article from COMMENT.
-rw-r--r--games/xbattle/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index 806a13bce1f6..221a9c41acc3 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xbattle
-# Date created: 6 Apr 97
-# Whom: Pedro Giffuni
-#
+# Created by: Pedro Giffuni
# $FreeBSD$
-#
PORTNAME= xbattle
PORTVERSION= 5.4.1
@@ -13,12 +9,14 @@ MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= ports@FreeBSD.org
-COMMENT= A concurrent multi-player battle strategy game
+COMMENT= Concurrent multi-player battle strategy game
USE_IMAKE= yes
USE_XORG= x11 xext
MAN1= xbattle.1
+CFLAGS+= -Wno-return-type
+
post-install:
$(MKDIR) $(PREFIX)/share/xbattle
$(CP) -R $(WRKSRC)/xbos $(PREFIX)/share/xbattle/