blob: b25c086c4a07b21b1bbf9d2ac10683141ee22edc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= lamprop
PORTVERSION= 2020.12.28
CATEGORIES= science python
MAINTAINER= rsmith@xs4all.nl
COMMENT= Calculates properties of fiber reinforced composites
LICENSE= BSD2CLAUSE
USES= python:3.6+ shebangfix
SHEBANG_FILES= setup.py
USE_GITHUB= yes
GH_ACCOUNT= rsmith-nl
NO_ARCH= yes
PORTDOCS= lamprop-manual.pdf README.rst
PLIST_FILES= bin/lamprop
OPTIONS_DEFINE= DOCS GUI
GUI_DESC= Tkinter GUI for lamprop
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
GUI_PLIST_FILES= bin/lamprop-gui
do-build:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/lamprop ${STAGEDIR}${PREFIX}/bin
do-install-GUI-on:
${INSTALL_SCRIPT} ${WRKSRC}/lamprop-gui ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/lamprop-manual.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|