1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/sgt-puzzles/Makefile
2023-03-03 19:52:42 +03:00

40 lines
978 B
Makefile

PORTNAME= puzzles
PORTVERSION= 20230302
CATEGORIES= games
# upstream does not preserve older versions, mirroring is mandatory
MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ \
https://mirror.amdmi3.ru/distfiles/
PKGNAMEPREFIX= sgt-
DISTNAME= ${PORTNAME}-${PORTVERSION}.${COMMITHASH}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simon Tatham's Portable Puzzle Collection
WWW= https://www.chiark.greenend.org.uk/~sgtatham/puzzles/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= convert:graphics/ImageMagick6-nox11 \
halibut:textproc/halibut
USES= cmake gnome perl5 pkgconfig
USE_PERL5= build
CMAKE_ARGS= -DNAME_PREFIX:STRING=sgt-
COMMITHASH= c0f715f
DATADIR= ${PREFIX}/share/sgt-puzzles
PORTDATA= *
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
OPTIONS_DEFAULT=GTK3
GTK_DESC= Gtk version
GTK2_CMAKE_ON= -DPUZZLES_GTK_VERSION=2
GTK2_USE= GNOME=gtk20
GTK3_CMAKE_ON= -DPUZZLES_GTK_VERSION=3
GTK3_USE= GNOME=gtk30
.include <bsd.port.mk>