Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 19:19:28 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21280: Update port: games/antipolix
Message-ID:  <20000915021928.03C8737B424@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21280
>Category:       ports
>Synopsis:       Update port: games/antipolix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 14 19:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- Add missing NO_INSTALL_MANPAGES
- Fix 'X manpages' error


>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/antipolix/Makefile games/antipolix/Makefile
--- /usr/ports/games/antipolix/Makefile	Sat Apr 15 06:31:20 2000
+++ games/antipolix/Makefile	Wed Sep 13 04:26:25 2000
@@ -5,31 +5,33 @@
 # $FreeBSD: ports/games/antipolix/Makefile,v 1.5 2000/04/14 18:40:17 knu Exp $
 #
 
-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 -urN /usr/ports/games/antipolix/patches/patch-aa games/antipolix/patches/patch-aa
--- /usr/ports/games/antipolix/patches/patch-aa	Sun Dec  6 02:08:12 1998
+++ games/antipolix/patches/patch-aa	Fri Apr 14 19:07:44 2000
@@ -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


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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