1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update to 1.19D

PR:		ports/134479
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
This commit is contained in:
Pav Lucistnik 2009-05-12 11:57:11 +00:00
parent 9611044956
commit d9e8061195
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233768
4 changed files with 10 additions and 111 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= varkon
PORTVERSION= 1.19C
PORTVERSION= 1.19D
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (varkon/Varkon_sources_1.19C.tar.gz) = 5c9c723c62205f2ba2e289db40f4d467
SHA256 (varkon/Varkon_sources_1.19C.tar.gz) = cb50d6ce486bc71c8ce3ec7b752e764fff34fbf5f02fd392abe77f069987797b
SIZE (varkon/Varkon_sources_1.19C.tar.gz) = 3467744
MD5 (varkon/Varkon_sources_1.19D.tar.gz) = 1bbdf0c1b29393aa3bbaaccda43b21bc
SHA256 (varkon/Varkon_sources_1.19D.tar.gz) = f3cdc738bb3a7e532c00d0f03f26a12b13d8e8af2b675ea49822880b8151eaaa
SIZE (varkon/Varkon_sources_1.19D.tar.gz) = 3709407

View File

@ -1,107 +0,0 @@
--- IG/src/varkon.c 2008/02/29 11:24:13 93
+++ IG/src/varkon.c 2008/04/29 06:04:18 100
@@ -205,29 +205,32 @@
/********************************************************/
#ifdef UNIX
- int main(ac,av)
- int ac; /* arg. count */
- char *av[]; /* argument vector */
+ int main(
+ int ac, /* arg. count */
+ char *av[]) /* argument vector */
#endif
#ifdef WIN32
int WINAPI WinMain(
- HINSTANCE inst,
- HINSTANCE prev_instr,
- LPSTR args,
- int wmode)
+ HINSTANCE inst,
+ HINSTANCE prev_instr,
+ LPSTR args,
+ int wmode)
#endif
/* Main program for xvarkon/VARKON.EXE. Inits the
* graphical environment, processes command line
* parameters and inits various sub packages like
* memory allocation, geometry, debug etc. then
- * calls the main loop.
+ * calls the main loop. A logfile is created during
+ * startup and deleted when the system exits.
*
* (C)microform ab 31/10/95 J. Kjellander
*
* 2007-01-05 Major rewrite, J.Kjellander
* 2007-11-18 2.0, J.Kjellander
+ * 2008-04-28 Logfile to VARKON_TMP, J.Kjellander
+ * 2008-04-28 Default jobdir = $HOME, J.Kjellander
*
******************************************************!*/
@@ -255,10 +258,17 @@
exit(-1);
}
/*
-***Open startup_logfile.
+***Open startup_logfile Varkon.LOG. Use VARKON_TMP
+***which should be writable for all users.
*/
- strcpy(lfname,getenv("VARKON_ROOT"));
- strcat(lfname,"/varkon.LOG");
+ if ( getenv("VARKON_TMP") == NULL )
+ {
+ printf("VARKON_TMP is not defined !\n");
+ exit(-1);
+ }
+
+ strncpy(lfname,getenv("VARKON_TMP"),V3PTHLEN);
+ strncat(lfname,"/Varkon.LOG",V3STRLEN);
if ( (startup_logfile=fopen(lfname,"w")) == NULL )
{
printf("Can't open startup_logfile %s\n",lfname);
@@ -391,11 +401,11 @@
fflush(startup_logfile);
/*
***job directory. If a job directory was not specified
-***on the command line use VARKON_ROOT.
+***on the command line use $HOME.
*/
if ( jobdir[0] == '\0' )
{
- strcpy(jobdir,getenv("VARKON_ROOT"));
+ strcpy(jobdir,getenv("HOME"));
}
if ( jobdir[strlen(jobdir)-1] != '/' ) strcat(jobdir,"/");
@@ -504,8 +514,8 @@
}
WPalla("",2);
WPalla("Something is wrong with your Varkon installation.",1);
- WPalla("This startup log is stored as varkon.LOG on your Varkon",1);
- WPalla("installation root directory and can be a good help to",1);
+ WPalla("This startup log is stored as Varkon.LOG in your Varkon",1);
+ WPalla("temp directory and can be a good help to",1);
WPalla("understand what the problem is.",2);
WPalla("If you need help, you can contact the Varkon developers",1);
WPalla("through the development site:",2);
@@ -530,7 +540,7 @@
}
/********************************************************/
-/*!******************************************************/
+/********************************************************/
static short process_cmdline(
int argc,
@@ -741,7 +751,7 @@
}
/********************************************************/
-/*!******************************************************/
+/********************************************************/
short IGcheck_jobname(char jobnam[])

View File

@ -262,7 +262,9 @@ share/varkon/mdf/swedish/x11.MDF
%%PORTDOCS%%%%DOCSDIR%%/relnotes/rn_1.18B.htm
%%PORTDOCS%%%%DOCSDIR%%/relnotes/rn_1.19B.htm
%%PORTDOCS%%%%DOCSDIR%%/relnotes/rn_1.19C.htm
%%PORTDOCS%%%%DOCSDIR%%/relnotes/rn_1.19D.htm
%%PORTDOCS%%%%DOCSDIR%%/relnotes/rn_htmdoc.htm
%%PORTDOCS%%%%DOCSDIR%%/relnotes/rn_next.htm
%%PORTDOCS%%%%DOCSDIR%%/relnotes/Swheel1.jpg
%%PORTDOCS%%%%DOCSDIR%%/relnotes/Swheel2.jpg
%%PORTDOCS%%%%DOCSDIR%%/relnotes/attributes.jpg
@ -324,6 +326,7 @@ share/varkon/mdf/swedish/x11.MDF
%%PORTDOCS%%%%DOCSDIR%%/GUI/f010.htm
%%PORTDOCS%%%%DOCSDIR%%/GUI/f011.htm
%%PORTDOCS%%%%DOCSDIR%%/GUI/f012.htm
%%PORTDOCS%%%%DOCSDIR%%/GUI/f016.htm
%%PORTDOCS%%%%DOCSDIR%%/GUI/f019.htm
%%PORTDOCS%%%%DOCSDIR%%/GUI/f021.htm
%%PORTDOCS%%%%DOCSDIR%%/GUI/f022.htm
@ -591,6 +594,7 @@ share/varkon/mdf/swedish/x11.MDF
%%PORTDOCS%%%%DOCSDIR%%/MBS/cre_win.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/csys_1p.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/csys_3p.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/csys_usrdef.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/cur_appr.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/cur_comp.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/cur_comparr.htm
@ -759,6 +763,7 @@ share/varkon/mdf/swedish/x11.MDF
%%PORTDOCS%%%%DOCSDIR%%/MBS/outstr.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/pardecl.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/part.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/pca.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/per_view.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/pinc.htm
%%PORTDOCS%%%%DOCSDIR%%/MBS/plot_win.htm
@ -892,6 +897,7 @@ share/varkon/mdf/swedish/x11.MDF
%%PORTDOCS%%%%DOCSDIR%%/MBS/tfont3.gif
%%PORTDOCS%%%%DOCSDIR%%/MBS/tfont4.gif
%%PORTDOCS%%%%DOCSDIR%%/MBS/tfont5.gif
%%PORTDOCS%%%%DOCSDIR%%/MBS/images/Csys_Usrded3.png
%%PORTDOCS%%%%DOCSDIR%%/MBS/images/Splines-new.png
%%PORTDOCS%%%%DOCSDIR%%/MBS/images/coor_sys_1.png
%%PORTDOCS%%%%DOCSDIR%%/MBS/images/coor_sys_2.png