freebsd-ports/math/plplot-ada/Makefile
Thierry Thomas 779c36f5c4 - Upgrade math/plplot to 5.11.0
Announcement at
  <https://sourceforge.net/p/plplot/plplot/ci/plplot-5.11.0/tree/README.release>

- Take maintainership

- Chase dependencies.

PR:		ports/199539
Submitted by:	Ben Woods <woodsb02 (at) gmail.com>
Approved by:	marino (for plplot-ada), /me (for gnudatalanguage)
2015-04-22 20:16:04 +00:00

31 lines
797 B
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= plplot
PORTVERSION= ${RELEASE}
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source
PKGNAMESUFFIX= -ada
MAINTAINER= marino@FreeBSD.org
COMMENT= Ada bindings for PLplot
LICENSE= LGPL3
LIB_DEPENDS= libplplot.so:${PORTSDIR}/math/plplot
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}
${CAT} ${FILESDIR}/plplot.gpr.in | \
${SED} -e "s|@PREFIX@|${PREFIX}|g" > ${BUILD_WRKSRC}/plplot.gpr
.include <bsd.port.mk>