freebsd-ports/games/xpipeman/files/patch-ab
Patrick Li ef4c34b404 Support PREFIX properly
PR:		ports/41031
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2002-07-27 02:47:44 +00:00

27 lines
819 B
Text

--- Imakefile.orig Tue Jul 28 19:56:27 1992
+++ Imakefile Mon Jul 22 14:05:57 2002
@@ -1,7 +1,7 @@
- SCORE_FILE = -DSCORE_FILE=\"/usr/games/lib/xpipescores\"
+ SCORE_FILE = -DSCORE_FILE=\"$(LIBDIR)/xpipescores\"
MAXSCORES = -DMAXSCORES=20
- DEFINES = $(SCORE_FILE) $(MAXSCORES) -DSYSV
+ DEFINES = $(SCORE_FILE) $(MAXSCORES)
SRCS = actions.c game.c graphics.c main.c score.c popup.c info.c
OBJS = actions.o game.o graphics.o main.o score.o popup.o info.o
@@ -10,6 +10,9 @@
LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
SYS_LIBRARIES = -lm
+ MANSUFFIX = 6
+ INSTPGMFLAGS = -g games
+
all:: xpipeman
ComplexProgramTarget(xpipeman)
@@ -19,4 +22,3 @@
* InstallManPage(xpipeman,$(MANDIR))
* InstallProgram(xpipeman,$(BINDIR))
*/
-