Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2014 22:06:36 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347703 - head/astro/swe
Message-ID:  <201403092206.s29M6aND081350@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar  9 22:06:36 2014
New Revision: 347703
URL: http://svnweb.freebsd.org/changeset/ports/347703
QAT: https://qat.redports.org/buildarchive/r347703/

Log:
  - Update to 2.00.00
  - While I'm here:
    - Use MAKE_ARGS instead of post-patch:
    - Use INSTALL_LIB for static library installation
    - Sort PLIST
  
  PR:		ports/187391
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)

Modified:
  head/astro/swe/Makefile
  head/astro/swe/distinfo
  head/astro/swe/pkg-plist

Modified: head/astro/swe/Makefile
==============================================================================
--- head/astro/swe/Makefile	Sun Mar  9 22:06:31 2014	(r347702)
+++ head/astro/swe/Makefile	Sun Mar  9 22:06:36 2014	(r347703)
@@ -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}

Modified: head/astro/swe/distinfo
==============================================================================
--- head/astro/swe/distinfo	Sun Mar  9 22:06:31 2014	(r347702)
+++ head/astro/swe/distinfo	Sun Mar  9 22:06:36 2014	(r347703)
@@ -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

Modified: head/astro/swe/pkg-plist
==============================================================================
--- head/astro/swe/pkg-plist	Sun Mar  9 22:06:31 2014	(r347702)
+++ head/astro/swe/pkg-plist	Sun Mar  9 22:06:36 2014	(r347703)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403092206.s29M6aND081350>