science/lamprop: Update to 3.4

PR:		221544
Submitted by:	rsmith@xs4all.nl (maintainer)
This commit is contained in:
Luca Pizzamiglio 2017-12-29 14:25:16 +00:00
parent 033977e70f
commit 5f69b42070
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457507
4 changed files with 21 additions and 13 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
bin/lamprop
man/man1/lamprop.1.gz
man/man5/lamprop.5.gz