aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-rw-r--r--astro/accrete/Makefile23
-rw-r--r--astro/accrete/distinfo1
-rw-r--r--astro/accrete/files/patch-Makefile25
-rw-r--r--astro/accrete/pkg-descr14
-rw-r--r--astro/accrete/pkg-plist1
6 files changed, 65 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index c8daa526411..20b1f8adef4 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -2,6 +2,7 @@
#
SUBDIR += SETIsupport
+ SUBDIR += accrete
SUBDIR += celestia
SUBDIR += dgpsip
SUBDIR += ephem
diff --git a/astro/accrete/Makefile b/astro/accrete/Makefile
new file mode 100644
index 00000000000..68b0e599821
--- /dev/null
+++ b/astro/accrete/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: accrete
+# Date created: 2003-6-2
+# Whom: chuck@pkix.net
+#
+# $FreeBSD$
+
+PORTNAME= accrete
+PORTVERSION= 1.0
+CATEGORIES= astro
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= chuck@pkix.net
+COMMENT= Accrete is a physical simulation of solar system planet formation
+
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%CC%%|${CC}|g ; \
+ s|%%CFLAGS%%|${CFLAGS}|g' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/astro/accrete/distinfo b/astro/accrete/distinfo
new file mode 100644
index 00000000000..8c6cdad1010
--- /dev/null
+++ b/astro/accrete/distinfo
@@ -0,0 +1 @@
+MD5 (accrete-1.0.tar.gz) = a8586ec1682cb9545ea380d78a8e83d1
diff --git a/astro/accrete/files/patch-Makefile b/astro/accrete/files/patch-Makefile
new file mode 100644
index 00000000000..c39315cbe12
--- /dev/null
+++ b/astro/accrete/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.org Tue Jul 29 14:53:03 2003
++++ Makefile Tue Jul 29 14:53:37 2003
+@@ -7,17 +7,17 @@
+ INSTALL = /usr/bin/install -s
+
+ # installation prefix
+-PREFIX = /usr/local
++PREFIX = %%PREFIX%%
+
+ # Compiler flags
+-CC ?= cc
+-CDEBUG = -g -O -Wall
+-COPT = -O3 -ffast-math
++CC = %%CC%%
++CDEBUG =
++COPT =
+
+ # Enable this to greatly increase the verbosity of the output
+ # DEFS = -DDEBUG -DVERBOSE
+
+-CFLAGS ?= -pipe $(CDEBUG) $(DEFS)
++CFLAGS = %%CFLAGS%%
+
+ # Any libraries that are needed...
+ LDFLAGS = -lm
diff --git a/astro/accrete/pkg-descr b/astro/accrete/pkg-descr
new file mode 100644
index 00000000000..8f02307ce0e
--- /dev/null
+++ b/astro/accrete/pkg-descr
@@ -0,0 +1,14 @@
+ Accrete is a physical simulation of solar system planet formation,
+originally published to Usenet-- probably comp.sources.unix-- in 1991
+by Joe Nowakowski. This software is in the public domain.
+
+This simulation works by modelling a dust cloud around a Sun-like
+star, injecting a series of masses which collect dust, and form
+planets. The simulation then determines what the planetary
+environments will be like in terms of temperature, atmospheric
+composition, and other factors. The system description is saved to a
+file named "New.System".
+
+WWW: http://sourceforge.net/projects/accrete
+
+-Chuck Swiger <chuck@pkix.net>
diff --git a/astro/accrete/pkg-plist b/astro/accrete/pkg-plist
new file mode 100644
index 00000000000..f0d80904061
--- /dev/null
+++ b/astro/accrete/pkg-plist
@@ -0,0 +1 @@
+bin/accrete