aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-10-09 01:13:44 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-10-09 01:13:44 +0000
commit14e101f3b826bf16e18113d3af117ec1f4d9ccc8 (patch)
tree2634e174bbce66b042ed9f0ad53df22e3a640090 /astro
parent1cd896b49b68a948189d9940215293953d0d5c30 (diff)
downloadports-14e101f3b826bf16e18113d3af117ec1f4d9ccc8.tar.gz
ports-14e101f3b826bf16e18113d3af117ec1f4d9ccc8.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/libnova/Makefile11
-rw-r--r--astro/libnova/distinfo4
-rw-r--r--astro/libnova/files/patch-src::misc.c12
-rw-r--r--astro/libnova/files/patch-src__utility.c13
-rw-r--r--astro/libnova/pkg-plist39
5 files changed, 58 insertions, 21 deletions
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile
index e28417568a67..4e1525a119e8 100644
--- a/astro/libnova/Makefile
+++ b/astro/libnova/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= libnova
-PORTVERSION= 0.9.0
-PORTREVISION= 1
+PORTVERSION= 0.11.0
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,7 +20,13 @@ USE_REINPLACE= yes
USE_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+#.if ${OSVERSION}<503000
+#IGNORE= Required FreeBSD 5.3 or higher
+#.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/astro/libnova/distinfo b/astro/libnova/distinfo
index bf09079b64b0..c34db2f6a60e 100644
--- a/astro/libnova/distinfo
+++ b/astro/libnova/distinfo
@@ -1,2 +1,2 @@
-MD5 (libnova-0.9.0.tar.gz) = 3bc5e7ec0333bda1a8dfdc3431ee1590
-SIZE (libnova-0.9.0.tar.gz) = 1358324
+MD5 (libnova-0.11.0.tar.gz) = 3ebe93b4ba772860d1dcd06e17e759f7
+SIZE (libnova-0.11.0.tar.gz) = 1529667
diff --git a/astro/libnova/files/patch-src::misc.c b/astro/libnova/files/patch-src::misc.c
deleted file mode 100644
index 1d324e229b1f..000000000000
--- a/astro/libnova/files/patch-src::misc.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/misc.c.orig Sun Jan 25 17:18:32 2004
-+++ src/misc.c Sun Jan 25 17:18:42 2004
-@@ -44,9 +44,6 @@
- #include <ctype.h>
- #include "libnova.h"
-
--#ifndef __APPLE__
--#include <malloc.h>
--#endif
-
- /* local types and macros */
- typedef int BOOL;
diff --git a/astro/libnova/files/patch-src__utility.c b/astro/libnova/files/patch-src__utility.c
new file mode 100644
index 000000000000..fc54fa0155de
--- /dev/null
+++ b/astro/libnova/files/patch-src__utility.c
@@ -0,0 +1,13 @@
+--- src/utility.c.orig Sun Oct 9 11:04:48 2005
++++ src/utility.c Sun Oct 9 11:04:56 2005
+@@ -45,10 +45,6 @@
+ #include <ctype.h>
+ #include <libnova/utility.h>
+
+-#ifndef __APPLE__
+-#include <malloc.h>
+-#endif
+-
+ #ifndef WIN32
+ #include "config.h"
+ #else
diff --git a/astro/libnova/pkg-plist b/astro/libnova/pkg-plist
index ea52266a10de..aa47c07161af 100644
--- a/astro/libnova/pkg-plist
+++ b/astro/libnova/pkg-plist
@@ -1,7 +1,38 @@
bin/libnovaconfig
-include/libnova.h
-lib/libnova-0.9.so
-lib/libnova-0.9.so.0
+include/libnova/julian_day.h
+include/libnova/dynamical_time.h
+include/libnova/sidereal_time.h
+include/libnova/transform.h
+include/libnova/nutation.h
+include/libnova/libnova.h
+include/libnova/aberration.h
+include/libnova/apparent_position.h
+include/libnova/solar.h
+include/libnova/precession.h
+include/libnova/proper_motion.h
+include/libnova/mercury.h
+include/libnova/venus.h
+include/libnova/earth.h
+include/libnova/mars.h
+include/libnova/jupiter.h
+include/libnova/saturn.h
+include/libnova/uranus.h
+include/libnova/neptune.h
+include/libnova/pluto.h
+include/libnova/vsop87.h
+include/libnova/lunar.h
+include/libnova/elliptic_motion.h
+include/libnova/asteroid.h
+include/libnova/comet.h
+include/libnova/parabolic_motion.h
+include/libnova/refraction.h
+include/libnova/rise_set.h
+include/libnova/angular_separation.h
+include/libnova/ln_types.h
+include/libnova/utility.h
+include/libnova/hyperbolic_motion.h
+lib/libnova-0.11.so
+lib/libnova-0.11.so.0
lib/libnova.a
lib/libnova.so
-share/aclocal/libnova-check.m4
+@dirrm include/libnova/