aboutsummaryrefslogtreecommitdiffstats
path: root/www/arena/Makefile
blob: 199b8cef93bd714b2c9e52197fd8e54ef83bff7a (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
# New ports collection makefile for:    arena
# Date created:         Dec 1 1995
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   arena-i18n
PORTVERSION=    beta3b
CATEGORIES= www
MASTER_SITES=   ftp://ftp.w3.org/pub/Arena/beta-3/
DISTNAME=   arena-CJK-beta3a

MAINTAINER= ports@FreeBSD.org
COMMENT=    Experimental HTML 3 browser, supports math and style sheets

LIB_DEPENDS+=   jpeg.9:${PORTSDIR}/graphics/jpeg
LIB_DEPENDS+=   png.5:${PORTSDIR}/graphics/png
USE_GCC=    2.95

PLIST_FILES=    bin/arena
USE_XLIB=   yes
WRKSRC=     ${WRKDIR}/WWW

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=     "Does not compile on FreeBSD >= 5.x"
.endif

do-build:
    cd ${WRKSRC}/Library/freebsd; ${SETENV} ${MAKE_ENV} ${MAKE}
    cd ${WRKSRC}/Arena/freebsd; \
    ${SETENV} ${MAKE_ENV} ${MAKE} LFLAGS=-L${PREFIX}/lib \
        XLIBDIR=${X11BASE}/lib \
        JPEGDIR=${WRKSRC} PNGDIR=${WRKSRC} ZLIBDIR=${WRKSRC} \
        JPEGLIB=-ljpeg PNGLIB=-lpng ZLIB=-lz

do-install:
    cd ${WRKSRC}/Arena/freebsd; \
    ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} -s arena ${PREFIX}/bin

.include <bsd.port.post.mk>