diff options
author | ade <ade@FreeBSD.org> | 2000-09-16 17:53:56 +0000 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-09-16 17:53:56 +0000 |
commit | c6a3a70541aa3a79c899cbdf320cba0d8395d99d (patch) | |
tree | c4b556a53cb2814ba943e492e74f28d7c0adda3c /games/antipolix | |
parent | fde2261647bb4c482f5c2852b94c2798cf793fdf (diff) | |
download | FreeBSD-ports-c6a3a70541aa3a79c899cbdf320cba0d8395d99d.zip FreeBSD-ports-c6a3a70541aa3a79c899cbdf320cba0d8395d99d.tar.gz |
Support CFLAGS properly
Add missing NO_INSTALL_MANPAGES
Fix 'X manpages' error
PR: 21280
Submitted by: Ports Fury
Diffstat (limited to 'games/antipolix')
-rw-r--r-- | games/antipolix/Makefile | 32 | ||||
-rw-r--r-- | games/antipolix/files/patch-aa | 17 |
2 files changed, 29 insertions, 20 deletions
diff --git a/games/antipolix/Makefile b/games/antipolix/Makefile index 0af9a3b..559ce0d 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 a788e87..6d3422d 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 |