Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2018 11:42:06 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487795 - in head/science/lamprop: . files
Message-ID:  <201812191142.wBJBg6x4018525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Wed Dec 19 11:42:06 2018
New Revision: 487795
URL: https://svnweb.freebsd.org/changeset/ports/487795

Log:
  - Update to 3.8
  
  PR:		233809
  Submitted by:	rsmith@xs4all.nl(maintainer)

Deleted:
  head/science/lamprop/files/
Modified:
  head/science/lamprop/Makefile
  head/science/lamprop/distinfo

Modified: head/science/lamprop/Makefile
==============================================================================
--- head/science/lamprop/Makefile	Wed Dec 19 10:45:02 2018	(r487794)
+++ head/science/lamprop/Makefile	Wed Dec 19 11:42:06 2018	(r487795)
@@ -1,32 +1,31 @@
 # $FreeBSD$
 
 PORTNAME=	lamprop
-PORTVERSION=	3.4
-PORTREVISION=	2
+PORTVERSION=	3.8
 CATEGORIES=	science python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	rsmith@xs4all.nl
 COMMENT=	Calculates properties of fiber reinforced composites
 
 LICENSE=	BSD2CLAUSE
 
+BUILD_DEPENDS=	${PYNUMPY}
 RUN_DEPENDS=	${PYNUMPY}
 
-USES=		python:3.4+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
 USE_GITHUB=	yes
 GH_ACCOUNT=	rsmith-nl
+
 NO_ARCH=	yes
 
-PLIST_FILES=	bin/lamprop \
-		man/man1/lamprop.1.gz \
-		man/man5/lamprop.5.gz
+PORTDOCS=	lamprop-manual.pdf
 
-do-build:
-	cd ${WRKSRC} && ${PYTHON_VERSION} build.py
+OPTIONS_DEFINE=	DOCS
 
-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
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/lamprop-manual.pdf ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/science/lamprop/distinfo
==============================================================================
--- head/science/lamprop/distinfo	Wed Dec 19 10:45:02 2018	(r487794)
+++ head/science/lamprop/distinfo	Wed Dec 19 11:42:06 2018	(r487795)
@@ -1,3 +1,3 @@
 TIMESTAMP = 1513686957
-SHA256 (rsmith-nl-lamprop-3.4_GH0.tar.gz) = 25ddfe2e110d01a9894f8d4694352377903b7a24df4f5a6127acfe3fc1eb82dc
-SIZE (rsmith-nl-lamprop-3.4_GH0.tar.gz) = 53081
+SHA256 (rsmith-nl-lamprop-3.8_GH0.tar.gz) = 486baf72e0b94f27a31926611a155da6df26cd04a79517d53480083be5da574f
+SIZE (rsmith-nl-lamprop-3.8_GH0.tar.gz) = 221538



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812191142.wBJBg6x4018525>