ports/150183: New port: science/epte Electronic Periodic Table of the Elements
Frederic Culot
frederic at culot.org
Wed Sep 1 10:00:17 UTC 2010
>Number: 150183
>Category: ports
>Synopsis: New port: science/epte Electronic Periodic Table of the Elements
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 01 10:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Frederic Culot
>Release: FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
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
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# epte
# epte/files
# epte/files/patch-periodic.h
# epte/files/patch-setaudio.c
# epte/files/patch-fill_information.c
# epte/files/patch-makefile
# epte/files/patch-do_element.c
# epte/files/patch-do_radii.c
# epte/files/patch-definitions.h
# epte/files/patch-epte.1
# epte/Makefile
# epte/pkg-descr
# epte/distinfo
#
echo c - epte
mkdir -p epte > /dev/null 2>&1
echo c - epte/files
mkdir -p epte/files > /dev/null 2>&1
echo x - epte/files/patch-periodic.h
sed 's/^X//' >epte/files/patch-periodic.h << '29bc11f37d06558f709e4ba132281a51'
X--- periodic.h.orig 2010-09-01 10:31:23.665697651 +0200
X+++ periodic.h 2010-09-01 10:48:57.742657991 +0200
X@@ -296,7 +296,7 @@ modification follow.
X #ifdef VMS
X #include <curses.h>
X #endif
X-#if defined(linux) || defined(__FreeBSD)
X+#if defined(linux) || defined(__FreeBSD__)
X #include <ncurses.h>
X #endif
X
29bc11f37d06558f709e4ba132281a51
echo x - epte/files/patch-setaudio.c
sed 's/^X//' >epte/files/patch-setaudio.c << 'c2e9ede6b26bab6d398dfaccb0d26f0a'
X--- setaudio.c.orig 2010-09-01 10:55:30.665968356 +0200
X+++ setaudio.c 2010-09-01 10:56:04.763401409 +0200
X@@ -312,7 +312,7 @@ void setaudio ( void )
X char File_Name[1024];
X char *file_name;
X
X-#ifdef VMS
X+#if defined(VMS) || defined(__FreeBSD__)
X #else
X
X /* The audio device sometimes does not work if it is left open for a long
c2e9ede6b26bab6d398dfaccb0d26f0a
echo x - epte/files/patch-fill_information.c
sed 's/^X//' >epte/files/patch-fill_information.c << '1f2ef9d9c058dc3874ef9b2e0aac9118'
X--- fill_information.c.orig 2010-09-01 10:57:26.318201810 +0200
X+++ fill_information.c 2010-09-01 10:58:12.521662864 +0200
X@@ -290,6 +290,8 @@ modification follow.
X
X */
X
X+#include <string.h>
X+
X #include "periodic.h"
X #include "info.h"
X #include "text.h"
1f2ef9d9c058dc3874ef9b2e0aac9118
echo x - epte/files/patch-makefile
sed 's/^X//' >epte/files/patch-makefile << 'c22607600f99b524800a4577b682124e'
X--- makefile.orig 2010-09-01 10:41:27.655060824 +0200
X+++ makefile 2010-09-01 10:46:21.341029572 +0200
X@@ -320,13 +320,13 @@ IS_INTERACTIVE= yes
X #ifdef VMS
X CC = cc
X #else
X-CC = gcc
X+CC ?= gcc
X #endif
X
X #ifdef DEVELOPER
X-CC_OPTIONS = -c -g
X+CC_OPTIONS = -c -g ${CFLAGS}
X #else
X-CC_OPTIONS = -c -g
X+CC_OPTIONS = -c -g ${CFLAGS}
X #endif
X
X
X@@ -344,7 +344,7 @@ LIBS = -lcursesX -o epte
X LIBS = -lncurses -o epte
X #endif
X
X-DISTNAME=/usr/bin
X+DISTNAME=${PREFIX}
X
X 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
X
c22607600f99b524800a4577b682124e
echo x - epte/files/patch-do_element.c
sed 's/^X//' >epte/files/patch-do_element.c << 'e64ac69869749fc848f0c20dd65c1fb2'
X--- do_element.c.orig 2010-09-01 11:04:14.025987855 +0200
X+++ do_element.c 2010-09-01 11:04:35.003159255 +0200
X@@ -290,6 +290,7 @@ modification follow.
X
X */
X #include <errno.h>
X+#include <string.h>
X #include "periodic.h"
X #include "info.h"
X
e64ac69869749fc848f0c20dd65c1fb2
echo x - epte/files/patch-do_radii.c
sed 's/^X//' >epte/files/patch-do_radii.c << '400f8859dadcbca96b55980f050e10e2'
X--- do_radii.c.orig 2010-09-01 11:05:44.971100153 +0200
X+++ do_radii.c 2010-09-01 11:06:02.362650476 +0200
X@@ -290,6 +290,7 @@ modification follow.
X
X */
X
X+#include <string.h>
X
X #include "periodic.h"
X #include "info.h"
400f8859dadcbca96b55980f050e10e2
echo x - epte/files/patch-definitions.h
sed 's/^X//' >epte/files/patch-definitions.h << '0dfd3b7159e4d39393ccf2838f8646a4'
X--- definitions.h.orig 2010-09-01 10:59:49.629072046 +0200
X+++ definitions.h 2010-09-01 11:00:30.700188068 +0200
X@@ -516,8 +516,8 @@ in a way that gives the maximum number o
X spins."},
X {"Hydration := The process in which water molecules are attracted and surrou\
X nd solute\nparticles in solution."},
X- {"Hydrogen bonding := The bond hydrogen forms with other atoms with hydrogen\n
X-forming an ionic type interaction with negatively charged atoms of other\n
X+ {"Hydrogen bonding := The bond hydrogen forms with other atoms with hydrogen\n\
X+forming an ionic type interaction with negatively charged atoms of other\n\
X compounds."},
X {"Hydrolysis := A reaction of a cation or an anion with water that affects\n\
X the pH."},
0dfd3b7159e4d39393ccf2838f8646a4
echo x - epte/files/patch-epte.1
sed 's/^X//' >epte/files/patch-epte.1 << '93944f75b2f9dbf5ea3292089178b9b9'
X--- epte.1.orig 2010-09-01 11:35:03.058334983 +0200
X+++ epte.1 2010-09-01 11:35:12.969438210 +0200
X@@ -44,9 +44,6 @@ Executable image.
X .B /usr/man/man1/epte.1
X Manual page.
X
X-.B /usr/bin/sounds
X-Sound files.
X-
X
X .SH AUTHOR
X .B epte
93944f75b2f9dbf5ea3292089178b9b9
echo x - epte/Makefile
sed 's/^X//' >epte/Makefile << '56f66bac7b8f9094c7f80315b7241280'
X# New ports collection makefile for: epte
X# Date created: 2010-09-01
X# Whom: Frederic Culot <frederic at culot.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= epte
XPORTVERSION= 2.0.7
XCATEGORIES= science
XMASTER_SITES= http://www.toddmiller.com/epte/
X
XMAINTAINER= frederic at culot.org
XCOMMENT= Electronic Periodic Table of the Elements
X
XMAKEFILE= makefile
XALL_TARGET= ${PORTNAME}
X
XMAN1= epte.1
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
XPLIST_FILES= bin/epte
X
Xpost-patch:
X ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/epte.1
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/epte ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/epte.1 ${MANPREFIX}/man/man1
X
X.include <bsd.port.mk>
56f66bac7b8f9094c7f80315b7241280
echo x - epte/pkg-descr
sed 's/^X//' >epte/pkg-descr << 'fcdd407e085a2adc15aa91a72a60a337'
Xepte is a curses-based periodic table of the elements. It provides a
Xset of examples of the basic sets of constants and procedures needed
Xto understand the behavior of matter.
X
XWWW: http://www.toddmiller.com/epte
fcdd407e085a2adc15aa91a72a60a337
echo x - epte/distinfo
sed 's/^X//' >epte/distinfo << '9a6cfee8445ddc8d93833d95c535a4df'
XMD5 (epte-2.0.7.tar.gz) = 5edc6634465f1a1f8e4973a272e182a9
XSHA256 (epte-2.0.7.tar.gz) = e9f02740d24740e1c22b07b3f7bfd9009bd2aa23852b18fc2418c42ff7386381
XSIZE (epte-2.0.7.tar.gz) = 9037342
9a6cfee8445ddc8d93833d95c535a4df
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list