blob: 96ad75673e0d4b9f844e1c1e519a9f38ab2894d2 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnomebreakout
PORTVERSION= 0.5.3
PORTREVISION= 13
CATEGORIES= games gnome
MASTER_SITES= SF/${PORTNAME:S/eb/e-b/}/${PORTNAME:S/eb/e-b/}/${PORTVERSION}/ \
http://www.users.on.net/~mipearson/
DISTNAME= gnome-breakout-${PORTVERSION}
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME version of the classic breakout game
USES= pathfix pkgconfig
USE_GNOME= gnomeprefix libgnomeui
USE_XORG= x11
GNU_CONFIGURE= yes
USE_GCC= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lX11 -lm
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext:run
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
's|@GETTEXT_PACKAGE@|@PACKAGE@|' ${WRKSRC}/po/Makefile.in.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-DGNOME_DISABLE_DEPRECATED||; s|-DGTK_DISABLE_DEPRECATED||; \
s|-DGDK_PIXBUF_DISABLE_DEPRECATED||; s|-DG_DISABLE_DEPRECATED||'
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|po src|src|' \
${WRKSRC}/Makefile.in
.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|