Bug 183828 - [MAINTAINER] astro/swe: update to 1.80.00
Summary: [MAINTAINER] astro/swe: update to 1.80.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: 2013-11-10 01:20 UTC by Muhammad Moinur Rahman
Modified: 2013-11-10 19:50 UTC (History)
0 users

See Also:


Attachments
swe-1.80.00.patch (1.82 KB, patch)
2013-11-10 01:20 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 2013-11-10 01:20:09 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 2013-11-10 19:48:07 UTC
Author: sunpoet
Date: Sun Nov 10 19:47:59 2013
New Revision: 333428
URL: http://svnweb.freebsd.org/changeset/ports/333428

Log:
  - 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)

Modified:
  head/astro/swe/Makefile
  head/astro/swe/distinfo

Modified: head/astro/swe/Makefile
==============================================================================
--- head/astro/swe/Makefile	Sun Nov 10 19:18:42 2013	(r333427)
+++ head/astro/swe/Makefile	Sun Nov 10 19:47:59 2013	(r333428)
@@ -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_${PORTVER
 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>

Modified: head/astro/swe/distinfo
==============================================================================
--- head/astro/swe/distinfo	Sun Nov 10 19:18:42 2013	(r333427)
+++ head/astro/swe/distinfo	Sun Nov 10 19:47:59 2013	(r333428)
@@ -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
_______________________________________________
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 2013-11-10 19:50:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!