diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 16:35:45 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 16:35:45 +0000 |
commit | 3a283e24f296371e9b753c09e3e62a92ef3d8703 (patch) | |
tree | 88e0a2bbddafb5c9bdc18e8e02c5e59fb9f9d471 /games/species | |
parent | 7a0a8929bea1c510b4f30261d294a78b556b49d7 (diff) | |
download | ports-3a283e24f296371e9b753c09e3e62a92ef3d8703.tar.gz ports-3a283e24f296371e9b753c09e3e62a92ef3d8703.zip |
Notes
Diffstat (limited to 'games/species')
-rw-r--r-- | games/species/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/species/Makefile b/games/species/Makefile index c01f4d442658..ffecbe1a6eb6 100644 --- a/games/species/Makefile +++ b/games/species/Makefile @@ -19,11 +19,12 @@ USE_BZIP2= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS= VISITOOL "Buil GUI tool for displaying evolution" off +OPTIONS_DEFINE= VISITOOL +VISITOOL_DESC= Buil GUI tool for displaying evolution -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_VISITOOL) +.if ${PORT_OPTIONS:MVISITOOL} USE_WX= 2.4 ALL_TARGET= all visitool PLIST_SUB+= VISITOOL="" @@ -36,9 +37,9 @@ do-install: ${MKDIR} ${DATADIR} cd ${WRKSRC} && ${INSTALL_DATA} koen.* species.ini *.rc ${DATADIR} cd ${WRKSRC} && ${CP} -r bench evolver_hill wilfiz ${DATADIR} -.if defined(WITH_VISITOOL) +.if ${PORT_OPTIONS:MVISITOOL} ${INSTALL_PROGRAM} ${WRKSRC}/visitool \ ${PREFIX}/bin/${PORTNAME}-visitool .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |