aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-09 22:06:36 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-09 22:06:36 +0000
commit74a3b75263cd2e8c988e4b686c0fc0e597903332 (patch)
treecd22551cc010f6483a011aa86c7d602e9e0b07bf /astro
parentb6258e7ca4619c8b8ea47608d49bf464975a2205 (diff)
downloadports-74a3b75263cd2e8c988e4b686c0fc0e597903332.tar.gz
ports-74a3b75263cd2e8c988e4b686c0fc0e597903332.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/swe/Makefile10
-rw-r--r--astro/swe/distinfo4
-rw-r--r--astro/swe/pkg-plist4
3 files changed, 7 insertions, 11 deletions
diff --git a/astro/swe/Makefile b/astro/swe/Makefile
index 09e6bf4cb62d..911b4cc131cc 100644
--- a/astro/swe/Makefile
+++ b/astro/swe/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= swe
-PORTVERSION= 1.80.00
+PORTVERSION= 2.00.00
CATEGORIES= astro devel
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
@@ -15,17 +15,13 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/src
USES= gmake
ALL_TARGET= #
+MAKE_ARGS= CFLAGS="${CFLAGS}"
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
-post-patch:
- @${REINPLACE_CMD} -e 's|-pedantic||' \
- -e 's|CFLAGS =|CFLAGS ?=|' \
- ${WRKSRC}/Makefile
-
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${PREFIX}/include/swe
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/astro/swe/distinfo b/astro/swe/distinfo
index e36c2f2950e8..6d9e6fd3405f 100644
--- a/astro/swe/distinfo
+++ b/astro/swe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (swe_unix_src_1.80.00.tar.gz) = e90804016c9b1e7576ad94a5e4f11a989d94f21629afcf942a64291fff8aeeff
-SIZE (swe_unix_src_1.80.00.tar.gz) = 3132757
+SHA256 (swe_unix_src_2.00.00.tar.gz) = a53dd729d1db9d45f1a0c5ec4ae4b2210e477263b65a783682adb3fe77b0bb42
+SIZE (swe_unix_src_2.00.00.tar.gz) = 3680738
diff --git a/astro/swe/pkg-plist b/astro/swe/pkg-plist
index 98830e3a5157..4e336ac9bbe1 100644
--- a/astro/swe/pkg-plist
+++ b/astro/swe/pkg-plist
@@ -1,4 +1,3 @@
-lib/libswe.a
include/swe/swedate.h
include/swe/swedll.h
include/swe/swehouse.h
@@ -9,11 +8,12 @@ include/swe/swepcalc.h
include/swe/sweph.h
include/swe/swephexp.h
include/swe/swephlib.h
+lib/libswe.a
%%PORTDOCS%%%%DOCSDIR%%/sweph.gif
%%PORTDOCS%%%%DOCSDIR%%/swephin.gif
%%PORTDOCS%%%%DOCSDIR%%/swephprg.htm
%%PORTDOCS%%%%DOCSDIR%%/swephprg.pdf
%%PORTDOCS%%%%DOCSDIR%%/swisseph.htm
%%PORTDOCS%%%%DOCSDIR%%/swisseph.pdf
-@dirrm include/swe
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm include/swe