mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
91 lines
2.7 KiB
Plaintext
91 lines
2.7 KiB
Plaintext
--- Makefile.in.orig Tue Dec 11 22:13:49 2001
|
|
+++ Makefile.in Tue Dec 11 22:18:05 2001
|
|
@@ -30,26 +30,26 @@
|
|
# Directory who contain X Resource Database
|
|
# The default value if overrided by configure if xmkmf or imake exists.
|
|
#
|
|
-RESOURCEDIR=/usr/lib/X11/app-defaults
|
|
+RESOURCEDIR=${X11BASE}/lib/X11/app-defaults
|
|
@XAPPLOADDIR@
|
|
|
|
# Directory where install binary
|
|
# The default value if overrided by configure if xmkmf or imake exists.
|
|
#
|
|
-BINDIR=/usr/local/bin
|
|
+BINDIR=${PREFIX}/bin
|
|
@BINDIR@
|
|
|
|
# Directory who contain score
|
|
# Put your HOME if you have a private use of the game
|
|
# The default value if overrided by configure if xmkmf or imake exists.
|
|
#
|
|
-SCOREDIR=/usr/local/lib/xbl
|
|
+SCOREDIR=${PREFIX}/lib/X11/xbl
|
|
@SCOREDIR@
|
|
|
|
# Directory where put man pages.
|
|
# The default value if overrided by configure if xmkmf or imake exists.
|
|
#
|
|
-MANPATH=/usr/local/man
|
|
+MANPATH=${PREFIX}/man
|
|
@MANPATH@
|
|
|
|
###########################################################################
|
|
@@ -83,7 +83,7 @@
|
|
|
|
# For linking (configure script will modify this line)
|
|
# xmkmf et imake informations are take into account.
|
|
-LIBS = @LIBS@ -lm
|
|
+LIBS = @LIBS@ -lm -lX11 -lcompat
|
|
|
|
all:demo
|
|
|
|
@@ -94,7 +94,7 @@
|
|
-DRESOURCEDIR=\"$(RESOURCEDIR)\" \
|
|
-DXBLVERSION=\"$(XBLVERSION)\" \
|
|
-DGROUP_GID=$(GROUP_GID) \
|
|
- $(USE_SETGID) @DEFS@ @CFLA@ -g
|
|
+ $(USE_SETGID) @DEFS@ @CFLA@ @CFLAGS@ @CPPFLAGS@
|
|
# For link edit options
|
|
LDOPTIONS=$(CFLAGS)
|
|
LDOPTIONS=@LDOPTIONS@
|
|
@@ -128,25 +128,20 @@
|
|
@-if [ "" != "$(USE_SETGID)" ] ; then \
|
|
echo "You use GID=$(GROUP_GID) protection" ; \
|
|
fi
|
|
- @echo "Type <Return> to continue installation"
|
|
- @echo "Type NO to stop installation"
|
|
- @read LINE && test "" = "$$LINE"
|
|
+# @echo "Type <Return> to continue installation"
|
|
+# @echo "Type NO to stop installation"
|
|
+# @read LINE && test "" = "$$LINE"
|
|
#
|
|
# Remove old score file
|
|
#
|
|
@-if [ -d "$(SCOREDIR)" ] ; \
|
|
then \
|
|
- echo "The scoring method and speeds of Xbl had change" ; \
|
|
- echo "If your version is older than 0.2e, destroy score." ; \
|
|
- echo "Type <Return> to destroy old score files" ; \
|
|
- echo "Type NO to hold old score files" ; \
|
|
- read LINE && test "" = "$$LINE" && rm $(SCOREDIR)/[1-9]* ; \
|
|
- exit 0 ; \
|
|
+ rm $(SCOREDIR)/[1-9]* ; \
|
|
fi
|
|
#
|
|
# Install executable
|
|
#
|
|
- $(CP) bl $(BINDIR)/xbl
|
|
+ $(BSD_INSTALL_PROGRAM) bl $(BINDIR)/xbl
|
|
-if [ "" = "$(USE_SETGID)" ] ; then \
|
|
chmod 755 $(BINDIR)/xbl ;\
|
|
else \
|
|
@@ -160,7 +155,6 @@
|
|
-mkdir $(SCOREDIR) 2>/dev/null
|
|
$(CP) Xbl.ad $(RESOURCEDIR)/Xbl ; chmod 644 $(RESOURCEDIR)/Xbl
|
|
$(CP) Xbl.ad $(SCOREDIR)/Xbl ; chmod 644 $(SCOREDIR)/Xbl
|
|
- $(CP) COPYING $(SCOREDIR) ; chmod 444 $(SCOREDIR)/COPYING
|
|
-if [ "" = "$(USE_SETGID)" ] ; then \
|
|
chmod 777 $(SCOREDIR) ;\
|
|
chmod 666 $(SCOREDIR)/[1-9]* ;\
|