aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnubik/Makefile
blob: 3f3684547039425179daca37675b661d2e881d6d (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gnubik
PORTVERSION=    2.4.2
CATEGORIES= games
MASTER_SITES=   GNU

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    3D Rubik's cube game

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libguile.so:lang/guile \
        libgtkglext-x11-1.0.so:x11-toolkits/gtkglext

GNU_CONFIGURE=  yes
USES=       gettext gmake localbase pkgconfig
USE_GNOME=  gtk20
USE_GL=     gl glu

PORTDOCS=   AUTHORS ChangeLog NEWS README TODO

INFO=       gnubik

OPTIONS_DEFINE= DOCS

post-install:
    ${LN} -s ../icons/hicolor/32x32/apps/gnubik.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor

.include <bsd.port.mk>