diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-11 03:47:59 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-11 03:47:59 +0800 |
commit | abe65abd2b8d5f4efdc69cb01a49fa8632d22e59 (patch) | |
tree | fb13c32f3f4a2a1ab8dc1d1305e444514df76853 /astro/swe | |
parent | 0c67dd3dc35b30e276a5b55d27dcc6eae2b90a42 (diff) | |
download | freebsd-ports-gnome-abe65abd2b8d5f4efdc69cb01a49fa8632d22e59.tar.gz freebsd-ports-gnome-abe65abd2b8d5f4efdc69cb01a49fa8632d22e59.tar.zst freebsd-ports-gnome-abe65abd2b8d5f4efdc69cb01a49fa8632d22e59.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)
Diffstat (limited to 'astro/swe')
-rw-r--r-- | astro/swe/Makefile | 21 | ||||
-rw-r--r-- | astro/swe/distinfo | 4 |
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 |