summaryrefslogtreecommitdiff
path: root/graphics/py-gdchart
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-gdchart')
-rw-r--r--graphics/py-gdchart/Makefile45
-rw-r--r--graphics/py-gdchart/distinfo3
-rw-r--r--graphics/py-gdchart/files/patch-gdc_py.c21
-rw-r--r--graphics/py-gdchart/files/setup.py14
-rw-r--r--graphics/py-gdchart/pkg-descr5
-rw-r--r--graphics/py-gdchart/pkg-plist7
6 files changed, 0 insertions, 95 deletions
diff --git a/graphics/py-gdchart/Makefile b/graphics/py-gdchart/Makefile
deleted file mode 100644
index 5ef6862877f4..000000000000
--- a/graphics/py-gdchart/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# New ports collection makefile for: py-gdchart
-# Date created: 18 June 2001
-# Whom: Hye-Shik Chang <perky@python.or.kr>
-#
-# $FreeBSD$
-
-PORTNAME= gdchart
-PORTVERSION= 0.6.1
-PORTREVISION= 6
-CATEGORIES= graphics python
-MASTER_SITES= http://www.nullcube.com/software/pygdchart/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= pygdchart-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Python interface to GDChart
-
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
-
-LIB_DEPENDS= gdc.1:${PORTSDIR}/graphics/gdchart
-
-CONFLICTS= ${PYTHON_PKGNAMEPREFIX}gdchart-2.*
-
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-EXAMPLE_FILES= test.html test.py
-EXAMPLE_DIR= ${PREFIX}/share/examples/py-gdchart
-
-post-extract:
- ${SED} -e 's,%%PORTVERSION%%,${PORTVERSION},g' \
- -e 's,%%GD_INCLUDE%%,${LOCALBASE}/include/gd,g' \
- -e 's,%%GDCHART_INCLUDE%%,${LOCALBASE}/include,g' \
- -e 's,%%LOCALLIB%%,${LOCALBASE}/lib,g' \
- ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLE_DIR}
-.for file in ${EXAMPLE_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLE_DIR}
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/graphics/py-gdchart/distinfo b/graphics/py-gdchart/distinfo
deleted file mode 100644
index 97d81a2610ac..000000000000
--- a/graphics/py-gdchart/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pygdchart-0.6.1.tar.gz) = 0261ff87360ff1b001d0336f3089477d
-SHA256 (pygdchart-0.6.1.tar.gz) = 5c4551350d2ef783bfb095e57a2de13ff6d49a28635443b615762a797a32e380
-SIZE (pygdchart-0.6.1.tar.gz) = 321434
diff --git a/graphics/py-gdchart/files/patch-gdc_py.c b/graphics/py-gdchart/files/patch-gdc_py.c
deleted file mode 100644
index 40b1bb0f34d5..000000000000
--- a/graphics/py-gdchart/files/patch-gdc_py.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- gdc_py.c.orig Mon Feb 25 19:36:07 2002
-+++ gdc_py.c Sat Aug 14 14:16:15 2004
-@@ -26,6 +26,9 @@
- #include <stdio.h>
- #include <string.h>
- #include <assert.h>
-+#include <limits.h>
-+#define MAXSHORT SHRT_MAX
-+#define HAVE_JPEG 1
-
- #include "Python.h"
- #include "cStringIO.h"
-@@ -1327,8 +1330,6 @@
- }
- break;
- }
--
-- default:
-
- } // switch
- opt++;
diff --git a/graphics/py-gdchart/files/setup.py b/graphics/py-gdchart/files/setup.py
deleted file mode 100644
index c3f63914c26c..000000000000
--- a/graphics/py-gdchart/files/setup.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from distutils.core import setup, Extension
-
-setup(
- name = 'gdchart',
- version = "%%PORTVERSION%%",
- py_modules = ["chart"],
- ext_modules = [
- Extension("gdchart", ["gdc_py.c"],
- include_dirs=["%%GD_INCLUDE%%", "%%GDCHART_INCLUDE%%"],
- libraries=["gdc", "gd", "png", "z", "jpeg"],
- library_dirs=["%%LOCALLIB%%"]
- )
- ]
-)
diff --git a/graphics/py-gdchart/pkg-descr b/graphics/py-gdchart/pkg-descr
deleted file mode 100644
index 54e50ad6abde..000000000000
--- a/graphics/py-gdchart/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-This is a simple python interface to gdchart which is
-excellent for creating charts and graphs in PNG, JPEG,
-and GIF format.
-
-WWW: http://www.nullcube.com/software/pygdchart.html
diff --git a/graphics/py-gdchart/pkg-plist b/graphics/py-gdchart/pkg-plist
deleted file mode 100644
index 5823a1db6619..000000000000
--- a/graphics/py-gdchart/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-%%PYTHON_SITELIBDIR%%/chart.py
-%%PYTHON_SITELIBDIR%%/chart.pyc
-%%PYTHON_SITELIBDIR%%/chart.pyo
-%%PYTHON_SITELIBDIR%%/gdchart.so
-%%PORTDOCS%%share/examples/py-gdchart/test.html
-%%PORTDOCS%%share/examples/py-gdchart/test.py
-%%PORTDOCS%%@dirrm share/examples/py-gdchart