diff options
Diffstat (limited to 'www/arena/Makefile')
-rw-r--r-- | www/arena/Makefile | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/www/arena/Makefile b/www/arena/Makefile index dc67f013e48..cc6f447fc23 100644 --- a/www/arena/Makefile +++ b/www/arena/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2000/02/05 14:02:07 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2000/02/06 03:49:47 fredb Exp $ # FreeBSD Id: Makefile,v 1.10 1998/05/04 20:22:31 jseger Exp # @@ -10,19 +10,21 @@ MASTER_SITES= ftp://ftp.yggdrasil.com/pub/dist/web/arena/ MAINTAINER= tv@netbsd.org HOMEPAGE= http://www.yggdrasil.com/Products/Arena/ -DEPENDS= gettext-0.10.*:../../devel/gettext \ - jpeg-6b:../../graphics/jpeg \ - libwww-5.2.8:../../www/libwww \ - png-1.0.3:../../graphics/png \ - xpm-3.4k:../../graphics/xpm +BUILD_DEPENDS+= autoconf:../../devel/autoconf +DEPENDS+= gettext-0.10.*:../../devel/gettext +DEPENDS+= jpeg-6b:../../graphics/jpeg +DEPENDS+= libwww-5.2.8:../../www/libwww +DEPENDS+= png-1.0.3:../../graphics/png +DEPENDS+= xpm-3.4k:../../graphics/xpm NOT_FOR_PLATFORM= *-*-alpha #Runs, displays black screen -USE_GMAKE= yes -MAKEFILE= makefile GNU_CONFIGURE= yes +MAKEFILE= makefile +USE_GMAKE= yes USE_X11BASE= yes -CONFIGURE_ARGS+= --without-debug + +CONFIGURE_ARGS+= --without-debug --with-arenarc-dir=${LOCALBASE}/etc CONFIGURE_ARGS+= --with-libwww-include=${LOCALBASE}/include/w3c-libwww CONFIGURE_ARGS+= --with-libwww-libdir=${LOCALBASE}/lib CONFIGURE_ARGS+= --with-libwww-config-h-dir=${WRKDIR} @@ -31,19 +33,21 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -I${WRKDI # 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 + ${LN} -sf ${LOCALBASE}/include/w3c-libwww/wwwconf.h ${WRKDIR}/config.h + cd ${WRKSRC} && autoconf 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/Source/arenarc ${PREFIX}/share/examples/ + if [ ! -f ${LOCALBASE}/etc/arenarc ]; then \ + ${CP} ${PREFIX}/share/examples/arenarc ${LOCALBASE}/etc/; fi ${INSTALL_DATA_DIR} ${PREFIX}/share/locale/en/LC_MESSAGES msgfmt --output-file=${WRKDIR}/Arena.gmo ${WRKSRC}/Arena/LC_MESSAGES/en/Arena.po ${INSTALL_DATA} ${WRKDIR}/Arena.gmo ${PREFIX}/share/locale/en/LC_MESSAGES/ ${INSTALL_DATA} ${WRKSRC}/Arena/doc/arena.man ${PREFIX}/man/man1/arena.1 .include "../../mk/bsd.prefs.mk" + .if defined(EXTRACT_USING_PAX) GLOBAL_EXCLUDE_ARG= -c .else |