mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 0.1.6.
This commit is contained in:
parent
c03df2a8c8
commit
7ed7680c12
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48478
8 changed files with 111 additions and 64 deletions
|
@ -6,10 +6,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= vertex
|
PORTNAME= vertex
|
||||||
PORTVERSION= 0.0.1d
|
PORTVERSION= 0.1.6
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://wolfpack.twu.net/users/wolfpack/
|
MASTER_SITES= ftp://wolfpack.twu.net/users/wolfpack/
|
||||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
||||||
|
|
||||||
MAINTAINER= sobomax@FreeBSD.org
|
MAINTAINER= sobomax@FreeBSD.org
|
||||||
|
|
||||||
|
@ -19,11 +18,16 @@ LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/vertex
|
WRKSRC= ${WRKDIR}/${DISTNAME}/vertex
|
||||||
|
|
||||||
|
IMLIB_CONFIG?= ${X11BASE}/bin/imlib-config
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_MESA= yes
|
USE_MESA= yes
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||||
MAKEFILE= Makefile.Linux
|
IMLIB_CONFIG="${IMLIB_CONFIG}"
|
||||||
|
INSTALL_TARGET= vertex_install
|
||||||
|
|
||||||
|
MAN1= ${PORTNAME}.1
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (vertex0.0.1d.tar.bz2) = 3381347a13d4588f6e861fc4e6831fcc
|
MD5 (vertex-0.1.6.tar.bz2) = 7a73c9f0ed02d41ee84b1a0d5ea253e7
|
||||||
|
|
30
graphics/vertex/files/patch-Makefile
Normal file
30
graphics/vertex/files/patch-Makefile
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
|
||||||
|
--- Makefile.orig Fri Oct 5 20:20:24 2001
|
||||||
|
+++ Makefile Fri Oct 5 20:34:15 2001
|
||||||
|
@@ -0,0 +1,24 @@
|
||||||
|
+PREFIX?= /usr/X11R6
|
||||||
|
+X11BASE?= /usr/X11R6
|
||||||
|
+BIN= vertex
|
||||||
|
+
|
||||||
|
+GTK_CONFIG?= gtk12-config
|
||||||
|
+IMLIB_CONFIG?= imlib-config
|
||||||
|
+
|
||||||
|
+GTK_CFLAGS!= ${GTK_CONFIG} --cflags
|
||||||
|
+GTK_LIBS!= ${GTK_CONFIG} --libs
|
||||||
|
+IMLIB_CFLAGS!= ${IMLIB_CONFIG} --cflags
|
||||||
|
+IMLIB_LIBS!= ${IMLIB_CONFIG} --libs
|
||||||
|
+PTHREAD_LIBS?= -pthread
|
||||||
|
+
|
||||||
|
+PROG= ${BIN}
|
||||||
|
+SRCS!= ${MAKE} -f ${.CURDIR}/Makefile.srclist srclist
|
||||||
|
+CFLAGS+= -DHAVE_IMLIB ${GTK_CFLAGS} ${IMLIB_CFLAGS} -DPREFIX=\"${PREFIX}\" \
|
||||||
|
+ -DX11BASE=\"${X11BASE}\"
|
||||||
|
+CXXFLAGS= ${CFLAGS}
|
||||||
|
+LDADD+= ${GTK_LIBS} ${IMLIB_LIBS} -lGLU -lGL $(PTHREAD_LIBS) -lgtkgl \
|
||||||
|
+ -lz
|
||||||
|
+MAN1=
|
||||||
|
+
|
||||||
|
+.include <bsd.prog.mk>
|
||||||
|
+.include "Makefile.install.UNIX"
|
|
@ -1,52 +0,0 @@
|
||||||
|
|
||||||
$FreeBSD$
|
|
||||||
|
|
||||||
--- Makefile.Linux.orig Thu May 17 11:28:46 2001
|
|
||||||
+++ Makefile.Linux Mon Jun 11 15:44:54 2001
|
|
||||||
@@ -18,7 +18,7 @@
|
|
||||||
# You may modify any value as needed. Change only the ones you are
|
|
||||||
# absolutly sure that requires modification.
|
|
||||||
#
|
|
||||||
-PREFIX = /usr
|
|
||||||
+PREFIX ?= /usr
|
|
||||||
|
|
||||||
|
|
||||||
# ########################################################################
|
|
||||||
@@ -70,7 +70,9 @@
|
|
||||||
# to debug the program.
|
|
||||||
#
|
|
||||||
|
|
||||||
-CFLAGS = -DHAVE_IMLIB `gtk-config --cflags` -O -g -Wall
|
|
||||||
+GTK_CFLAGS != $(GTK_CONFIG) --cflags
|
|
||||||
+CFLAGS += -DHAVE_IMLIB -DHAVE_GTKGLAREA -DUSE_XSHM $(GTK_CFLAGS) -Wall \
|
|
||||||
+ -DPREFIX=\"${PREFIX}\"
|
|
||||||
|
|
||||||
CPPFLAGS = -D__cplusplus -Dc_plusplus
|
|
||||||
|
|
||||||
@@ -86,10 +88,12 @@
|
|
||||||
# to the LIB line depending on what you have set in the CFLAGS line
|
|
||||||
# farther above.
|
|
||||||
#
|
|
||||||
+GTK_LIBS != $(GTK_CONFIG) --libs
|
|
||||||
+IMLIB_LIBS != $(X11BASE)/bin/imlib-config --libs
|
|
||||||
LIB = -lm \
|
|
||||||
- -lImlib -lpng -ltiff -lgif -ljpeg \
|
|
||||||
- `gtk-config --libs` \
|
|
||||||
- -lGLU -lGL \
|
|
||||||
+ $(IMLIB_LIBS) \
|
|
||||||
+ $(GTK_LIBS) \
|
|
||||||
+ -lGLU -lGL $(PTHREAD_LIBS) \
|
|
||||||
-lgtkgl \
|
|
||||||
-lz
|
|
||||||
|
|
||||||
@@ -121,8 +125,8 @@
|
|
||||||
#
|
|
||||||
include Makefile.srclist
|
|
||||||
|
|
||||||
-CC = gcc
|
|
||||||
-CPP = g++
|
|
||||||
+CC ?= gcc
|
|
||||||
+CPP = $(CXX)
|
|
||||||
BIN = vertex
|
|
||||||
OBJ_C = $(SRC_C:.c=.o)
|
|
||||||
OBJ_CPP = $(SRC_CPP:.cpp=.o)
|
|
|
@ -1,27 +1,31 @@
|
||||||
|
|
||||||
$FreeBSD$
|
$FreeBSD$
|
||||||
|
|
||||||
--- Makefile.install.UNIX 2001/06/01 17:28:56 1.1
|
--- Makefile.install.UNIX.orig Fri Sep 14 01:36:54 2001
|
||||||
+++ Makefile.install.UNIX 2001/06/01 17:32:30
|
+++ Makefile.install.UNIX Fri Oct 5 20:44:38 2001
|
||||||
@@ -28,17 +28,19 @@
|
@@ -29,19 +29,21 @@
|
||||||
|
|
||||||
BIN_DIR = $(PREFIX)/bin
|
BIN_DIR = $(PREFIX)/bin
|
||||||
|
MAN_DIR = $(PREFIX)/man/man1
|
||||||
DATA_DIR = $(PREFIX)/share/$(BIN)
|
DATA_DIR = $(PREFIX)/share/$(BIN)
|
||||||
-ICONS_DIR = $(PREFIX)/share/icons
|
-ICONS_DIR = $(PREFIX)/share/icons
|
||||||
+ICONS_DIR = $(PREFIX)/share/$(BIN)/icons
|
+ICONS_DIR = $(PREFIX)/share/$(BIN)/icons
|
||||||
|
|
||||||
HR = "-------------------------------------------------------------------------"
|
HR = "-------------------------------------------------------------------------"
|
||||||
|
|
||||||
install:
|
-install:
|
||||||
|
+vertex_install:
|
||||||
$(MKDIR) $(MKDIRFLAGS) $(BIN_DIR)
|
$(MKDIR) $(MKDIRFLAGS) $(BIN_DIR)
|
||||||
- $(INSTALL) $(INSTBINFLAGS) $(BIN) $(BIN_DIR)
|
- $(INSTALL) $(INSTBINFLAGS) $(BIN) $(BIN_DIR)
|
||||||
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(BIN_DIR)
|
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(BIN_DIR)
|
||||||
|
$(MKDIR) $(MKDIRFLAGS) $(MAN_DIR)
|
||||||
|
- $(INSTALL) $(INSTMANFLAGS) $(BIN).1 $(MAN_DIR)
|
||||||
|
+ $(BSD_INSTALL_MAN) $(BIN).1 $(MAN_DIR)
|
||||||
$(MKDIR) $(MKDIRFLAGS) $(ICONS_DIR)
|
$(MKDIR) $(MKDIRFLAGS) $(ICONS_DIR)
|
||||||
- $(INSTALL) $(INSTDATFLAGS) $(BIN).xpm $(ICONS_DIR)
|
- $(INSTALL) $(INSTDATFLAGS) $(BIN).xpm $(ICONS_DIR)
|
||||||
- $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)
|
- $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)
|
||||||
- $(COPY) -r data/* $(DATA_DIR)
|
- $(COPY) -r data/* $(DATA_DIR)
|
||||||
+ $(BSD_INSTALL_DATA) $(BIN).xpm $(ICONS_DIR)
|
+ $(BSD_INSTALL_DATA) $(BIN).xpm $(ICONS_DIR)
|
||||||
+.for subd in help preset_models preset_primitives
|
+.for subd in images help preset_models preset_primitives
|
||||||
+ $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/$(subd)
|
+ $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/$(subd)
|
||||||
+ $(BSD_INSTALL_DATA) data/$(subd)/* $(DATA_DIR)/$(subd)
|
+ $(BSD_INSTALL_DATA) data/$(subd)/* $(DATA_DIR)/$(subd)
|
||||||
+.endfor
|
+.endfor
|
||||||
|
|
12
graphics/vertex/files/patch-Makefile.srclist
Normal file
12
graphics/vertex/files/patch-Makefile.srclist
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
|
||||||
|
--- Makefile.srclist.orig Fri Sep 14 01:36:54 2001
|
||||||
|
+++ Makefile.srclist Fri Oct 5 20:14:43 2001
|
||||||
|
@@ -34,3 +34,6 @@
|
||||||
|
vpiinternal.c vpiinternalfio.c
|
||||||
|
SRC_CPP = disk.cpp fio.cpp prochandle.cpp strexp.cpp string.cpp tga.cpp \
|
||||||
|
tgadither.cpp
|
||||||
|
+
|
||||||
|
+srclist:
|
||||||
|
+ @echo ${HDR} ${SRC_C} ${SRC_CPP}
|
26
graphics/vertex/files/patch-vmahelp.c
Normal file
26
graphics/vertex/files/patch-vmahelp.c
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
|
||||||
|
--- vmahelp.c 2001/10/05 17:31:12 1.1
|
||||||
|
+++ vmahelp.c 2001/10/05 17:33:21
|
||||||
|
@@ -41,16 +41,12 @@
|
||||||
|
*/
|
||||||
|
#define HELP_PROG_LOCATIONS \
|
||||||
|
{ \
|
||||||
|
- "/usr/bin/gnome-help-browser", "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
- "/usr/local/bin/gnome-help-browser", "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
- "/bin/gnome-help-browser", "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
+ (X11BASE "/bin/gnome-help-browser"), "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
\
|
||||||
|
- "/usr/bin/netscape", "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
- "/usr/local/bin/netscape", "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
- "/bin/netscape", "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
+ (X11BASE "/bin/netscape"), "", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
\
|
||||||
|
- "/usr/X11R6/bin/nxterm", "-e lynx", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
- "/usr/X11R6/bin/xterm", "-e lynx", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
+ (X11BASE "/bin/nxterm"), "-e lynx", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
+ (X11BASE "/bin/xterm"), "-e lynx", (char *)HELP_PROG_INPUT_TYPE_URL, \
|
||||||
|
\
|
||||||
|
NULL, NULL, NULL \
|
||||||
|
}
|
|
@ -1,16 +1,39 @@
|
||||||
bin/vertex
|
bin/vertex
|
||||||
|
share/vertex/help/application_map.png
|
||||||
share/vertex/help/contacts.html
|
share/vertex/help/contacts.html
|
||||||
|
share/vertex/help/create_model_dialog.png
|
||||||
|
share/vertex/help/four_quad_cylender.png
|
||||||
|
share/vertex/help/header_dialog.png
|
||||||
share/vertex/help/index.html
|
share/vertex/help/index.html
|
||||||
share/vertex/help/keyboard.html
|
share/vertex/help/keyboard.html
|
||||||
share/vertex/help/tutorial.html
|
share/vertex/help/legend.html
|
||||||
|
share/vertex/help/light_properties_dialog.png
|
||||||
|
share/vertex/help/plugins.html
|
||||||
|
share/vertex/help/primitives_palette.png
|
||||||
|
share/vertex/help/texture_orient_example.png
|
||||||
|
share/vertex/help/tutorial01.html
|
||||||
|
share/vertex/help/tutorial02.html
|
||||||
|
share/vertex/help/tutorial03.html
|
||||||
|
share/vertex/help/tutorial04.html
|
||||||
|
share/vertex/help/tutorial05.html
|
||||||
|
share/vertex/help/tutorial06.html
|
||||||
|
share/vertex/help/tutorial07.html
|
||||||
|
share/vertex/help/tutorial08.html
|
||||||
|
share/vertex/help/tutorials.html
|
||||||
share/vertex/help/v3dformat.html
|
share/vertex/help/v3dformat.html
|
||||||
|
share/vertex/help/values_list.png
|
||||||
share/vertex/help/viewing.html
|
share/vertex/help/viewing.html
|
||||||
share/vertex/icons/vertex.xpm
|
share/vertex/icons/vertex.xpm
|
||||||
|
share/vertex/images/installer_footer.xpm
|
||||||
|
share/vertex/images/installer_heading.xpm
|
||||||
|
share/vertex/images/installer_main.xpm
|
||||||
|
share/vertex/images/splash.xpm
|
||||||
share/vertex/preset_models/01.3d
|
share/vertex/preset_models/01.3d
|
||||||
share/vertex/preset_models/02.3d
|
share/vertex/preset_models/02.3d
|
||||||
share/vertex/preset_primitives/01.3d
|
share/vertex/preset_primitives/01.3d
|
||||||
@dirrm share/vertex/preset_primitives
|
@dirrm share/vertex/preset_primitives
|
||||||
@dirrm share/vertex/preset_models
|
@dirrm share/vertex/preset_models
|
||||||
|
@dirrm share/vertex/images
|
||||||
@dirrm share/vertex/icons
|
@dirrm share/vertex/icons
|
||||||
@dirrm share/vertex/help
|
@dirrm share/vertex/help
|
||||||
@dirrm share/vertex
|
@dirrm share/vertex
|
||||||
|
|
Loading…
Add table
Reference in a new issue