Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2017 09:00:15 +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: r444632 - head/games/lander
Message-ID:  <201706290900.v5T90Fcl003865@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun 29 09:00:15 2017
New Revision: 444632
URL: https://svnweb.freebsd.org/changeset/ports/444632

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Add missing depends
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/games/lander/Makefile

Modified: head/games/lander/Makefile
==============================================================================
--- head/games/lander/Makefile	Thu Jun 29 08:56:46 2017	(r444631)
+++ head/games/lander/Makefile	Thu Jun 29 09:00:15 2017	(r444632)
@@ -11,19 +11,20 @@ MASTER_SITES=	http://www.nickg.me.uk/files/ \
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Lunar Lander clone
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libfreetype.so:print/freetype2 \
-		libboost_filesystem.so:devel/boost-libs
+		libboost_filesystem.so:devel/boost-libs \
+		libpng.so:graphics/png
 
 GNU_CONFIGURE=	yes
-USES=		gettext pkgconfig
+USES=		gettext localbase pkgconfig
 USE_SDL=	sdl image mixer
 USE_GL=		gl glu
 
 CONFIGURE_ARGS=	--with-boost="${LOCALBASE}" \
 		--with-boost-filesystem=boost_filesystem
-LDFLAGS=	-L${LOCALBASE}/lib
 
 PORTDOCS=	*
 PORTDATA=	*
@@ -40,8 +41,8 @@ OPTIONS_DEFINE=	DOCS
 post-patch:
 	@${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure
 
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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