blob: 5696b5b2d1fccf9242dfc9bfb6353b231bce3e90 (
plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# $NetBSD: Makefile,v 1.39 2002/08/30 23:26:43 fredb Exp $
DISTNAME= gnome-games-1.4.0.4
PKGREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-games/}\
${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/s-/s-html-/}${EXTRACT_SUFX}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME games collection
BUILD_DEPENDS+= automake>=1.4:../../devel/automake
# Required for ports which don't build "libgtop".
DEPENDS+= guile-[0-9]*:../../lang/guile
BUILD_USES_MSGFMT= YES
CONFLICTS= xbill-[0-9]*
USE_GMAKE= YES
USE_X11BASE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
BUILD_USES_GETTEXT_M4= YES
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
CONFIGURE_ARGS+= --localstatedir=/var
USE_CONFIG_WRAPPER= YES
INSTALL_FILE= ${WRKDIR}/INSTALL
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
AUTOGEN_ENV= NOCONFIGURE=1
AUTOGEN_ENV+= srcdir=${WRKSRC}
post-patch:
cd ${WRKSRC} && \
${CP} gnect/src/connect4.c gnect/src/connect4.c.broken && \
${SED} -e 's|/usr/share|${PREFIX}/share|' \
< gnect/src/connect4.c.broken > gnect/src/connect4.c
pre-configure:
cd ${WRKSRC} && ${SETENV} ${AUTOGEN_ENV} ${SH} macros/autogen.sh
post-build:
${SED} -e 's#@@INSTALL@@#${INSTALL}#' \
${PKGDIR}/INSTALL >${INSTALL_FILE}
post-install:
.for dir in gnome-stones/C gnome-stones/it
${ECHO} "index.html Manual" >${PREFIX}/share/gnome/help/${dir}/topic.dat
${CHMOD} 0644 ${PREFIX}/share/gnome/help/${dir}/topic.dat
.endfor
${LN} -s aisleriot ${PREFIX}/share/gnome/help/freecell
${LN} -s . ${PREFIX}/share/gnome/help/gataxx/C/user-guide
${LN} -s . ${PREFIX}/share/gnome/help/gataxx/es/user-guide
${LN} -s . ${PREFIX}/share/gnome/help/gataxx/eu/user-guide
${LN} -s . ${PREFIX}/share/gnome/help/gataxx/it/user-guide
${LN} -s gnome-mines ${PREFIX}/share/gnome/help/gnomine
${LN} -s same-gnome ${PREFIX}/share/gnome/help/samegnome
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/ncurses/buildlink.mk"
.include "../../x11/gnome-core/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|