blob: 56f56be99dd94a2c6d3c61b95e3e8cfea2c1163f (
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
|
# $NetBSD: Makefile,v 1.10 1999/01/09 03:19:02 hubertf Exp $
# FreeBSD Id: Makefile,v 1.10 1998/05/04 20:22:31 jseger Exp
#
DISTNAME= arena-0.3.61
WRKSRC= ${WRKDIR}/Arena-0.3.61
CATEGORIES= www
MASTER_SITES= ftp://ftp.yggdrasil.com/pub/dist/web/arena/
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.yggdrasil.com/Products/Arena/
DEPENDS= libwww-5.1m1:../../www/libwww \
jpeg-6*:../../graphics/jpeg \
png-1.*:../../graphics/png \
xpm-3.4*:../../graphics/xpm
NOT_FOR_ARCHS= alpha #Runs, displays black screen
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
USE_GMAKE= yes
MAKEFILE= makefile
GNU_CONFIGURE= yes
USE_X11= yes
CONFIGURE_ARGS+= --without-debug
CONFIGURE_ARGS+= --with-libwww-include=${LOCALBASE}/include/w3c-libwww
CONFIGURE_ARGS+= --with-libwww-libdir=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-libwww-config-h-dir=${LOCALBASE}/include/w3c-libwww
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -I${WRKDIR}"
# Arena requires libwww's "config.h" header - it is installed as "wwwconf.h",
# so make a symlink in ${WRKDIR} and add it to the -I list.
pre-configure:
@${LN} -sf ${LOCALBASE}/include/w3c-libwww/wwwconf.h ${WRKDIR}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Arena/netbsd/arena ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/Arena
# XXX not quite right, breaks on some platforms
# ${INSTALL_DATA} ${WRKSRC}/Arena/Source/arenarc ${PREFIX}/share/Arena/
${INSTALL_DATA} ${WRKSRC}/Arena/doc/arena.man ${PREFIX}/man/man1/arena.1
.include "../../mk/bsd.pkg.mk"
|