diff options
author | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2017-12-29 14:25:16 +0000 |
---|---|---|
committer | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2017-12-29 14:25:16 +0000 |
commit | 5f69b420703d0506a029dd4651e8a0e18bf4dcda (patch) | |
tree | f48be829ce825e6bcb861806eec438bc463053f9 /science | |
parent | 033977e70f8da874a18ccecdd4f0e51711083bf8 (diff) |
science/lamprop: Update to 3.4
PR: 221544
Submitted by: rsmith@xs4all.nl (maintainer)
Notes
Notes:
svn path=/head/; revision=457507
Diffstat (limited to 'science')
-rw-r--r-- | science/lamprop/Makefile | 24 | ||||
-rw-r--r-- | science/lamprop/distinfo | 5 | ||||
-rw-r--r-- | science/lamprop/pkg-descr | 2 | ||||
-rw-r--r-- | science/lamprop/pkg-plist | 3 |
4 files changed, 21 insertions, 13 deletions
diff --git a/science/lamprop/Makefile b/science/lamprop/Makefile index a4acaa21c02c..c29ebf8f80e8 100644 --- a/science/lamprop/Makefile +++ b/science/lamprop/Makefile @@ -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> diff --git a/science/lamprop/distinfo b/science/lamprop/distinfo index 97703d666c62..e2948aefd64b 100644 --- a/science/lamprop/distinfo +++ b/science/lamprop/distinfo @@ -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 diff --git a/science/lamprop/pkg-descr b/science/lamprop/pkg-descr index 58a9de8fbc42..e4729a27c88d 100644 --- a/science/lamprop/pkg-descr +++ b/science/lamprop/pkg-descr @@ -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 diff --git a/science/lamprop/pkg-plist b/science/lamprop/pkg-plist deleted file mode 100644 index d94870a3bb64..000000000000 --- a/science/lamprop/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/lamprop -man/man1/lamprop.1.gz -man/man5/lamprop.5.gz |