svn commit: r455258 - head/games/trophy

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 1 11:07:30 UTC 2017


Author: amdmi3
Date: Fri Dec  1 11:07:29 2017
New Revision: 455258
URL: https://svnweb.freebsd.org/changeset/ports/455258

Log:
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Don't install license with docs
  - Cosmetic fixes

Modified:
  head/games/trophy/Makefile

Modified: head/games/trophy/Makefile
==============================================================================
--- head/games/trophy/Makefile	Fri Dec  1 11:03:43 2017	(r455257)
+++ head/games/trophy/Makefile	Fri Dec  1 11:07:29 2017	(r455258)
@@ -11,25 +11,23 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Single player racing game
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libclanCore.so:devel/clanlib1
 
-USES=		pkgconfig
-
+USES=		pkgconfig localbase
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 
-PORTDOCS=	AUTHORS COPYING ChangeLog README TODO
+PORTDOCS=	AUTHORS ChangeLog README TODO
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
+	@${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
 		${WRKSRC}/resources/Makefile.in
 
 post-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR} && \
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list