aboutsummaryrefslogtreecommitdiffstats
path: root/games/gweled/Makefile
blob: 0b2df3fe5184e77585d7b0d041632e0987bf44d4 (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
39
# Created by: James Earl
# $FreeBSD$

PORTNAME=   gweled
PORTVERSION=    0.9.1
CATEGORIES= games gnome
MASTER_SITES=   http://launchpad.net/gweled/trunk/${PORTVERSION}/+download/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME version of the game called "Bejeweled" or "Diamond Mine"

BROKEN=     Does not work
DEPRECATED= Broken since update to gnome3
EXPIRATION_DATE=2015-06-09

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libmikmod.so:${PORTSDIR}/audio/libmikmod

USES=       gmake pathfix pkgconfig
USE_GNOME=  gnomeprefix libgnomeui librsvg2
GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/games|' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \
        ${WRKSRC}/install-sh

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/games
    ${TOUCH} ${STAGEDIR}${PREFIX}/share/games/gweled.Normal.scores.sample
    ${TOUCH} ${STAGEDIR}${PREFIX}/share/games/gweled.Timed.scores.sample

.include <bsd.port.mk>