diff options
-rw-r--r-- | games/odamex/Makefile | 23 | ||||
-rw-r--r-- | games/odamex/pkg-plist | 1 |
2 files changed, 9 insertions, 15 deletions
diff --git a/games/odamex/Makefile b/games/odamex/Makefile index 369e85a217db..6d6a90eb2100 100644 --- a/games/odamex/Makefile +++ b/games/odamex/Makefile @@ -11,7 +11,7 @@ DISTNAME= odamex-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Client/server multiplayer engine for Doom -LICENSE= GPLv2 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE USE_SDL= sdl mixer @@ -28,8 +28,6 @@ LAUNCHER_USE= WX=3.0 LAUNCHER_CMAKE_ON= -DODALAUNCH_TARGET=on -DNO_AG-ODALAUNCH_TARGET=off -DwxWidgets_CONFIG_EXECUTABLE=${PREFIX}/bin/wxgtk2u-3.0-config LAUNCHER_CMAKE_OFF= -DODALAUNCH_TARGET=off -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|; \ s|%%DATADIR%%|${DATADIR}|' \ @@ -45,26 +43,23 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/client/odamex ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/server/odasrv ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MLAUNCHER} - ${INSTALL_PROGRAM} ${WRKSRC}/odalaunch/odalaunch ${STAGEDIR}${PREFIX}/bin -.endif @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/odamex.wad ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR} .for f in odamex odasrv ${INSTALL_DATA} ${WRKSRC}/media/icon_${f}_*.png ${STAGEDIR}${PREFIX}/share/pixmaps .endfor -.if ${PORT_OPTIONS:MLAUNCHER} - ${INSTALL_DATA} ${WRKSRC}/media/icon_odalaunch_*.png ${STAGEDIR}${PREFIX}/share/pixmaps -.endif .for f in odamex odasrv ${INSTALL_DATA} ${WRKSRC}/installer/arch/${f}.desktop ${STAGEDIR}${PREFIX}/share/applications .endfor -.if ${PORT_OPTIONS:MLAUNCHER} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +do-install-LAUNCHER-on: + ${INSTALL_PROGRAM} ${WRKSRC}/odalaunch/odalaunch ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/media/icon_odalaunch_*.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/installer/arch/odalaunch.desktop ${STAGEDIR}${PREFIX}/share/applications -.endif .include "${.CURDIR}/../doom-data/Makefile.include" diff --git a/games/odamex/pkg-plist b/games/odamex/pkg-plist index d4b27b13f48b..baaec73163f3 100644 --- a/games/odamex/pkg-plist +++ b/games/odamex/pkg-plist @@ -17,5 +17,4 @@ share/pixmaps/icon_odasrv_256.png share/pixmaps/icon_odasrv_512.png share/pixmaps/icon_odasrv_96.png %%DATADIR%%/odamex.wad -%%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README |