Bug 187391 - [MAINTAINER] astro/swe: update to 2.00.00
Summary: [MAINTAINER] astro/swe: update to 2.00.00
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-09 13:10 UTC by Muhammad Moinur Rahman
Modified: 2014-03-09 22:10 UTC (History)
0 users

See Also:


Attachments
swe-2.00.00.patch (1.59 KB, patch)
2014-03-09 13:10 UTC, Muhammad Moinur Rahman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-09 13:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-09 22:06:44 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-03-09 22:06:54 UTC
State Changed
From-To: open->closed

Committed. Thanks!