diff --git a/games/eureka/Makefile b/games/eureka/Makefile index 091317374c82..cef5d5692003 100644 --- a/games/eureka/Makefile +++ b/games/eureka/Makefile @@ -1,30 +1,30 @@ PORTNAME= eureka DISTVERSION= 1.27b -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}-editor/Eureka/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${DISTVERSION}-source MAINTAINER= kalten@gmx.at COMMENT= Map editor for various Doom-derived games WWW= https://eureka-editor.sourceforge.net/ LICENSE= GPLv2+ LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png USES= compiler:c++0x desktop-file-utils gl gmake jpeg xorg USE_GL= gl glu USE_XORG= x11 xcursor xext xfixes xft xinerama xpm xrender PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/eureka/files/patch-Makefile b/games/eureka/files/patch-Makefile index ba984bccfa34..b0db9ad69881 100644 --- a/games/eureka/files/patch-Makefile +++ b/games/eureka/files/patch-Makefile @@ -1,23 +1,23 @@ --- 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_MAN) misc/$(PROGRAM).6 $(DESTDIR)$(PREFIX)/share/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 diff --git a/games/eureka/pkg-plist b/games/eureka/pkg-plist index 1b79603e5036..22922008d83e 100644 --- a/games/eureka/pkg-plist +++ b/games/eureka/pkg-plist @@ -1,40 +1,40 @@ bin/eureka -man/man6/eureka.6.gz +share/man/man6/eureka.6.gz share/applications/eureka.desktop %%DATADIR%%/about_logo.png %%DATADIR%%/bindings.cfg %%DATADIR%%/common/doom_colors.ugh %%DATADIR%%/common/doom_groups.ugh %%DATADIR%%/common/doom_lines.ugh %%DATADIR%%/common/doom_sectors.ugh %%DATADIR%%/common/doom_tex.ugh %%DATADIR%%/common/doom_things.ugh %%DATADIR%%/common/gen_types.ugh %%DATADIR%%/common/hexen_groups.ugh %%DATADIR%%/common/hexen_lines.ugh %%DATADIR%%/common/hexen_sectors.ugh %%DATADIR%%/common/plutonia_tex.ugh %%DATADIR%%/common/tnt_tex.ugh %%DATADIR%%/defaults.cfg %%DATADIR%%/games/doom.ugh %%DATADIR%%/games/doom2.ugh %%DATADIR%%/games/freedm.ugh %%DATADIR%%/games/freedoom1.ugh %%DATADIR%%/games/freedoom2.ugh %%DATADIR%%/games/hacx.ugh %%DATADIR%%/games/harm1.ugh %%DATADIR%%/games/heretic.ugh %%DATADIR%%/games/hexen.ugh %%DATADIR%%/games/plutonia.ugh %%DATADIR%%/games/strife1.ugh %%DATADIR%%/games/tnt.ugh %%DATADIR%%/operations.cfg %%DATADIR%%/ports/boom.ugh %%DATADIR%%/ports/edge.ugh %%DATADIR%%/ports/eternity.ugh %%DATADIR%%/ports/legacy.ugh %%DATADIR%%/ports/mbf.ugh %%DATADIR%%/ports/odamex.ugh %%DATADIR%%/ports/vanilla.ugh %%DATADIR%%/ports/xdoom.ugh %%DATADIR%%/ports/zdoom.ugh