aboutsummaryrefslogtreecommitdiffstats
path: root/www/viewml/Makefile
blob: 68cecbd3e6f9be7b5c05ce6db2115a242f0ddc02 (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
# 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

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_IMLIB=  yes
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>