summaryrefslogtreecommitdiff
path: root/finance/libstocks
diff options
context:
space:
mode:
Diffstat (limited to 'finance/libstocks')
-rw-r--r--finance/libstocks/Makefile38
-rw-r--r--finance/libstocks/distinfo2
-rw-r--r--finance/libstocks/files/Makefile.client12
-rw-r--r--finance/libstocks/files/Makefile.lib17
-rw-r--r--finance/libstocks/files/patch-lib_http.c16
-rw-r--r--finance/libstocks/pkg-descr13
-rw-r--r--finance/libstocks/pkg-plist6
7 files changed, 0 insertions, 104 deletions
diff --git a/finance/libstocks/Makefile b/finance/libstocks/Makefile
deleted file mode 100644
index 0261ea36645e..000000000000
--- a/finance/libstocks/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-PORTNAME= libstocks
-PORTVERSION= 0.5.0
-PORTREVISION= 1
-CATEGORIES= finance devel
-MASTER_SITES= SF
-
-MAINTAINER= ports@virtual-estates.net
-COMMENT= C library which can be used to fetch stocks quotes
-WWW= https://libstocks.sourceforge.net/
-
-DEPRECATED= Abandoned upstream, last release in 2000
-EXPIRATION_DATE=2025-07-31
-
-USE_LDCONFIG= yes
-REINPLACE_ARGS= -i ""
-MAKE_ENV= WITHOUT_PROFILE=yes SRCCONF=/dev/null
-MAKE_ENV+= STAGEDIR="${STAGEDIR}"
-USES= uidfix
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
- -e 's/__UNIX__/__unix__/' \
- $$(${GREP} -El '<malloc.h>|__UNIX__' \
- ${WRKSRC}/lib/*.c); \
-
-do-build do-install:
-.for d in lib client
- cd ${WRKSRC}/$d && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} \
- ${MAKEFLAGS} -j2 -f ${FILESDIR}/Makefile.$d ${.TARGET:S/do-//}
-.endfor
-
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/finance/libstocks/distinfo b/finance/libstocks/distinfo
deleted file mode 100644
index abd808cfed53..000000000000
--- a/finance/libstocks/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libstocks-0.5.0.tar.gz) = 0d4dc756e1b43270b8afd25c9b33ecd13107802a62d63778677dc9cac0957c1c
-SIZE (libstocks-0.5.0.tar.gz) = 48268
diff --git a/finance/libstocks/files/Makefile.client b/finance/libstocks/files/Makefile.client
deleted file mode 100644
index 2cee8a98dcdf..000000000000
--- a/finance/libstocks/files/Makefile.client
+++ /dev/null
@@ -1,12 +0,0 @@
-PROG= libstocks_client
-SRCS= client.c
-MAN=
-PREFIX?=/usr/local
-BINDIR= ${STAGEDIR}${PREFIX}/bin
-
-CFLAGS+=-I${.CURDIR}/../lib
-LDADD+= -L../lib -lstocks
-
-build: all
-
-.include <bsd.prog.mk>
diff --git a/finance/libstocks/files/Makefile.lib b/finance/libstocks/files/Makefile.lib
deleted file mode 100644
index 0d4159691e9a..000000000000
--- a/finance/libstocks/files/Makefile.lib
+++ /dev/null
@@ -1,17 +0,0 @@
-PREFIX?=/usr/local
-LIBDIR= ${STAGEDIR}${PREFIX}/lib
-INCSDIR=${STAGEDIR}${PREFIX}/include
-INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk
-
-LIB= stocks
-SHLIB_MAJOR=0
-SHLIB_MINOR=5
-
-MK_PROFILE=no # to avoid building profiled library
-
-SRCS!= ${MAKE} -f ${.CURDIR}/Makefile.in -V libstocks_a_SOURCES
-INCS!= ${MAKE} -f ${.CURDIR}/Makefile.in -V include_HEADERS
-
-build: all
-
-.include <bsd.lib.mk>
diff --git a/finance/libstocks/files/patch-lib_http.c b/finance/libstocks/files/patch-lib_http.c
deleted file mode 100644
index 994c6a391a48..000000000000
--- a/finance/libstocks/files/patch-lib_http.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- lib/http.c Tue Sep 5 10:42:34 2000
-+++ lib/http.c Tue Jan 8 00:09:06 2002
-@@ -21,5 +21,7 @@
- #define __HTTP_C__
-
- #ifdef __UNIX__
-+#include <sys/types.h>
-+
- #include <sys/socket.h>
- #include <netinet/in.h>
-@@ -32,5 +34,4 @@
- #endif
-
--#include <sys/types.h>
- #include <ctype.h>
- #include <string.h>
diff --git a/finance/libstocks/pkg-descr b/finance/libstocks/pkg-descr
deleted file mode 100644
index cc12edd74695..000000000000
--- a/finance/libstocks/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Libstocks is a C library which can be used to fetch stocks quotes.
-
-It is currently able to get quotes from a lot of stocks markets. The
-supported markets are :
-
- Argentina European markets
- Australia Mexico
- Brasil United States
- Canada Venezuela
- Chili
-
-Unfortunatly, libstocks can get historical quotes just for the United
-States market.
diff --git a/finance/libstocks/pkg-plist b/finance/libstocks/pkg-plist
deleted file mode 100644
index cc09b64dfe0c..000000000000
--- a/finance/libstocks/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/libstocks_client
-include/stocks.h
-lib/libstocks.a
-lib/libstocks.so
-lib/libstocks.so.0
-%%PORTDOCS%%share/doc/libstocks/README