summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-26 00:03:45 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-26 00:03:45 +0000
commit08aeefb5cee98ec6ef5daf4d143afae43acfca17 (patch)
tree9febb735b8739404be7dcbeb816df746efe4aa72
parent18c1e62d2472b8b4080574d0f594174944f87c09 (diff)
downloadFreeBSD-ports-08aeefb5cee98ec6ef5daf4d143afae43acfca17.zip
FreeBSD-ports-08aeefb5cee98ec6ef5daf4d143afae43acfca17.tar.gz
- Fix library installation, strip libraries
- Clarify LICENSE - Add LICENSE_FILE
-rw-r--r--math/biggles/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile
index 517de04..38bfb89 100644
--- a/math/biggles/Makefile
+++ b/math/biggles/Makefile
@@ -3,7 +3,7 @@
PORTNAME= biggles
PORTVERSION= 1.6.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= SF
DISTNAME= python2-${PORTNAME}-${PORTVERSION}
@@ -11,7 +11,8 @@ DISTNAME= python2-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Create publication-quality 2D scientific plots
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils
@@ -33,9 +34,13 @@ pre-build:
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/biggles/libplot
- (cd ${WRKSRC}/src && ${INSTALL_DATA} *.ini *.so *.py *.pyc *.pyo \
+ (cd ${WRKSRC}/src && ${INSTALL_DATA} *.ini *.py *.pyc *.pyo \
${STAGEDIR}${PYTHON_SITELIBDIR}/biggles)
- (cd ${WRKSRC}/src/libplot/ && ${INSTALL_DATA} *.so *.py *.pyc *.pyo \
+ (cd ${WRKSRC}/src && ${INSTALL_LIB} *.so \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/biggles)
+ (cd ${WRKSRC}/src/libplot/ && ${INSTALL_DATA} *.py *.pyc *.pyo \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/biggles/libplot)
+ (cd ${WRKSRC}/src/libplot/ && ${INSTALL_LIB} *.so \
${STAGEDIR}${PYTHON_SITELIBDIR}/biggles/libplot)
.include <bsd.port.mk>
OpenPOWER on IntegriCloud