1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/science/lamprop/Makefile
Yuri Victorovich 6ce624df42 science/lamprop: Unbreak by fixing the python interpreter in the shebang
While here, added NO_ARCH.

Approved by:	portmgr (port compliance, infrastructure)
2018-03-13 08:27:23 +00:00

34 lines
697 B
Makefile

# $FreeBSD$
PORTNAME= lamprop
PORTVERSION= 3.4
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= GH
MAINTAINER= rsmith@xs4all.nl
COMMENT= Calculates properties of fiber reinforced composites
LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYNUMPY}
USES= python:3.4+
USE_GITHUB= yes
GH_ACCOUNT= rsmith-nl
NO_ARCH= yes
PLIST_FILES= bin/lamprop \
man/man1/lamprop.1.gz \
man/man5/lamprop.5.gz
do-build:
cd ${WRKSRC} && ${PYTHON_VERSION} build.py
do-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>