aboutsummaryrefslogtreecommitdiff
path: root/astro/swe
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-10 19:47:59 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-10 19:47:59 +0000
commit0b0ac8fab6e8c4fd9806cf16f4066b3d4c1b4a00 (patch)
treefb13c32f3f4a2a1ab8dc1d1305e444514df76853 /astro/swe
parent40631d2f25f5f9baec97095df6931e3a116c9def (diff)
downloadports-0b0ac8fab6e8c4fd9806cf16f4066b3d4c1b4a00.tar.gz
ports-0b0ac8fab6e8c4fd9806cf16f4066b3d4c1b4a00.zip
- Update to 1.80.00
- Add LICENSE - Support STAGEDIR - While I'm here: - Move DOCS installation from post-install: to do-install: - Install DOCS to STAGEDIR unconditionally PR: ports/183828 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=333428
Diffstat (limited to 'astro/swe')
-rw-r--r--astro/swe/Makefile21
-rw-r--r--astro/swe/distinfo4
2 files changed, 10 insertions, 15 deletions
diff --git a/astro/swe/Makefile b/astro/swe/Makefile
index c0c182ed12b9..09e6bf4cb62d 100644
--- a/astro/swe/Makefile
+++ b/astro/swe/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= swe
-PORTVERSION= 1.79.00
+PORTVERSION= 1.80.00
CATEGORIES= astro devel
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
@@ -10,7 +10,8 @@ DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
MAINTAINER= 5u623l20@gmail.com
COMMENT= High Precision Ephemeris Developed By Astrodienst
-NO_STAGE= yes
+LICENSE= GPLv2
+
WRKSRC= ${WRKDIR}/src
USES= gmake
ALL_TARGET= #
@@ -18,22 +19,16 @@ USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|-pedantic||' \
-e 's|CFLAGS =|CFLAGS ?=|' \
${WRKSRC}/Makefile
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libswe.a ${LOCALBASE}/lib
- ${MKDIR} ${LOCALBASE}/include/swe
- ${INSTALL_DATA} ${WRKSRC}/*.h ${LOCALBASE}/include/swe
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/doc/* ${DOCSDIR}/
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/swe
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/doc/* ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/astro/swe/distinfo b/astro/swe/distinfo
index 55c7bc75e5da..e36c2f2950e8 100644
--- a/astro/swe/distinfo
+++ b/astro/swe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (swe_unix_src_1.79.00.tar.gz) = 175739225300b14f903cbf7749ccc78e708cb485e79db7707cf02f591bc4a898
-SIZE (swe_unix_src_1.79.00.tar.gz) = 4696318
+SHA256 (swe_unix_src_1.80.00.tar.gz) = e90804016c9b1e7576ad94a5e4f11a989d94f21629afcf942a64291fff8aeeff
+SIZE (swe_unix_src_1.80.00.tar.gz) = 3132757