summaryrefslogtreecommitdiffstats
path: root/games/golly/Makefile
blob: 6890466d1f3445e07405e5764c75263c5e27be05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $FreeBSD$

PORTNAME=	golly
PORTVERSION=	2.7
PORTREVISION=	1
DISTVERSIONSUFFIX=	-src
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Conway's Game of Life and other cellular automata

USES=		compiler:c++11-lib cmake:outsource perl5 python
USE_CXXSTD=	c++11
USE_WX=		3.0
WX_UNICODE=	yes

CMAKE_SOURCE_PATH=	${WRKSRC}/gui-wx

DESKTOP_ENTRIES=	"Golly" "${COMMENT}" "${PREFIX}/share/pixmaps/golly.xpm" \
			"${PREFIX}/bin/golly" "Education;" "true"

SUB_FILES=	golly

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/golly ${STAGEDIR}/${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud