diff options
author | jgh <jgh@FreeBSD.org> | 2013-05-31 22:40:56 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-05-31 22:40:56 +0800 |
commit | 5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/glest | |
parent | f865d279ae89cb92e74059f7301e136a9da802d8 (diff) | |
download | freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.gz freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.zst freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.zip |
- adopt optionsNG for games
- trim historical headers and trim comments
- some Makefile cleanup
Approved by: portmgr (bapt)
Diffstat (limited to 'games/glest')
-rw-r--r-- | games/glest/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games/glest/Makefile b/games/glest/Makefile index dc45cd1bd851..90bd487f72f1 100644 --- a/games/glest/Makefile +++ b/games/glest/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: glest -# Date created: 2005-10-30 -# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> -# +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> # $FreeBSD$ -# PORTNAME= glest PORTVERSION= 3.2.2 @@ -36,13 +32,15 @@ SUB_FILES= glest-wrapper pkg-message JAM_CMD= ${LOCALBASE}/bin/jam -qa -OPTIONS= EDITOR "Build map editor" off +OPTIONS_DEFINE= EDITOR +EDITOR_DESC= Build map editor EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME} +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> -.if defined(WITH_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} USE_WX= 2.6+ WX_CONF_ARGS= relative WANT_UNICODE= yes @@ -74,7 +72,7 @@ do-build: @cd ${WRKSRC} && ${JAM_CMD} do-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/code_license.txt ${DOCSDIR}/code_license.txt .endif |