[BACK]Return to patch-Makefile_in CVS log [TXT][DIR] Up to [local] / ports / games / ufoai / base / patches

File: [local] / ports / games / ufoai / base / patches / Attic / patch-Makefile_in (download)

Revision 1.5, Tue May 17 12:24:55 2011 UTC (13 years, 1 month ago) by yason
Branch: MAIN
Changes since 1.4: +2 -9 lines

fix language issues. from Antti

$OpenBSD$
--- Makefile.in.orig	Mon Nov 29 19:46:35 2010
+++ Makefile.in	Tue May 17 17:38:00 2011
@@ -199,7 +199,6 @@ install_data: pk3
 # datadir.
 #
 install_exec: $(TARGETS)
-	@$(MAKE) lang
 	$(INSTALL) -d $(DESTDIR)$(PKGDATADIR)/base
 # Copy each compiled file to datadir (with path)
 	for file in $(TARGETS); do $(INSTALL) -m 755 $$file $(DESTDIR)$(PKGDATADIR)/$$file; done
@@ -216,6 +215,15 @@ install_exec: $(TARGETS)
 	@echo "#!/bin/sh" > ufoded.sh
 	@echo "cd $(PKGDATADIR); ./ufoded \$$*; exit \$$?" >> ufoded.sh
 	$(INSTALL) -m 755 ufoded.sh $(DESTDIR)$(BINDIR)/ufoded
+	@echo "#!/bin/sh" > ufo2map.sh
+	@echo "cd $(PKGDATADIR); ./ufo2map \$$*; exit \$$?" >> ufo2map.sh
+	$(INSTALL) -m 755 ufo2map.sh $(DESTDIR)$(BINDIR)/ufo2map
+	@echo "#!/bin/sh" > ufomodel.sh
+	@echo "cd $(PKGDATADIR); ./ufomodel \$$*; exit \$$?" >> ufomodel.sh
+	$(INSTALL) -m 755 ufomodel.sh $(DESTDIR)$(BINDIR)/ufomodel
+	@echo "#!/bin/sh" > uforadiant.sh
+	@echo "cd $(PKGDATADIR)/radiant; ./uforadiant \$$*; exit \$$?" >> uforadiant.sh
+	$(INSTALL) -m 755 uforadiant.sh $(DESTDIR)$(BINDIR)/uforadiant
 
 #######################################################################