svn commit: r455789 - head/games/glest

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 8 17:47:12 UTC 2017


Author: amdmi3
Date: Fri Dec  8 17:47:11 2017
New Revision: 455789
URL: https://svnweb.freebsd.org/changeset/ports/455789

Log:
  - Switch to USES=localbase
  - Verbosify fuild
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/games/glest/Makefile

Modified: head/games/glest/Makefile
==============================================================================
--- head/games/glest/Makefile	Fri Dec  8 17:46:53 2017	(r455788)
+++ head/games/glest/Makefile	Fri Dec  8 17:47:11 2017	(r455789)
@@ -17,17 +17,15 @@ LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3 \
 BUILD_DEPENDS=	jam:devel/jam
 RUN_DEPENDS=	${LOCALBASE}/${DATADIR_REL}/servers.ini:games/glest-data
 
-USES=		dos2unix openal:al,alut pkgconfig zip lua:51
+USES=		dos2unix localbase openal:al,alut pkgconfig zip lua:51
 USE_AUTOTOOLS=	automake:env autoconf:env
 USE_SDL=	yes
 USE_GL=		yes
 GNU_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	mk/linux/configure
-CPPFLAGS+=		-I${LOCALBASE}/include
-LIBS+=			-L${LOCALBASE}/lib
 SUB_FILES=		glest-wrapper pkg-message
 
-JAM_CMD=		${LOCALBASE}/bin/jam -qa
+JAM_CMD=		${LOCALBASE}/bin/jam -q -a -dx
 
 OPTIONS_DEFINE=	DOCS EDITOR
 OPTIONS_SUB=	yes
@@ -77,8 +75,7 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper \
 		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
-.if ${PORT_OPTIONS:MEDITOR}
+do-install-EDITOR-on:
 	${INSTALL_PROGRAM} ${WRKSRC}/glest_editor ${STAGEDIR}${PREFIX}/bin/
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list