Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 17:47:11 +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: r455789 - head/games/glest
Message-ID:  <201712081747.vB8HlB01039319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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