Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 17:23:09 +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: r382923 - head/games/flyhard
Message-ID:  <201504011723.t31HN9YE095194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Apr  1 17:23:08 2015
New Revision: 382923
URL: https://svnweb.freebsd.org/changeset/ports/382923

Log:
  - Add LICENSE
  - Remove useless -pthread
  - Simplify docs installation

Modified:
  head/games/flyhard/Makefile

Modified: head/games/flyhard/Makefile
==============================================================================
--- head/games/flyhard/Makefile	Wed Apr  1 17:22:34 2015	(r382922)
+++ head/games/flyhard/Makefile	Wed Apr  1 17:23:08 2015	(r382923)
@@ -3,7 +3,7 @@
 
 PORTNAME=	flyhard
 PORTVERSION=	0.42
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	games
 MASTER_SITES=	http://www.markboyd.me.uk/games/flyhard/ \
 		http://mirror.amdmi3.ru/distfiles/
@@ -11,6 +11,9 @@ MASTER_SITES=	http://www.markboyd.me.uk/
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Game resembling Thrust, but with lots of shooting and puzzles
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
@@ -19,20 +22,16 @@ USES=		gmake
 USE_SDL=	sdl mixer
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -pthread
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/${PORTNAME}
-PORTDOCS=	*
+PORTDOCS=	AUTHORS ChangeLog README
 PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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