diff options
author | ahze <ahze@FreeBSD.org> | 2005-04-17 13:04:12 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-04-17 13:04:12 +0800 |
commit | 05abff355f719ae4098052b350c8ad81c3067774 (patch) | |
tree | 242f45098dcfa5e1b743818a55be8a753b7c0028 /finance/xtrader | |
parent | 8f8b0aca2e577bebb80efef3db464556c1072f30 (diff) | |
download | freebsd-ports-gnome-05abff355f719ae4098052b350c8ad81c3067774.tar.gz freebsd-ports-gnome-05abff355f719ae4098052b350c8ad81c3067774.tar.zst freebsd-ports-gnome-05abff355f719ae4098052b350c8ad81c3067774.zip |
- Add xtrader [1]
Technical analysis program for financial instruments
Included is also an simple portfolio module where you can
- edit transactions, create reports and charts.
- create price larms report.
- edit all data.
- export all database files to an import file.
WWW: http://xtrader.sourceforge.net/
Requested by: lioux [1] -- I gave him maintainer too.. if he doesn't
want it he can change.
Diffstat (limited to 'finance/xtrader')
-rw-r--r-- | finance/xtrader/Makefile | 35 | ||||
-rw-r--r-- | finance/xtrader/distinfo | 2 | ||||
-rw-r--r-- | finance/xtrader/files/patch-Makefile.linux | 21 | ||||
-rw-r--r-- | finance/xtrader/pkg-descr | 9 |
4 files changed, 67 insertions, 0 deletions
diff --git a/finance/xtrader/Makefile b/finance/xtrader/Makefile new file mode 100644 index 000000000000..3c8cb4b0fdaf --- /dev/null +++ b/finance/xtrader/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: xtrader +# Date created: 2005-04-16 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xtrader +PORTVERSION= 0.99.9 +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.20:${PORTSDIR}/devel/ptypes \ + fltk.1:${PORTSDIR}/x11-toolkits/fltk + +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" +MAKEFILE= Makefile.linux +BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} +NO_WRKSUBDIR= yes +USE_GMAKE= yes + +PLIST_FILES= bin/xtrader \ + %%DATADIR%%/sample.xt +PLIST_DIRS= %%DATADIR%% + +do-install: + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/sample.xt ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/xtrader ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/finance/xtrader/distinfo b/finance/xtrader/distinfo new file mode 100644 index 000000000000..5c9fc821335d --- /dev/null +++ b/finance/xtrader/distinfo @@ -0,0 +1,2 @@ +MD5 (xtrader-0.99.9.tar.gz) = c15cb947194a6c405b3ef5d2fe916793 +SIZE (xtrader-0.99.9.tar.gz) = 644928 diff --git a/finance/xtrader/files/patch-Makefile.linux b/finance/xtrader/files/patch-Makefile.linux new file mode 100644 index 000000000000..f22cbec7958f --- /dev/null +++ b/finance/xtrader/files/patch-Makefile.linux @@ -0,0 +1,21 @@ +--- xtrader/Makefile.linux.orig Thu Oct 21 18:21:08 2004 ++++ xtrader/Makefile.linux Sat Apr 16 23:40:08 2005 +@@ -1,12 +1,12 @@ +-COMP= g++ +-IFLAGS= -I../util -Isrc -I/usr/local/include -I/usr/include/ptypes +-CFLAGS= -march=i586 -O3 -Wall -Wno-format-y2k +-LFLAGS= -L/usr/local/lib -lz -lfltk -lptypes -lexpat -L/usr/X11R6/lib -lm -lXpm -lX11 -ldl -lpthread -lXft +-LFLAGS2= -L/usr/local/lib -lfltk_ -lptypes -L/usr/X11R6/lib -lXpm -lX11 -ldl -lpthread ++COMP= $(CC) ++IFLAGS= -I../util -Isrc -I$(LOCALBASE)/include -I$(LOCALBASE)/include/ptypes -I$(X11BASE)/include ++CFLAGS:= $(CFLAGS) -Wno-format-y2k ++LFLAGS= -L$(LOCALBASE)/lib -lz -lfltk -lptypes -lexpat -L$(X11BASE)/lib -lm -lXpm -lX11 $(PTHREAD_LIBS) -lXft -lcompat ++LFLAGS2= -L$(LOCALBASE)/lib -lfltk -lptypes -L$(X11BASE)/lib -lXpm -lX11 $(PTHREAD_LIBS) + XTRADER= xtrader + XTRADER2= xtrader.static + +-all: $(XTRADER) $(XTRADER2) ++all: $(XTRADER) + + XTRADER_OBJ=../util/MH.o ../util/MHCSVFile.o \ + ../util/MHDate.o ../util/MHDayChart.o ../util/MHDC.o \ diff --git a/finance/xtrader/pkg-descr b/finance/xtrader/pkg-descr new file mode 100644 index 000000000000..bb0a93b80c03 --- /dev/null +++ b/finance/xtrader/pkg-descr @@ -0,0 +1,9 @@ +Technical analysis program for financial instruments + +Included is also an simple portfolio module where you can + - edit transactions, create reports and charts. + - create price larms report. + - edit all data. + - export all database files to an import file. + +WWW: http://xtrader.sourceforge.net/ |