summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-09-16 17:53:56 +0000
committerAde Lovett <ade@FreeBSD.org>2000-09-16 17:53:56 +0000
commit432cbe600f10ea351b5e1e3e72c73d20430cb354 (patch)
tree13f9fb2108f1e6408389216b42e28f3f7abdd037 /games
parentUpdate to 0.93.2 (diff)
Support CFLAGS properly
Add missing NO_INSTALL_MANPAGES Fix 'X manpages' error PR: 21280 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=32707
Diffstat (limited to 'games')
-rw-r--r--games/antipolix/Makefile32
-rw-r--r--games/antipolix/files/patch-aa17
2 files changed, 29 insertions, 20 deletions
diff --git a/games/antipolix/Makefile b/games/antipolix/Makefile
index 0af9a3b0ce69..559ce0d9f1a8 100644
--- a/games/antipolix/Makefile
+++ b/games/antipolix/Makefile
@@ -5,31 +5,33 @@
# $FreeBSD$
#
-PORTNAME= antipolix
-PORTVERSION= 2.1
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+PORTNAME= antipolix
+PORTVERSION= 2.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/multiplayer
-DISTNAME= AntipoliX_${PORTVERSION}
+DISTNAME= AntipoliX_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
USE_IMAKE= yes
+NO_INSTALL_MANPAGES= yes
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/antipolix-client
- @ ${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/antipolix-server
- @ ${MKDIR} ${PREFIX}/share/examples/antipolix
- @ ${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample
- @ ${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample
- @ ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample
+pre-build:
+ @${TOUCH} ${WRKSRC}/client.man ${WRKSRC}/server.man
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/antipolix-client
+ ${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/antipolix-server
+ @${MKDIR} ${PREFIX}/share/examples/antipolix
+ ${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample
+ ${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample
+ ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/antipolix
+ @${MKDIR} ${PREFIX}/share/doc/antipolix
.for file in ANTIPOLIX_RULES CLIENT_USE COPYRIGHT SERVER_USE
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix
.endfor
.endif
diff --git a/games/antipolix/files/patch-aa b/games/antipolix/files/patch-aa
index a788e87dd31b..6d3422dfbcaa 100644
--- a/games/antipolix/files/patch-aa
+++ b/games/antipolix/files/patch-aa
@@ -1,12 +1,19 @@
---- Imakefile Thu Aug 3 22:29:38 1995
-+++ /home/andy/tmp/wrk/Imakefile Wed Dec 2 21:01:22 1998
-@@ -1,6 +1,6 @@
+--- Imakefile.orig Fri Aug 4 07:29:38 1995
++++ Imakefile Fri Apr 14 19:05:38 2000
+@@ -1,11 +1,11 @@
-EXTRA_LIBRARIES=-lX11 -lm -lsocket
-CC=gcc
-CDEBUGFLAGS = -g
+EXTRA_LIBRARIES=-lX11 -lm
-+CC?=cc
-+CDEBUGFLAGS = -I${X11BASE}/include
++XCOMM CC=gcc
++XCOMM CDEBUGFLAGS = -g
PROGRAMS = client server
+-OBJS1 = creation.o game.o messages.o client.c
+-SRCS1 = creation.c game.c messages.c
++OBJS1 = creation.o game.o messages.o client.o
++SRCS1 = creation.c game.c messages.c client.c
+
+ OBJS2 = creation.o game.o messages.o server.o
+ SRCS2 = creation.c game.c messages.c server.c