mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to version 8.1.3
* Fix the bug with $LANG PR: 59877 Submitted by: maintainer
This commit is contained in:
parent
ae4f8c3a11
commit
d3dae7dbe7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95115
@ -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 @@ F77?= f77
|
||||
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 @@ do-fetch:
|
||||
.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}|" \
|
||||
|
@ -1 +1 @@
|
||||
MD5 (xd3d-8.0.3.tar.gz) = 88cf3c67afd4adc2c7d485db469846ac
|
||||
MD5 (xd3d-8.1.0.tar.gz) = 23ed0a540a4b5be2781083d627ef7cd1
|
||||
|
@ -1,81 +0,0 @@
|
||||
#--------------------------------------------------------
|
||||
# Configuration file for the Makefiles of xd3d |
|
||||
# François Jouve 2003 (Francois.Jouve@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
|
@ -39,7 +39,12 @@ bin/xgraphic
|
||||
%%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 @@ bin/xgraphic
|
||||
%%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%%
|
||||
|
Loading…
Reference in New Issue
Block a user