svn commit: r382923 - head/games/flyhard

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Apr 1 17:23:09 UTC 2015


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 at 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>


More information about the svn-ports-all mailing list