ports/149564: patch for various games/ adding appropriate LICENSEs to Makefiles

Anonymous swell.k at gmail.com
Thu Aug 12 12:42:59 UTC 2010


(CC'ing ports@, anyone there care to update the wiki to mention the
common issue?)

Ullrich Franke <uf at raindogs.org> writes:

> --- ./magicor/Makefile	2010-03-28 08:35:17.000000000 +0200
> +++ ./magicor/Makefile	2010-07-26 12:36:33.000000000 +0200
> @@ -16,6 +16,11 @@
>  MAINTAINER=	amdmi3 at FreeBSD.org
>  COMMENT=	Old-school, puzzle game similar to Solomon's Key
>  
> +LICENSE=	unknown
> +LICENSE_NAME=	Public Domain
> +LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
> +LICENSE_FILE=	${WRKSRC}/LICENSE
> +
>  RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
>  
>  USE_PYTHON=	yes
> --- ./alienblaster/Makefile	2010-01-30 10:42:46.000000000 +0100
> +++ ./alienblaster/Makefile	2010-07-26 12:28:24.000000000 +0200
> @@ -15,6 +15,9 @@
>  MAINTAINER=	alepulver at FreeBSD.org
>  COMMENT=	Alien Blaster
>  
> +LICENSE=	GPLv2
> +LICENSE_FILE=	${WRKSRC}/LICENSE
> +
>  USE_GMAKE=	yes
>  USE_SDL=	mixer sdl
>  REINPLACE_ARGS=	-i ''

Note, there is a known limitation of the framework regarding license
file named `LICENSE' described in ports/148808. Just comment
LICENSE_FILE until it's resolved so you won't forget which ports have a
license file.

  $ make deinstall
  ===>   Deinstalling magicor-1.1_3
  pkg_delete: file '/usr/local/share/licenses/magicor-1.1_3/LICENSE' doesn't exist

  $ make deinstall
  ===>   Deinstalling alienblaster-1.1.0_4
  pkg_delete: file '/usr/local/share/licenses/alienblaster-1.1.0_4/LICENSE' doesn't exist


More information about the freebsd-ports mailing list