1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/xgalaga/files/patch-aa

22 lines
715 B
Plaintext

--- Makefile.in.orig Sun Apr 12 03:10:46 1998
+++ Makefile.in Sun Jun 20 18:59:18 1999
@@ -43,11 +43,14 @@
$(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS)
install: all
- mkinstalldirs $(bindir)
+ ./mkinstalldirs $(bindir)
+ ./mkinstalldirs $(prefix)
$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
- $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
- mkinstalldirs $(prefix)/sounds
- mkinstalldirs $(prefix)/levels
+ if [ "X$(SOUNDSRV)" != "X"]; then \
+ $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV); \
+ fi
+ ./mkinstalldirs $(prefix)/sounds
+ ./mkinstalldirs $(prefix)/levels
for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done