From db17595787d15e4ffbd1a38c3f6640992f3c77a2 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 1 Apr 2015 17:23:08 +0000 Subject: - Add LICENSE - Remove useless -pthread - Simplify docs installation --- games/flyhard/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'games') diff --git a/games/flyhard/Makefile b/games/flyhard/Makefile index 5265bb68f672..3c514d199aa8 100644 --- a/games/flyhard/Makefile +++ b/games/flyhard/Makefile @@ -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/games/flyhard/ \ 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 - post-install: -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include -- cgit