aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-02-11 05:44:34 +0800
committernivit <nivit@FreeBSD.org>2007-02-11 05:44:34 +0800
commit8e9c2a931a30aba26a293057cab2640e05e83e1d (patch)
tree0944c6a8d58878083f0ed9c17299f3b1401a2c6a
parent160552f18403ede84f65316add659548782c9b60 (diff)
downloadfreebsd-ports-graphics-8e9c2a931a30aba26a293057cab2640e05e83e1d.tar.gz
freebsd-ports-graphics-8e9c2a931a30aba26a293057cab2640e05e83e1d.tar.zst
freebsd-ports-graphics-8e9c2a931a30aba26a293057cab2640e05e83e1d.zip
- Updated to 0.12.1
PR: ports/109005 Submitted by: CHAO Shin <quakelee at cn.freebsd.org> Approved by: alexbl (mentor, implicit)
-rw-r--r--astro/libnova/Makefile7
-rw-r--r--astro/libnova/distinfo6
-rw-r--r--astro/libnova/files/patch-src__utility.c10
-rw-r--r--astro/libnova/pkg-plist2
4 files changed, 12 insertions, 13 deletions
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile
index 71460253cdf..14deefe07d8 100644
--- a/astro/libnova/Makefile
+++ b/astro/libnova/Makefile
@@ -7,11 +7,10 @@
#
PORTNAME= libnova
-PORTVERSION= 0.12.0
+PORTVERSION= 0.12.1
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Astronomical Calculation Library
@@ -29,8 +28,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
IGNORE= requires FreeBSD 5.3 or higher
.endif
-post-extract:
- @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
+#post-extract:
+# @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
diff --git a/astro/libnova/distinfo b/astro/libnova/distinfo
index c2b32e887f3..bc548484560 100644
--- a/astro/libnova/distinfo
+++ b/astro/libnova/distinfo
@@ -1,3 +1,3 @@
-MD5 (libnova_0.12.0-1.tar.gz) = cca5972306b032b58413ee30b64e18a4
-SHA256 (libnova_0.12.0-1.tar.gz) = d7d0a00bf3fd0fc6819277d3854b80c4c1bd0905b3d9f1d8f296455e42c9fde3
-SIZE (libnova_0.12.0-1.tar.gz) = 3033093
+MD5 (libnova-0.12.1.tar.gz) = f0bffb2eb0bfa041e4c4d9764aadd94d
+SHA256 (libnova-0.12.1.tar.gz) = 8053445e862413a8e042264290da7d70bfa2ed46b4596c86b67962820b61462f
+SIZE (libnova-0.12.1.tar.gz) = 1498120
diff --git a/astro/libnova/files/patch-src__utility.c b/astro/libnova/files/patch-src__utility.c
index fc54fa0155d..2a9161955e3 100644
--- a/astro/libnova/files/patch-src__utility.c
+++ b/astro/libnova/files/patch-src__utility.c
@@ -1,5 +1,5 @@
---- src/utility.c.orig Sun Oct 9 11:04:48 2005
-+++ src/utility.c Sun Oct 9 11:04:56 2005
+--- src/utility.c.orig Wed Jan 17 08:16:02 2007
++++ src/utility.c Sat Feb 10 12:08:36 2007
@@ -45,10 +45,6 @@
#include <ctype.h>
#include <libnova/utility.h>
@@ -8,6 +8,6 @@
-#include <malloc.h>
-#endif
-
- #ifndef WIN32
- #include "config.h"
- #else
+ /* Include unistd.h only if not on a Win32 platform */
+ /* Include Win32 Headers sys/types.h and sys/timeb.h if on Win32 */
+ #ifndef __WIN32__
diff --git a/astro/libnova/pkg-plist b/astro/libnova/pkg-plist
index 0af7affa3f6..7665310ac88 100644
--- a/astro/libnova/pkg-plist
+++ b/astro/libnova/pkg-plist
@@ -34,7 +34,7 @@ include/libnova/utility.h
include/libnova/venus.h
include/libnova/vsop87.h
lib/libnova-0.12.so
-lib/libnova-0.12.so.0
+lib/libnova-0.12.so.1
lib/libnova.a
lib/libnova.la
lib/libnova.so