diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2005-10-22 08:21:16 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2005-10-22 08:21:16 +0000 |
commit | 011e462a1425651d1c17d0ca702ce5ef7c733ac3 (patch) | |
tree | d6ffa06a7f24a4fe23cd55f4d93755573fe3e48c /x11/gpctool | |
parent | 024cb10eec4f904ec8ca53e55d53edbce1d11ecd (diff) | |
download | ports-011e462a1425651d1c17d0ca702ce5ef7c733ac3.tar.gz ports-011e462a1425651d1c17d0ca702ce5ef7c733ac3.zip |
Notes
Diffstat (limited to 'x11/gpctool')
-rw-r--r-- | x11/gpctool/Makefile | 31 | ||||
-rw-r--r-- | x11/gpctool/distinfo | 2 | ||||
-rw-r--r-- | x11/gpctool/files/BSDmakefile | 14 | ||||
-rw-r--r-- | x11/gpctool/files/patch-includes | 44 | ||||
-rw-r--r-- | x11/gpctool/pkg-descr | 19 |
5 files changed, 110 insertions, 0 deletions
diff --git a/x11/gpctool/Makefile b/x11/gpctool/Makefile new file mode 100644 index 000000000000..4af4a6724319 --- /dev/null +++ b/x11/gpctool/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: gpc +# Date created: 22 October 2005 +# Whom: Mikhail Teterin +# +# $FreeBSD$ +# + +PORTNAME= gpctool +PORTVERSION= 1.0.1 +CATEGORIES= x11 math graphics +MASTER_SITES= ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ +DISTNAME= gpct${PORTVERSION:S/.//g} + +MAINTAINER= mi@aldan.algebra.com +COMMENT= Evaluation tool for the Generic Polygon Clipper library + +LIB_DEPENDS= gpc:${PORTSDIR}/devel/gpc \ + formsGL:${PORTSDIR}/x11-toolkits/xforms + +USE_ZIP= yes +USE_GL= yes +PLIST_FILES= bin/gpctool +INSTALLS_SHLIB= yes +NO_CDROM= Can't be used for profit without permission + +MAKEFILE= ${FILESDIR}/BSDmakefile + +EXTRACT_BEFORE_ARGS=-qoa +EXTRACT_AFTER_ARGS=-d ${WRKDIR} -x ${DISTNAME}/gpc.? ${DISTNAME}/gl.c + +.include <bsd.port.mk> diff --git a/x11/gpctool/distinfo b/x11/gpctool/distinfo new file mode 100644 index 000000000000..77ed4655bc07 --- /dev/null +++ b/x11/gpctool/distinfo @@ -0,0 +1,2 @@ +MD5 (gpct101.zip) = ba11a942f5afe25d07221a59e9bbc1bc +SIZE (gpct101.zip) = 38632 diff --git a/x11/gpctool/files/BSDmakefile b/x11/gpctool/files/BSDmakefile new file mode 100644 index 000000000000..42365dfae84f --- /dev/null +++ b/x11/gpctool/files/BSDmakefile @@ -0,0 +1,14 @@ +PROG= gpctool +NO_MAN= Ha-ha! +NOMAN= ${NO_MAN} + +SRCS= gpctool.c main.c callbacks.c graphics.c psdump.c + +BINDIR= ${PREFIX}/bin +WARNS?= 2 +CFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${X11BASE}/lib -lformsGL -lGLU +LDFLAGS+= -L${LOCALBASE}/lib -lgpc -lm + +.include <bsd.prog.mk> diff --git a/x11/gpctool/files/patch-includes b/x11/gpctool/files/patch-includes new file mode 100644 index 000000000000..8935df38be81 --- /dev/null +++ b/x11/gpctool/files/patch-includes @@ -0,0 +1,44 @@ +--- main.c Tue Jul 4 10:28:10 2000 ++++ main.c Sat Oct 22 02:45:08 2005 +@@ -30,6 +30,6 @@ + + +-#include "forms.h" +-#include "gpc.h" ++#include <forms.h> ++#include <gpc.h> + #include "gpctool.h" + #include "appl.h" +@@ -37,4 +37,5 @@ + #include <GL/glu.h> + #include <GL/glx.h> ++#include <glcanvas.h> + + +--- callbacks.c Tue Jul 4 10:28:09 2000 ++++ callbacks.c Sat Oct 22 02:51:38 2005 +@@ -30,7 +30,6 @@ + + +-#include "forms.h" +-#include "gpc.h" +-#include "gpctool.h" ++#include <forms.h> ++#include <stdlib.h> + #include "appl.h" + /* +--- graphics.c Tue Jul 4 10:28:10 2000 ++++ graphics.c Sat Oct 22 02:53:08 2005 +@@ -30,5 +30,5 @@ + + +-#include "gpc.h" ++#include <gpc.h> + #include "appl.h" + #include <float.h> +@@ -37,4 +37,5 @@ + #include <GL/glu.h> + #include <GL/glx.h> ++#include <glcanvas.h> + + #define SHOW_STRIPS FALSE diff --git a/x11/gpctool/pkg-descr b/x11/gpctool/pkg-descr new file mode 100644 index 000000000000..0ffecc4fa9c9 --- /dev/null +++ b/x11/gpctool/pkg-descr @@ -0,0 +1,19 @@ +gpctool - a graphical user interface and development +environment for the gpc generic polygon clipper library. + +Author: Alan Murta (email: gpc@cs.man.ac.uk) + +Copyright: (C) 1997-1999, Advanced Interfaces Group, + University of Manchester. + + This software is free for non-commercial use. It may be copied, + modified, and redistributed provided that this copyright notice + is preserved on all copies. The intellectual property rights of + the algorithms used reside with the University of Manchester + Advanced Interfaces Group. + + You may not use this software, in whole or in part, in support + of any commercial product without the express consent of the + author. + +WWW: http://www.cs.man.ac.uk/~toby/alan/software/ |