Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2017 14:25:16 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457507 - head/science/lamprop
Message-ID:  <201712291425.vBTEPGj0051945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pizzamig
Date: Fri Dec 29 14:25:16 2017
New Revision: 457507
URL: https://svnweb.freebsd.org/changeset/ports/457507

Log:
  science/lamprop: Update to 3.4
  
  PR:		221544
  Submitted by:	rsmith@xs4all.nl (maintainer)

Deleted:
  head/science/lamprop/pkg-plist
Modified:
  head/science/lamprop/Makefile
  head/science/lamprop/distinfo
  head/science/lamprop/pkg-descr

Modified: head/science/lamprop/Makefile
==============================================================================
--- head/science/lamprop/Makefile	Fri Dec 29 13:20:47 2017	(r457506)
+++ head/science/lamprop/Makefile	Fri Dec 29 14:25:16 2017	(r457507)
@@ -1,11 +1,9 @@
-# Created by: rsmith@xs4all.nl
 # $FreeBSD$
 
 PORTNAME=	lamprop
-PORTVERSION=	1.5.0
-PORTREVISION=	1
-CATEGORIES=	science
-MASTER_SITES=	http://rsmith.home.xs4all.nl/files/
+PORTVERSION=	3.4
+CATEGORIES=	science python
+MASTER_SITES=	GH
 
 MAINTAINER=	rsmith@xs4all.nl
 COMMENT=	Calculates properties of fiber reinforced composites
@@ -14,9 +12,21 @@ LICENSE=	BSD2CLAUSE
 
 RUN_DEPENDS=	${PYNUMPY}
 
-USES=		zip python:2.7
+USES=		python:3.4+
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	rsmith-nl
+
+PLIST_FILES=	bin/lamprop \
+		man/man1/lamprop.1.gz \
+		man/man5/lamprop.5.gz
+
+do-build:
+	cd ${WRKSRC} && ${PYTHON_VERSION} build.py
+
 do-install:
-	cd ${WRKSRC} && ${MAKE} PREFIX=${STAGEDIR}${PREFIX} install
+	${INSTALL_SCRIPT} ${WRKSRC}/lamprop ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/lamprop.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/lamprop.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
 
 .include <bsd.port.mk>

Modified: head/science/lamprop/distinfo
==============================================================================
--- head/science/lamprop/distinfo	Fri Dec 29 13:20:47 2017	(r457506)
+++ head/science/lamprop/distinfo	Fri Dec 29 14:25:16 2017	(r457507)
@@ -1,2 +1,3 @@
-SHA256 (lamprop-1.5.0.zip) = 8b5463b7f453e4b80609cb3a4e44a421a50da620357ec2973606cdda592a3e99
-SIZE (lamprop-1.5.0.zip) = 91939
+TIMESTAMP = 1513686957
+SHA256 (rsmith-nl-lamprop-3.4_GH0.tar.gz) = 25ddfe2e110d01a9894f8d4694352377903b7a24df4f5a6127acfe3fc1eb82dc
+SIZE (rsmith-nl-lamprop-3.4_GH0.tar.gz) = 53081

Modified: head/science/lamprop/pkg-descr
==============================================================================
--- head/science/lamprop/pkg-descr	Fri Dec 29 13:20:47 2017	(r457506)
+++ head/science/lamprop/pkg-descr	Fri Dec 29 14:25:16 2017	(r457507)
@@ -5,4 +5,4 @@ fiber-reinforced composite laminates. It calculates
 - physical properties like density and laminate thickness
 - stiffness and compliance matrices (ABD and abd)
 
-WWW: http://rsmith.home.xs4all.nl/software/lamprop.html
+WWW: https://rsmith.home.xs4all.nl/software/lamprop.html



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