source: build-files/ports-overlay/games/gnome-games/Makefile @ 1620346

9.1-release9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 1620346 was 1620346, checked in by Kris Moore <kris@…>, 12 months ago

Initial import of PC-BSD /current/ SVN repo

  • Property mode set to 100644
File size: 2.4 KB
Line 
1# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
2# $FreeBSD: games/gnome-games/Makefile 315526 2013-03-29 08:15:56Z kwm $
3#   $MCom: ports/games/gnome-games/Makefile,v 1.240 2012/09/01 23:02:09 mezz Exp $
4
5PORTNAME=       gnome-games
6PORTVERSION=    2.32.1
7PORTREVISION=   3
8CATEGORIES=     games gnome
9MASTER_SITES=   GNOME
10DIST_SUBDIR=    gnome2
11
12MAINTAINER=     gnome@FreeBSD.org
13COMMENT=        The game applications package for the GNOME 2 Desktop Environment
14
15BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
16LIB_DEPENDS=    guile:${PORTSDIR}/lang/guile \
17                clutter-gtk-0.10:${PORTSDIR}/graphics/clutter-gtk \
18                clutter-glx-1.0:${PORTSDIR}/graphics/clutter
19RUN_DEPENDS=    seed:${PORTSDIR}/devel/seed
20
21CONFLICTS=      sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]* gnome-games-3.[0-9]*
22
23USE_BZIP2=      yes
24USE_PYTHON=     yes
25USE_GETTEXT=    yes
26INSTALLS_OMF=   yes
27INSTALLS_ICONS= yes
28USE_GMAKE=      yes
29USES=           pathfix
30USE_XORG=       glproto
31USE_GNOME=      gnomeprefix intlhack librsvg2 desktopfileutils \
32                pygnomedesktop gnomedocutils
33USE_GSTREAMER=  vorbis ogg
34GNU_CONFIGURE=  yes
35CONFIGURE_ARGS= --with-sound=gstreamer \
36                --disable-tests
37CPPFLAGS+=      -I${LOCALBASE}/include
38LDFLAGS+=       -L${LOCALBASE}/lib
39
40GCONF_SCHEMAS=  aisleriot.schemas glchess.schemas glines.schemas \
41                gnect.schemas gnibbles.schemas gnobots2.schemas \
42                gnome-sudoku.schemas gnomine.schemas gnotravex.schemas \
43                gnotski.schemas gtali.schemas iagno.schemas lightsoff.schemas \
44                mahjongg.schemas quadrapassel.schemas swell-foop.schemas
45
46#DSC_FILES=     iagno/iagno-client.dsc gnect/data/gnect-client.dsc \
47#               gnibbles/gnibbles-client.dsc
48
49MAN6=           glchess.6 glines.6 gnect.6 gnibbles.6 gnobots2.6 \
50                gnome-sudoku.6 gnomine.6 gnotravex.6 gnotski.6 \
51                gtali.6 iagno.6 mahjongg.6 quadrapassel.6 sol.6
52
53.include <bsd.port.pre.mk>
54
55.if exists(${LOCALBASE}/lib/libavahi-client.a) || defined(WITH_MDNS)
56LIB_DEPENDS+=   avahi-client:${PORTSDIR}/net/avahi-app
57.endif
58
59post-patch:
60        @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
61                ${WRKSRC}/gnome-sudoku/src/lib/defaults.py.in \
62                ${WRKSRC}/glchess/src/lib/defaults.py.in
63        @${REINPLACE_CMD} -e 's|strip-prefix=games|strip-prefix=Games|' \
64                ${WRKSRC}/libgames-support/Makefile.in
65
66post-install:
67        ${MKDIR} ${PREFIX}/share/ggz/gnome-games
68        ${CHGRP} games ${LOCALBASE}/share/games
69        ${CHMOD} g=rwXs ${LOCALBASE}/share/games
70
71#.for dsc in ${DSC_FILES}
72#       ${INSTALL_DATA} ${WRKSRC}/${dsc} ${PREFIX}/share/ggz/gnome-games/${dsc:T}
73#.endfor
74        @-update-desktop-database
75
76.include <bsd.port.post.mk>
Note: See TracBrowser for help on using the repository browser.