svn commit: r562602 - head/games/abuse_sdl

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Jan 25 18:46:28 UTC 2021


Author: amdmi3
Date: Mon Jan 25 18:46:27 2021
New Revision: 562602
URL: https://svnweb.freebsd.org/changeset/ports/562602

Log:
  - Fix license
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/games/abuse_sdl/Makefile

Modified: head/games/abuse_sdl/Makefile
==============================================================================
--- head/games/abuse_sdl/Makefile	Mon Jan 25 18:37:50 2021	(r562601)
+++ head/games/abuse_sdl/Makefile	Mon Jan 25 18:46:27 2021	(r562602)
@@ -12,17 +12,20 @@ DISTNAME=	abuse-${DISTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	SDL port of the Abuse game engine
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+ PD WTFPL BPRINCE
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYING.GPL
+LICENSE_FILE_WTFPL=	${WRKSRC}/COPYING.WTFPL
+LICENSE_NAME_BPRINCE=	Boby Prince permission for Debian to redistribute music/sfx files
+LICENSE_PERMS_BPRINCE=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
 
-USES=		pathfix gl sdl
+USES=		gl localbase:ldflags pathfix sdl
 USE_GL=		gl
 USE_SDL=	mixer sdl
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-assetdir=${DATADIR} --enable-release
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 PORTDOCS=	AUTHORS ChangeLog NEWS README
 OPTIONS_DEFINE=	DOCS
 
@@ -33,6 +36,7 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/doc/abuse.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-head mailing list