diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-04-17 05:04:12 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-04-17 05:04:12 +0000 |
commit | a509198e85b07e08334affb103a888d6ce5cc17b (patch) | |
tree | 7f1d612ee203a84ae404cd807cb731455e83bb48 /finance | |
parent | 4c32157aeacb248e2b7a915b22852fc40c3be987 (diff) | |
download | ports-a509198e85b07e08334affb103a888d6ce5cc17b.tar.gz ports-a509198e85b07e08334affb103a888d6ce5cc17b.zip |
Notes
Diffstat (limited to 'finance')
-rw-r--r-- | finance/Makefile | 1 | ||||
-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 |
5 files changed, 68 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile index 84656ac728d4..d45bb3a454a4 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -53,5 +53,6 @@ SUBDIR += wmstock SUBDIR += xinvest SUBDIR += xquote + SUBDIR += xtrader .include <bsd.port.subdir.mk> 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/ |