freebsd-ports/games/eureka/files/patch-Makefile
Alexey Dokuchaev c1a2fdd340 Eureka is a map (WAD etc.) editor (based on Yadex) for the classic
DOOM games, and a few related games such as Strife, Harmony, HACX,
Heretic, and Hexen.

PR:	240654
2020-12-01 13:15:48 +00:00

23 lines
800 B
Text

--- Makefile.orig 2020-02-05 07:40:29 UTC
+++ Makefile
@@ -29,7 +29,7 @@ LIBS ?=
# general things needed by Eureka
CXXFLAGS += $(CXX_DIALECT)
LIBS += -lGLU -lGL
-LIBS += -lz -lm
+LIBS += -lz -lm -lXpm
# add this for software rendering, remove '--use-gl' below, remove -lGL and -lGLU from LIBS
# CXXFLAGS += -DNO_OPENGL
@@ -151,7 +151,10 @@ stripped: all
INSTALL_DIR=$(DESTDIR)$(PREFIX)/share/eureka
install: all
- install -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/
+ $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
+ $(BSD_INSTALL_MAN) misc/$(PROGRAM).6 $(DESTDIR)$(MANPREFIX)/man/man6
+ $(BSD_INSTALL_DATA) misc/$(PROGRAM).desktop \
+ $(DESTDIR)$(PREFIX)/share/applications
install -d $(INSTALL_DIR)/games
install -d $(INSTALL_DIR)/common
install -d $(INSTALL_DIR)/ports