2014-02-16 23:01:00 +01:00
|
|
|
# Created by: John Marino <marino@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= plplot
|
|
|
|
PORTVERSION= ${RELEASE}
|
2018-03-10 18:46:04 +01:00
|
|
|
PORTREVISION= 1
|
2014-02-16 23:01:00 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source
|
|
|
|
PKGNAMESUFFIX= -ada
|
|
|
|
|
2017-04-21 22:25:00 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-16 23:01:00 +01:00
|
|
|
COMMENT= Ada bindings for PLplot
|
|
|
|
|
|
|
|
LICENSE= LGPL3
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libplplot.so:math/plplot
|
2014-02-16 23:01:00 +01:00
|
|
|
|
|
|
|
USES= ada
|
|
|
|
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../plplot/distinfo
|
|
|
|
RELEASE!= awk '/SHA/ {split($$2,a,"."); print substr(a[1], 9) "." a[2] "." a[3];}' ${DISTINFO_FILE}
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/bindings
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/bindings
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/build_plplot.gpr ${FILESDIR}/Makefile \
|
|
|
|
${BUILD_WRKSRC}
|
2014-10-16 12:56:37 +02:00
|
|
|
${CAT} ${FILESDIR}/plplot.gpr.in | \
|
|
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" > ${BUILD_WRKSRC}/plplot.gpr
|
2014-02-16 23:01:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|