Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 19:48:00 +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: r333428 - head/astro/swe
Message-ID:  <201311101948.rAAJm03e010173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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