aboutsummaryrefslogtreecommitdiff
path: root/science/lamprop
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-05 07:31:33 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-05 07:31:33 +0000
commitfaf7d81a4d0adb0d71b80ebf4b1b6217871125e1 (patch)
treedecdc48b8b0d58e45ccb77032a7639496656d6c7 /science/lamprop
parent79d8c9501c24f9d505404c944f69c143e86ffd19 (diff)
Notes
Diffstat (limited to 'science/lamprop')
-rw-r--r--science/lamprop/Makefile28
-rw-r--r--science/lamprop/distinfo4
-rw-r--r--science/lamprop/pkg-descr2
-rw-r--r--science/lamprop/pkg-plist3
4 files changed, 15 insertions, 22 deletions
diff --git a/science/lamprop/Makefile b/science/lamprop/Makefile
index 51a992386ba9..56f2d3288f5a 100644
--- a/science/lamprop/Makefile
+++ b/science/lamprop/Makefile
@@ -2,32 +2,22 @@
# $FreeBSD$
PORTNAME= lamprop
-PORTVERSION= 1.3.3
+PORTVERSION= 1.5.0
CATEGORIES= science
-MASTER_SITES= http://rsmith.home.xs4all.nl/software/
+MASTER_SITES= http://rsmith.home.xs4all.nl/files/
MAINTAINER= rsmith@xs4all.nl
COMMENT= Calculates properties of fiber reinforced composites
-PLIST_FILES= bin/lamprop
+LICENSE= BSD2CLAUSE
-MAN1= lamprop.1
-MAN5= lamprop.5
-MANCOMPRESSED= yes
+RUN_DEPENDS= ${PYNUMPY}
-LICENSE= BSD
-LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= zip
+USE_PYTHON= yes
+PYTHON_VERSION= python2.7
-.if defined(NOPORTDOCS)
-MAKE_ENV= NOPORTDOCS=yes
-.else
-PORTDOCS= LICENSE README NEWS
-.endif
-
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|-pipe||; s|-fmerge-constants||; s|-fno-unit-at-a-time||; s|--fast-math||' \
- ${WRKSRC}/Makefile
+do-install:
+ cd ${WRKSRC} && ${MAKE} PREFIX=${STAGEDIR}${PREFIX} install
.include <bsd.port.mk>
diff --git a/science/lamprop/distinfo b/science/lamprop/distinfo
index 23792aace6a3..97703d666c62 100644
--- a/science/lamprop/distinfo
+++ b/science/lamprop/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lamprop-1.3.3.tar.gz) = 1b9362e629686773a09a27caa5fb608ca39f4b91da53e59e97cad0826ba1d35f
-SIZE (lamprop-1.3.3.tar.gz) = 27270
+SHA256 (lamprop-1.5.0.zip) = 8b5463b7f453e4b80609cb3a4e44a421a50da620357ec2973606cdda592a3e99
+SIZE (lamprop-1.5.0.zip) = 91939
diff --git a/science/lamprop/pkg-descr b/science/lamprop/pkg-descr
index db96ccdf16f5..58a9de8fbc42 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://www.xs4all.nl/~rsmith/software/
+WWW: http://rsmith.home.xs4all.nl/software/lamprop.html
diff --git a/science/lamprop/pkg-plist b/science/lamprop/pkg-plist
new file mode 100644
index 000000000000..d94870a3bb64
--- /dev/null
+++ b/science/lamprop/pkg-plist
@@ -0,0 +1,3 @@
+bin/lamprop
+man/man1/lamprop.1.gz
+man/man5/lamprop.5.gz