aboutsummaryrefslogtreecommitdiff
path: root/science/lamprop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/lamprop/Makefile')
-rw-r--r--science/lamprop/Makefile28
1 files changed, 9 insertions, 19 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>