aboutsummaryrefslogtreecommitdiffstats
path: root/finance/xtrader/Makefile
blob: b3b6f8470f00b9cea24529c6ef983dd578757620 (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:    xtrader
# Date created:     2005-04-16
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xtrader
PORTVERSION=    0.99.9
PORTREVISION=   3
CATEGORIES= finance
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= lioux@FreeBSD.org
COMMENT=    Technical analysis program for financial instruments

LIB_DEPENDS=    ptypes.21:${PORTSDIR}/devel/ptypes \
        fltk.1:${PORTSDIR}/x11-toolkits/fltk

MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKEFILE=   Makefile.linux
USE_XORG=   x11 xpm
BUILD_WRKSRC=   ${WRKSRC}/${PORTNAME}
NO_WRKSUBDIR=   yes
USE_GMAKE=  yes

PLIST_FILES=    bin/xtrader \
        %%DATADIR%%/sample.xt
PLIST_DIRS= %%DATADIR%%

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN=     Does not compile
.endif

do-install:
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/sample.xt ${DATADIR}
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/xtrader ${PREFIX}/bin

.include <bsd.port.post.mk>