mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
epte is a curses-based periodic table of the elements. It provides a
set of examples of the basic sets of constants and procedures needed to understand the behavior of matter. WWW: http://www.toddmiller.com/epte/ PR: ports/150183 Submitted by: Frederic Culot <frederic@culot.org>
This commit is contained in:
parent
f40739f9ae
commit
a5408a406d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260744
@ -38,6 +38,7 @@
|
||||
SUBDIR += elmer-meshgen2d
|
||||
SUBDIR += elmergrid
|
||||
SUBDIR += elmerpost
|
||||
SUBDIR += epte
|
||||
SUBDIR += euler
|
||||
SUBDIR += fastcap
|
||||
SUBDIR += fasthenry
|
||||
|
31
science/epte/Makefile
Normal file
31
science/epte/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: epte
|
||||
# Date created: 2010-09-01
|
||||
# Whom: Frederic Culot <frederic@culot.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= epte
|
||||
PORTVERSION= 2.0.7
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://www.toddmiller.com/epte/
|
||||
|
||||
MAINTAINER= frederic@culot.org
|
||||
COMMENT= Electronic Periodic Table of the Elements
|
||||
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
MAN1= epte.1
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/epte
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|/usr|${PREFIX}|' ${WRKSRC}/epte.1
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/epte ${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/epte.1 ${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
science/epte/distinfo
Normal file
3
science/epte/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (epte-2.0.7.tar.gz) = 5edc6634465f1a1f8e4973a272e182a9
|
||||
SHA256 (epte-2.0.7.tar.gz) = e9f02740d24740e1c22b07b3f7bfd9009bd2aa23852b18fc2418c42ff7386381
|
||||
SIZE (epte-2.0.7.tar.gz) = 9037342
|
13
science/epte/files/patch-definitions.h
Normal file
13
science/epte/files/patch-definitions.h
Normal file
@ -0,0 +1,13 @@
|
||||
--- definitions.h.orig 2010-09-01 10:59:49.629072046 +0200
|
||||
+++ definitions.h 2010-09-01 11:00:30.700188068 +0200
|
||||
@@ -516,8 +516,8 @@ in a way that gives the maximum number o
|
||||
spins."},
|
||||
{"Hydration := The process in which water molecules are attracted and surrou\
|
||||
nd solute\nparticles in solution."},
|
||||
- {"Hydrogen bonding := The bond hydrogen forms with other atoms with hydrogen\n
|
||||
-forming an ionic type interaction with negatively charged atoms of other\n
|
||||
+ {"Hydrogen bonding := The bond hydrogen forms with other atoms with hydrogen\n\
|
||||
+forming an ionic type interaction with negatively charged atoms of other\n\
|
||||
compounds."},
|
||||
{"Hydrolysis := A reaction of a cation or an anion with water that affects\n\
|
||||
the pH."},
|
10
science/epte/files/patch-do_element.c
Normal file
10
science/epte/files/patch-do_element.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- do_element.c.orig 2010-09-01 11:04:14.025987855 +0200
|
||||
+++ do_element.c 2010-09-01 11:04:35.003159255 +0200
|
||||
@@ -290,6 +290,7 @@ modification follow.
|
||||
|
||||
*/
|
||||
#include <errno.h>
|
||||
+#include <string.h>
|
||||
#include "periodic.h"
|
||||
#include "info.h"
|
||||
|
10
science/epte/files/patch-do_radii.c
Normal file
10
science/epte/files/patch-do_radii.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- do_radii.c.orig 2010-09-01 11:05:44.971100153 +0200
|
||||
+++ do_radii.c 2010-09-01 11:06:02.362650476 +0200
|
||||
@@ -290,6 +290,7 @@ modification follow.
|
||||
|
||||
*/
|
||||
|
||||
+#include <string.h>
|
||||
|
||||
#include "periodic.h"
|
||||
#include "info.h"
|
12
science/epte/files/patch-epte.1
Normal file
12
science/epte/files/patch-epte.1
Normal file
@ -0,0 +1,12 @@
|
||||
--- epte.1.orig 2010-09-01 11:35:03.058334983 +0200
|
||||
+++ epte.1 2010-09-01 11:35:12.969438210 +0200
|
||||
@@ -44,9 +44,6 @@ Executable image.
|
||||
.B /usr/man/man1/epte.1
|
||||
Manual page.
|
||||
|
||||
-.B /usr/bin/sounds
|
||||
-Sound files.
|
||||
-
|
||||
|
||||
.SH AUTHOR
|
||||
.B epte
|
11
science/epte/files/patch-fill_information.c
Normal file
11
science/epte/files/patch-fill_information.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- fill_information.c.orig 2010-09-01 10:57:26.318201810 +0200
|
||||
+++ fill_information.c 2010-09-01 10:58:12.521662864 +0200
|
||||
@@ -290,6 +290,8 @@ modification follow.
|
||||
|
||||
*/
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
#include "periodic.h"
|
||||
#include "info.h"
|
||||
#include "text.h"
|
28
science/epte/files/patch-makefile
Normal file
28
science/epte/files/patch-makefile
Normal file
@ -0,0 +1,28 @@
|
||||
--- makefile.orig 2010-09-01 10:41:27.655060824 +0200
|
||||
+++ makefile 2010-09-01 10:46:21.341029572 +0200
|
||||
@@ -320,13 +320,13 @@ IS_INTERACTIVE= yes
|
||||
#ifdef VMS
|
||||
CC = cc
|
||||
#else
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
#endif
|
||||
|
||||
#ifdef DEVELOPER
|
||||
-CC_OPTIONS = -c -g
|
||||
+CC_OPTIONS = -c -g ${CFLAGS}
|
||||
#else
|
||||
-CC_OPTIONS = -c -g
|
||||
+CC_OPTIONS = -c -g ${CFLAGS}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -344,7 +344,7 @@ LIBS = -lcursesX -o epte
|
||||
LIBS = -lncurses -o epte
|
||||
#endif
|
||||
|
||||
-DISTNAME=/usr/bin
|
||||
+DISTNAME=${PREFIX}
|
||||
|
||||
MAIN = ask_user.o bell.o bold.o blink.o draw_blocks.o draw_table.o endprog.o listcommand.o epte.o make_coordinates.o reverse.o setaudio.o setinput.o table_key.o ttflush.o ttinp.o
|
||||
|
11
science/epte/files/patch-periodic.h
Normal file
11
science/epte/files/patch-periodic.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- periodic.h.orig 2010-09-01 10:31:23.665697651 +0200
|
||||
+++ periodic.h 2010-09-01 10:48:57.742657991 +0200
|
||||
@@ -296,7 +296,7 @@ modification follow.
|
||||
#ifdef VMS
|
||||
#include <curses.h>
|
||||
#endif
|
||||
-#if defined(linux) || defined(__FreeBSD)
|
||||
+#if defined(linux) || defined(__FreeBSD__)
|
||||
#include <ncurses.h>
|
||||
#endif
|
||||
|
11
science/epte/files/patch-setaudio.c
Normal file
11
science/epte/files/patch-setaudio.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- setaudio.c.orig 2010-09-01 10:55:30.665968356 +0200
|
||||
+++ setaudio.c 2010-09-01 10:56:04.763401409 +0200
|
||||
@@ -312,7 +312,7 @@ void setaudio ( void )
|
||||
char File_Name[1024];
|
||||
char *file_name;
|
||||
|
||||
-#ifdef VMS
|
||||
+#if defined(VMS) || defined(__FreeBSD__)
|
||||
#else
|
||||
|
||||
/* The audio device sometimes does not work if it is left open for a long
|
5
science/epte/pkg-descr
Normal file
5
science/epte/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
epte is a curses-based periodic table of the elements. It provides a
|
||||
set of examples of the basic sets of constants and procedures needed
|
||||
to understand the behavior of matter.
|
||||
|
||||
WWW: http://www.toddmiller.com/epte/
|
Loading…
Reference in New Issue
Block a user