ports/59877: graphics/xd3d: upgrading to 8.1.0.
Thierry Thomas
thierry at pompo.net
Mon Dec 1 20:30:27 UTC 2003
>Number: 59877
>Category: ports
>Synopsis: graphics/xd3d: upgrading to 8.1.0.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 01 12:30:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD ws90bj.pompo.net 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Tue Oct 14 23:06:50 CEST 2003 root at ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-031014 i386
>Description:
- upgrade xd3d to its latest version;
- fix a bug with $LANG.
>How-To-Repeat:
N/A.
>Fix:
Please apply the following patch.
Remark: the files directory must be removed.
--- xd3d.diff begins here ---
diff -urN graphics/xd3d.orig/Makefile graphics/xd3d/Makefile
--- graphics/xd3d.orig/Makefile Mon Oct 6 18:46:07 2003
+++ graphics/xd3d/Makefile Mon Dec 1 19:30:03 2003
@@ -6,7 +6,7 @@
#
PORTNAME= xd3d
-PORTVERSION= 8.0.3
+PORTVERSION= 8.1.0
CATEGORIES= graphics math
MASTER_SITES= http://www.cmap.polytechnique.fr/~jouve/xd3d/
@@ -45,7 +45,7 @@
FFLAGS?= -O
MEMORY_XD3D?= 64
-.if defined(LANG) && ${LANG:M${fr}*} != ""
+.if defined(LANG) && ${LANG:Mfr*} != ""
XD3D_LANG= FRANCAIS
.else
XD3D_LANG= ENGLISH
@@ -63,7 +63,7 @@
.endif
post-patch:
- @${CP} ${FILESDIR}/RULES.FreeBSD ${WRKSRC}/RULES
+ @${CP} ${WRKSRC}/RULES.freeBSD ${WRKSRC}/RULES
@${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" \
-e "s|%%PREFIX%%|${PREFIX}|" \
-e "s|%%X11BASE%%|${X11BASE}|" \
diff -urN graphics/xd3d.orig/distinfo graphics/xd3d/distinfo
--- graphics/xd3d.orig/distinfo Mon Oct 6 18:46:07 2003
+++ graphics/xd3d/distinfo Mon Dec 1 19:18:17 2003
@@ -1 +1 @@
-MD5 (xd3d-8.0.3.tar.gz) = 88cf3c67afd4adc2c7d485db469846ac
+MD5 (xd3d-8.1.0.tar.gz) = 23ed0a540a4b5be2781083d627ef7cd1
diff -urN graphics/xd3d.orig/files/RULES.FreeBSD graphics/xd3d/files/RULES.FreeBSD
--- graphics/xd3d.orig/files/RULES.FreeBSD Thu Sep 18 23:30:55 2003
+++ graphics/xd3d/files/RULES.FreeBSD Thu Jan 1 01:00:00 1970
@@ -1,81 +0,0 @@
-#--------------------------------------------------------
-# Configuration file for the Makefiles of xd3d |
-# François Jouve 2003 (Francois.Jouve at Polytechnique.fr) |
-#--------------------------------------------------------
-
-#
-# Modifiable parameters
-#
-
-#
-# Root directory of the distribution
-#
-#XD3D_DIR = $(HOME)/xd3d-8.0.2
-XD3D_DIR = %%WRKSRC%%
-
-#
-# Install directory
-#
-#INSTALL_DIR = /usr/local/bin
-INSTALL_DIR = %%PREFIX%%/bin
-
-#
-# Location of the X11 lib (libX11.a)
-#
-#LIBX11 = /usr/X11R6/lib
-LIBX11 = %%X11BASE%%/lib
-
-#
-# Language parameter
-#
-#LANGUAGE = FRANCAIS
-#LANGUAGE = ENGLISH
-LANGUAGE = %%LANG%%
-
-#
-# Max memory for xd3d (MBytes)
-#
-#MEMORY_XD3D = 64
-MEMORY_XD3D = %%MEMORY_XD3D%%
-
-#
-# Fortran compiler
-#
-COMPILF = %%F77%%
-
-#
-# C compiler
-#
-COMPILC = %%CC%%
-RANLIB = ranlib
-AR = ar r
-STRIP = strip $@
-
-#
-# Options for the Fortran compiler
-#
-OPTF = %%FFLAGS%% -malign-double
-#
-# Options for the C compiler
-#
-OPTC = %%CFLAGS%% -malign-double
-
-#-----------------------------------------------
-# You should not need to change anything below !
-#-----------------------------------------------
-
-SRCDIR = $(XD3D_DIR)/src
-BINDIR = $(XD3D_DIR)/bin
-LIBDIR = $(XD3D_DIR)/lib
-INCF = -I$(XD3D_DIR)/src/include
-INCC = -I$(LIBX11)/../include
-
-LINK = $(COMPILF) $(OPTF) -o
-LINKOPT = -lc -lm
-LINKOPTX = -L$(LIBX11) -lX11 -lXpm -lc -lm
-LIBRAIRIE = $(LIBDIR)/question_lib.a
-MYXLIB = $(LIBDIR)/my_Xlib.a
-INTERP = $(LIBDIR)/interp.a
-
-.f.o: ; $(COMPILF) $(INCF) $(OPTF) -c $*.f
-.c.o: ; $(COMPILC) $(INCC) $(OPTC) -D$(LANGUAGE) -c $*.c
diff -urN graphics/xd3d.orig/pkg-plist graphics/xd3d/pkg-plist
--- graphics/xd3d.orig/pkg-plist Mon Oct 6 18:46:07 2003
+++ graphics/xd3d/pkg-plist Mon Dec 1 19:45:37 2003
@@ -39,7 +39,12 @@
%%PORTDOCS%%%%EXAMPLESDIR%%/example_cartesian.c3d
%%PORTDOCS%%%%EXAMPLESDIR%%/example_cyl.c3d
%%PORTDOCS%%%%EXAMPLESDIR%%/example_sph.c3d
+%%PORTDOCS%%%%EXAMPLESDIR%%/home.pgm
+%%PORTDOCS%%%%EXAMPLESDIR%%/mesh3.am
+%%PORTDOCS%%%%EXAMPLESDIR%%/mesh3.am_fmt
+%%PORTDOCS%%%%EXAMPLESDIR%%/mesh3.amdba
%%PORTDOCS%%%%EXAMPLESDIR%%/mesh3.avoir2D
+%%PORTDOCS%%%%EXAMPLESDIR%%/mesh3.msh
%%PORTDOCS%%%%EXAMPLESDIR%%/mesh3.nopo
%%PORTDOCS%%%%EXAMPLESDIR%%/quadsd.avoir2D
%%PORTDOCS%%%%EXAMPLESDIR%%/quadsd.depl
@@ -59,6 +64,7 @@
%%PORTDOCS%%%%EXAMPLESDIR%%/tower_006.mode
%%PORTDOCS%%%%EXAMPLESDIR%%/tower_007.mode
%%PORTDOCS%%%%EXAMPLESDIR%%/tower_008.mode
+%%PORTDOCS%%%%EXAMPLESDIR%%/tower.facext
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/Xgraphic
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
--- xd3d.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list