diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-28 17:00:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-28 17:00:44 +0800 |
commit | f6fc5925f91c5d44e7aa1846c2a4751ceb8e2671 (patch) | |
tree | db9a6af43d12d398ed21f3f55e5797f8a78aae58 /games | |
parent | 351099675cb7cd20267dc09c507bade57045d284 (diff) | |
download | freebsd-ports-gnome-f6fc5925f91c5d44e7aa1846c2a4751ceb8e2671.tar.gz freebsd-ports-gnome-f6fc5925f91c5d44e7aa1846c2a4751ceb8e2671.tar.zst freebsd-ports-gnome-f6fc5925f91c5d44e7aa1846c2a4751ceb8e2671.zip |
- Add LICENSE
- Switch to options helpers
- Regenerate patches
Diffstat (limited to 'games')
-rw-r--r-- | games/glbsp/Makefile | 34 | ||||
-rw-r--r-- | games/glbsp/files/patch-GUI_unx.mak | 6 | ||||
-rw-r--r-- | games/glbsp/files/patch-wad.c | 6 |
3 files changed, 23 insertions, 23 deletions
diff --git a/games/glbsp/Makefile b/games/glbsp/Makefile index 7085a83ee6bf..ec9b7cad3e1d 100644 --- a/games/glbsp/Makefile +++ b/games/glbsp/Makefile @@ -11,41 +11,41 @@ DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= BSP node builder for OpenGL ports of the DOOM game engine +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING.txt + USES= gmake WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[[:alpha:]]//} -OPTIONS_DEFINE= GUI PLUGIN DOCS -GUI_DESC= Build FLTK based GUI -PLUGIN_DESC= Build plugin used in DOOM engines -OPTIONS_SUB= yes - PORTDOCS= README.txt USAGE.txt +OPTIONS_DEFINE= GUI PLUGIN DOCS +OPTIONS_SUB= yes +PLUGIN_DESC= Build plugin used in DOOM engines +GUI_DESC= Build FLTK based GUI GUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -i '' -e 's|CC=|CC\?=|; s|CFLAGS=|CFLAGS\+=|' \ ${WRKSRC}/Makefile ${WRKSRC}/Plugin_unx.mak -post-build: -.if ${PORT_OPTIONS:MGUI} +post-build-GUI-on: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} -f GUI_unx.mak all -.endif -.if ${PORT_OPTIONS:MPLUGIN} + +post-build-PLUGIN-on: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} -f Plugin_unx.mak all -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/glbsp ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MGUI} + ${INSTALL_MAN} ${WRKSRC}/glbsp.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +do-install-GUI-on: ${INSTALL_PROGRAM} ${WRKSRC}/glBSPX ${STAGEDIR}${PREFIX}/bin -.endif -.if ${PORT_OPTIONS:MPLUGIN} + +do-install-PLUGIN-on: ${INSTALL_DATA} ${WRKSRC}/libglbsp.a ${STAGEDIR}${PREFIX}/lib -.endif - ${INSTALL_MAN} ${WRKSRC}/glbsp.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/games/glbsp/files/patch-GUI_unx.mak b/games/glbsp/files/patch-GUI_unx.mak index 9e8a3187ada7..e05e98298208 100644 --- a/games/glbsp/files/patch-GUI_unx.mak +++ b/games/glbsp/files/patch-GUI_unx.mak @@ -1,6 +1,6 @@ ---- ./GUI_unx.mak.orig 2005-09-16 02:29:39.000000000 -0300 -+++ ./GUI_unx.mak 2013-11-01 20:56:43.000000000 -0200 -@@ -8,16 +8,16 @@ +--- GUI_unx.mak.orig 2005-09-16 05:29:39 UTC ++++ GUI_unx.mak +@@ -8,16 +8,16 @@ SRC_DIR=glbsp PROGNAME=glBSPX diff --git a/games/glbsp/files/patch-wad.c b/games/glbsp/files/patch-wad.c index a13e911d8105..2216802a0f36 100644 --- a/games/glbsp/files/patch-wad.c +++ b/games/glbsp/files/patch-wad.c @@ -1,6 +1,6 @@ ---- ./wad.c.orig 2005-09-13 07:19:36.000000000 -0300 -+++ ./wad.c 2013-11-01 20:55:13.000000000 -0200 -@@ -1632,14 +1632,13 @@ +--- wad.c.orig 2005-09-13 10:19:36 UTC ++++ wad.c +@@ -1632,14 +1632,13 @@ void ReportOverflows(boolean_g hard) void ReportV5Switches(void) { lump_t *cur; |