ports/72524: Update port: converters/vda2fpd to 1.0

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 11 17:10:29 UTC 2004


>Number:         72524
>Category:       ports
>Synopsis:       Update port: converters/vda2fpd to 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 11 17:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0

Remove file:
files/patch-Makefile
files/patch-vda2fbd-0.9
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/converters/vda2fbd/Makefile converters/vda2fbd/Makefile
--- /usr/ports/converters/vda2fbd/Makefile	Sat Jul 19 14:34:45 2003
+++ converters/vda2fbd/Makefile	Tue Oct 12 01:37:12 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	vda2fbd
-PORTVERSION=	0.9
+PORTVERSION=	1.0
 CATEGORIES=	converters cad
 MASTER_SITES=	http://www.dhondt.de/
 
@@ -15,12 +15,19 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" YACC="${YACC}"
+
+PORTDOCS=	model.ps.gz
+PLIST_FILES=	bin/vda2fbd
+
+post-build:
+	cd ${WRKSRC}/../doc && ${GZIP_CMD} -c model.ps > model.ps.gz
+
 post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/vda2fbd ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/*.ps \
-	  ${DOCSDIR}
-	${GZIP_CMD} ${DOCSDIR}/*.ps
+	${INSTALL_DATA} ${WRKSRC}/../doc/model.ps.gz ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/converters/vda2fbd/distinfo converters/vda2fbd/distinfo
--- /usr/ports/converters/vda2fbd/distinfo	Thu Jan 29 20:20:41 2004
+++ converters/vda2fbd/distinfo	Tue Oct 12 01:30:25 2004
@@ -1,2 +1,2 @@
-MD5 (vda2fbd-0.9.tar.gz) = 617d026c00b251a9c5576ccf79f2c798
-SIZE (vda2fbd-0.9.tar.gz) = 62545
+MD5 (vda2fbd-1.0.tar.gz) = 111eba2c3b950a8907438d3058659726
+SIZE (vda2fbd-1.0.tar.gz) = 40433
diff -urN /usr/ports/converters/vda2fbd/files/patch-Makefile converters/vda2fbd/files/patch-Makefile
--- /usr/ports/converters/vda2fbd/files/patch-Makefile	Sat Jul 19 14:34:45 2003
+++ converters/vda2fbd/files/patch-Makefile	Thu Jan  1 09:00:00 1970
@@ -1,23 +0,0 @@
---- 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 -urN /usr/ports/converters/vda2fbd/files/patch-vda2fbd-0.9 converters/vda2fbd/files/patch-vda2fbd-0.9
--- /usr/ports/converters/vda2fbd/files/patch-vda2fbd-0.9	Sat Jul 19 14:34:45 2003
+++ converters/vda2fbd/files/patch-vda2fbd-0.9	Thu Jan  1 09:00:00 1970
@@ -1,68 +0,0 @@
-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 -urN /usr/ports/converters/vda2fbd/pkg-plist converters/vda2fbd/pkg-plist
--- /usr/ports/converters/vda2fbd/pkg-plist	Tue Apr 13 14:11:15 2004
+++ converters/vda2fbd/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,3 +0,0 @@
-bin/vda2fbd
-%%PORTDOCS%%%%DOCSDIR%%/model.ps.gz
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list