Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 16:21:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437942 - head/devel/py-game
Message-ID:  <201704071621.v37GLX9T039925@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Apr  7 16:21:33 2017
New Revision: 437942
URL: https://svnweb.freebsd.org/changeset/ports/437942

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/devel/py-game/Makefile

Modified: head/devel/py-game/Makefile
==============================================================================
--- head/devel/py-game/Makefile	Fri Apr  7 16:21:18 2017	(r437941)
+++ head/devel/py-game/Makefile	Fri Apr  7 16:21:33 2017	(r437942)
@@ -13,6 +13,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Module designed to write games in Python
 
 LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LGPL
 
 LIB_DEPENDS=	libsmpeg.so:multimedia/smpeg
 RUN_DEPENDS=	${PYNUMPY}
@@ -45,11 +46,13 @@ pre-configure:
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py -auto
 
-post-install:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${TAR} -C ${WRKSRC}/examples -cf - . | \
 		${TAR} --unlink -C ${STAGEDIR}${EXAMPLESDIR} -xf -
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${TAR} -C ${WRKSRC}/docs -cf - . | \
 		${TAR} --unlink -C ${STAGEDIR}${DOCSDIR} -xf -
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704071621.v37GLX9T039925>