aboutsummaryrefslogtreecommitdiffstats
path: root/www/viewml/Makefile
blob: 302f5240d1d92e250edc46bb2c3337fc474e6e1e (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
# Ports collection Makefile for:    viewml
# Date created:             Black Friday (13 April 2001)
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   viewml
PORTVERSION=    0.21
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   ftp://ftp.viewml.com/pub/viewml/

MAINTAINER= sobomax@FreeBSD.org
COMMENT=    An open source web browser targeted at the embedded platforms

BROKEN=     "Does not compile"

BUILD_DEPENDS=  makedepend:${PORTSDIR}/devel/makedepend
LIB_DEPENDS=    fltk.1:${PORTSDIR}/x11-toolkits/fltk \
        wwwzip.1:${PORTSDIR}/www/libwww

WRKSRC=     ${WRKDIR}/${DISTNAME}/src

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  imlib
USE_BISON=  yes
CFLAGS+=    -fpermissive -include /usr/include/sys/types.h \
        -DPREFIX=\\\"${PREFIX}\\\"

do-configure:
    @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKEFILE} ${MAKE_ARGS} depend)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/viewml ${PREFIX}/bin
    ${MKDIR} ${PREFIX}/share/viewml
    ${INSTALL_DATA} ${WRKSRC}/khtmlw_dnd.xpm ${PREFIX}/share/viewml

.include <bsd.port.mk>