freebsd-ports/games/xkoules/files/patch-Imakefile
Rusmir Dusko 8f3c81664b - Bump PORTREVISION
- Change master sites, add icon
- Remove DEPRECATED, EXPIRATION_DATE
- Add license (GPLv2)
- Support STAGEDIR
- Add Desktop entry file
- Change DOCS, remove BUGS, Card and TODO
- Recreate patches with make makepatch, add patch, fix bad C code
- Change pkg-descr, add WWW
- Change pkg-plist, remove DOCS
2014-03-30 01:16:48 +00:00

93 lines
3.6 KiB
Text

--- ./Imakefile.orig 1998-03-04 19:59:19.000000000 +0100
+++ ./Imakefile 2014-03-30 03:11:00.569385664 +0200
@@ -56,7 +56,7 @@
DEFINES = -DONLYANSI -DSOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -Ixlib\
$(NAMEDEF) $(ASMDEF)\
- -DSOUNDSERVER=\"$(SOUNDDIR)/$(SOUNDSERVER)\" \
+ -DSOUNDSERVER=\"$(KOULESDIR)/$(SOUNDSERVER)\" \
-DSOUNDDIR=\"$(SOUNDDIR)\" \
-DSOUNDDEV=\"$(SOUNDDEV)\"
#endif
@@ -84,9 +84,6 @@
all::xkoules
#endif
-BINDIR = $(KOULESDIR)
-DESTDIR = /
-
ComplexProgramTarget(xkoules)
@@ -97,19 +94,15 @@
install:: $(PROGRAMS) $(SOUNDSERVER)
@echo "Koules directory is " $(KOULESDIR)
@:
- @echo "Instalin man page to " $(MANDIR)
- @mkdirhier $(MANDIR)
- $(INSTALL) -c $(INSTBINFLAGS) xkoules.6 $(MANDIR);
- @:
@echo "Creating directory " $(KOULESDIR)
- @if [ ! -d $(KOULESDIR) ]; then mkdirhier $(KOULESDIR); fi
+ @if [ ! -d $(KOULESDIR) ]; then $(MKDIRHIER) $(KOULESDIR); fi
@:
@if [ "$(INSTALLSOUND)" = "True" ]; \
then \
echo "Creating directory " $(SOUNDDIR); \
- if [ ! -d $(SOUNDDIR) ]; then mkdirhier $(SOUNDDIR); fi; \
- echo "Copying sound server to directory " $(SOUNDDIR); \
- $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(SOUNDDIR); \
+ if [ ! -d $(SOUNDDIR) ]; then $(MKDIRHIER) $(SOUNDDIR); fi; \
+ echo "Copying sound server to directory " $(KOULESDIR); \
+ $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(KOULESDIR); \
echo "Copying sound files into directory " $(SOUNDDIR); \
cd ./sounds; set -x; \
for file in *.raw; do \
@@ -125,19 +118,15 @@
install:: $(PROGRAMS) $(SOUNDSERVER)
@echo "Koules directory is " $(KOULESDIR)
@:
- @echo "Instalin man page to " $(MANDIR)
- @mkdirhier $(MANDIR)
- $(INSTALL) -c $(INSTBINFLAGS) xkoules.6 $(MANDIR);
- @:
@echo "Creating directory " $(KOULESDIR)
- @if [ ! -d $(KOULESDIR) ]; then mkdirhier $(KOULESDIR); fi
+ @if [ ! -d $(KOULESDIR) ]; then $(MKDIRHIER) $(KOULESDIR); fi
@:
@if [ "$(INSTALLSOUND)" = "True" ]; \
then \
echo "Creating directory " $(SOUNDDIR); \
- if [ ! -d $(SOUNDDIR) ]; then mkdirhier $(SOUNDDIR); fi; \
- echo "Copying sound server to directory " $(SOUNDDIR); \
- $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(SOUNDDIR); \
+ if [ ! -d $(SOUNDDIR) ]; then $(MKDIRHIER) $(SOUNDDIR); fi; \
+ echo "Copying sound server to directory " $(KOULESDIR); \
+ $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(KOULESDIR); \
echo "Copying sound files into directory " $(SOUNDDIR); \
cd ./sounds; set -x; \
for file in *.raw; do \
@@ -155,19 +144,15 @@
install:: $(PROGRAMS) $(SOUNDSERVER)
@echo "Koules directory is " $(KOULESDIR)
@:
- @echo "Instalin man page to " $(MANDIR)
- @mkdirhier $(MANDIR)
- $(INSTALL) -c $(INSTBINFLAGS) xkoules.6 $(MANDIR);
- @:
@echo "Creating directory " $(KOULESDIR)
- @if [ ! -d $(KOULESDIR) ]; then mkdirhier $(KOULESDIR); fi
+ @if [ ! -d $(KOULESDIR) ]; then $(MKDIRHIER) $(KOULESDIR); fi
@:
@if [ "$(INSTALLSOUND)" = "True" ]; \
then \
echo "Creating directory " $(SOUNDDIR); \
- if [ ! -d $(SOUNDDIR) ]; then mkdirhier $(SOUNDDIR); fi; \
- echo "Copying sound server to directory " $(SOUNDDIR); \
- $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(SOUNDDIR); \
+ if [ ! -d $(SOUNDDIR) ]; then $(MKDIRHIER) $(SOUNDDIR); fi; \
+ echo "Copying sound server to directory " $(KOULESDIR); \
+ $(INSTALL) -c -s $(INSTBINFLAGS) $(SOUNDSERVER) $(KOULESDIR); \
echo "Copying sound files into directory " $(SOUNDDIR); \
cd ./sounds; set -x; \
for file in *.raw; do \