1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/awele/files/patch-aa
Thomas Gellekum efd701973a Fix manpage installation with XFree86-4.
PR:		23424
Submitted by:	FUJISHIMA Satsuki <k5@cheerful.com>
2000-12-13 12:03:22 +00:00

44 lines
1.3 KiB
Plaintext

--- Imakefile.orig Sat Dec 9 00:35:38 1995
+++ Imakefile Wed Nov 1 06:58:15 2000
@@ -2,31 +2,31 @@
XCOMM install directory
- AWELE_DIR = /user/berroir/src/awele/install
+ AWELE_DIR = $(BINDIR)
XCOMM tcl/tk script
AWELE_SCRIPT = xawele
XCOMM libs, includes
XCOMM TK_LIB AND TK_INCLUDE stand for tk and tcl
- TK_LIB = -L/usr/local/lib -ltk -ltcl
+ TK_LIB = -L@@LOCALBASE@@/lib -ltk82 -ltcl82
XCOMM TK_LIB = -L/usr/local/lib -ltk4.0 -ltcl7.4
- TK_INCLUDE = -I/usr/local/include
+ TK_INCLUDE = -I@@LOCALBASE@@/include/tcl8.2 -I@@LOCALBASE@@/include/tk8.2
DEFINES = $(TK_INCLUDE)
LOCAL_LIBRARIES = $(TK_LIB) -lX11 -lm
XCOMM ANSI-C compiler
- CC = gcc
+XCOMM CC = gcc
XCOMM Please don't change anything below this point
DEPLIBS = $(DEPXLIB)
- SRCS1 = tkAppInit.c awelewish.c alphabeta.c move.c util.c
- OBJS1 = tkAppInit.o awelewish.o alphabeta.o move.o util.o
+ SRCS = tkAppInit.c awelewish.c alphabeta.c move.c util.c
+ OBJS = tkAppInit.o awelewish.o alphabeta.o move.o util.o
PROGRAMS = awelewish
+ MANSUFFIX = 6
-all:: $(PROGRAMS)
-
-ComplexProgramTarget_1($(PROGRAMS), $(LOCAL_LIBRARIES), )
+ComplexProgramTargetNoMan($(PROGRAMS))
+InstallManPage(xawele,$(MANDIR))
install:: $(PROGRAMS) $(AWELE_SCRIPT)
@echo "AWELE directory is " $(AWELE_DIR)