diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-07-19 05:34:45 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-07-19 05:34:45 +0000 |
commit | 001d1e7f240c5cf01b76665774ec78749da1f801 (patch) | |
tree | ed7563df54aa9561d5314acc278d046d9c0c4433 /converters | |
parent | 867a7eec5ac5a685aca3fb1271e654f055ab2bd6 (diff) | |
download | ports-001d1e7f240c5cf01b76665774ec78749da1f801.tar.gz ports-001d1e7f240c5cf01b76665774ec78749da1f801.zip |
Notes
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/vda2fbd/Makefile | 26 | ||||
-rw-r--r-- | converters/vda2fbd/Makefile~ | 26 | ||||
-rw-r--r-- | converters/vda2fbd/distinfo | 1 | ||||
-rw-r--r-- | converters/vda2fbd/files/patch-Makefile | 23 | ||||
-rw-r--r-- | converters/vda2fbd/files/patch-vda2fbd-0.9 | 68 | ||||
-rw-r--r-- | converters/vda2fbd/pkg-descr | 5 | ||||
-rw-r--r-- | converters/vda2fbd/pkg-plist | 2 |
8 files changed, 152 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 11ce8ff435d3..4b49eea85bd5 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -63,6 +63,7 @@ SUBDIR += uudeview SUBDIR += uudx SUBDIR += uulib + SUBDIR += vda2fbd SUBDIR += xdeview SUBDIR += xunicode diff --git a/converters/vda2fbd/Makefile b/converters/vda2fbd/Makefile new file mode 100644 index 000000000000..a347b9640588 --- /dev/null +++ b/converters/vda2fbd/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: vda2fbd +# Date created: 19 April 2003 +# Whom: Pedro Giffuni <giffunip@asme.org> +# +# $FreeBSD$ +# + +PORTNAME= vda2fbd +PORTVERSION= 0.9 +CATEGORIES= converters cad +MASTER_SITES= http://www.dhondt.de/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= An add-on converter for CalculiX + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/*.ps \ + ${DOCSDIR} + ${GZIP_CMD} ${DOCSDIR}/*.ps +.endif + +.include <bsd.port.mk> diff --git a/converters/vda2fbd/Makefile~ b/converters/vda2fbd/Makefile~ new file mode 100644 index 000000000000..8c6a7d4fd72a --- /dev/null +++ b/converters/vda2fbd/Makefile~ @@ -0,0 +1,26 @@ +# New ports collection makefile for: vda2fbd +# Date created: 19 April 2003 +# Whom: Pedro Giffuni <giffunip@asme.org> +# +# $FreeBSD: /tmp/pcvs/ports/converters/vda2fbd/Attic/Makefile~,v 1.1 2003-07-19 05:34:45 maho Exp $ +# + +PORTNAME= vda2fbd +PORTVERSION= 0.9 +CATEGORIES= converters cad +MASTER_SITES= http://www.dhondt.de/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= An add-on converter for CalculiX + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/*.ps \ + ${DOCSDIR} + ${GZIP_CMD} ${DOCSDIR}/*.ps +.endif + +.include <bsd.port.mk> diff --git a/converters/vda2fbd/distinfo b/converters/vda2fbd/distinfo new file mode 100644 index 000000000000..1984d99ed6e2 --- /dev/null +++ b/converters/vda2fbd/distinfo @@ -0,0 +1 @@ +MD5 (vda2fbd-0.9.tar.gz) = 617d026c00b251a9c5576ccf79f2c798 diff --git a/converters/vda2fbd/files/patch-Makefile b/converters/vda2fbd/files/patch-Makefile new file mode 100644 index 000000000000..73c0ac405bc0 --- /dev/null +++ b/converters/vda2fbd/files/patch-Makefile @@ -0,0 +1,23 @@ +--- Makefile.orig Thu Sep 5 09:14:22 2002 ++++ Makefile Thu May 15 16:38:06 2003 +@@ -1,15 +1,15 @@ +-INST=/usr/local ++INST=$(PREFIX) + + TARGET=vda2fbd + +-CC = gcc +-YACC = bison -b y +-#YACC = yacc ++CC ?= gcc ++#YACC = bison -b y ++YACC = yacc + + LEX = flex + + YFLAGS = -d +-CFLAGS = -g -O2 # -ansi -Wall ++CFLAGS += -g -O2 # -ansi -Wall + LDFLAGS = -lm + + LEX_OBJS = y.tab.o lex.yy.o diff --git a/converters/vda2fbd/files/patch-vda2fbd-0.9 b/converters/vda2fbd/files/patch-vda2fbd-0.9 new file mode 100644 index 000000000000..3546174604ce --- /dev/null +++ b/converters/vda2fbd/files/patch-vda2fbd-0.9 @@ -0,0 +1,68 @@ +This patch was submitted to the CalculiX mailing list so hopefully we will +not have to include it in future versions of the software. -- pfg 2003 +--- enqu_fbd.c.orig Mon May 5 20:21:49 2003 ++++ enqu_fbd.c Mon May 5 20:22:08 2003 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <malloc.h> ++#include <stdlib.h> + #include <stdio.h> + #include "fbd.h" + +--- enqu_vda.c.orig Mon May 5 20:18:15 2003 ++++ enqu_vda.c Mon May 5 20:19:05 2003 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <malloc.h> ++#include <stdlib.h> + #include <stdio.h> + #include "vda.h" + +--- fbd_main.c.orig Mon May 5 20:19:35 2003 ++++ fbd_main.c Mon May 5 20:20:00 2003 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <malloc.h> ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> + #include "vda.h" +--- init_vda.c.orig Mon May 5 20:17:32 2003 ++++ init_vda.c Mon May 5 20:17:50 2003 +@@ -19,7 +19,7 @@ + + #include <stdio.h> + #include <string.h> +-#include <malloc.h> ++#include <stdlib.h> + #include "vda.h" + + extern int max_u_order, max_v_order; +--- vda.y.orig Mon May 5 20:13:57 2003 ++++ vda.y Mon May 5 20:14:20 2003 +@@ -20,7 +20,7 @@ + %{ + #include <stdio.h> + #include <string.h> +-#include <malloc.h> ++#include <stdlib.h> + #include "vda.h" + #include "vda_util.h" + +--- vda2fbd.c.orig Mon May 5 20:20:34 2003 ++++ vda2fbd.c Mon May 5 20:20:57 2003 +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <malloc.h> ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> + #include <math.h> diff --git a/converters/vda2fbd/pkg-descr b/converters/vda2fbd/pkg-descr new file mode 100644 index 000000000000..a8832ea4efba --- /dev/null +++ b/converters/vda2fbd/pkg-descr @@ -0,0 +1,5 @@ +This is a converter from VDA/FS format to fbd format. + +Usage: + +vda2fbd vdainputfile > fbdoutputfile diff --git a/converters/vda2fbd/pkg-plist b/converters/vda2fbd/pkg-plist new file mode 100644 index 000000000000..ca7c1c031c0b --- /dev/null +++ b/converters/vda2fbd/pkg-plist @@ -0,0 +1,2 @@ +bin/vda2fbd +%%PORTDOCS%%%%DOCSDIR%%/model.ps.gz |