2016-10-25 18:31:54 +00:00
|
|
|
PORTNAME= gnubik
|
2017-04-05 15:15:20 +00:00
|
|
|
PORTVERSION= 2.4.3
|
2021-06-19 20:16:08 +00:00
|
|
|
PORTREVISION= 5
|
2016-10-25 18:31:54 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= GNU
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= 3D Rubik's cube game
|
|
|
|
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2019-06-27 09:02:56 +00:00
|
|
|
LIB_DEPENDS= libguile-2.2.so:lang/guile2 \
|
2016-10-25 18:31:54 +00:00
|
|
|
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2019-11-08 10:47:01 +00:00
|
|
|
USES= compiler:c++11-lang gettext gl gmake gnome localbase pkgconfig
|
2016-10-25 18:31:54 +00:00
|
|
|
USE_GNOME= gtk20
|
|
|
|
USE_GL= gl glu
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
INFO= gnubik
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2019-06-27 09:02:56 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,guile-2\.0,guile-2.2,' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2016-11-13 10:14:45 +00:00
|
|
|
post-install:
|
|
|
|
${LN} -s ../icons/hicolor/32x32/apps/gnubik.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
|
2016-10-25 18:31:54 +00:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|