2012-10-23 00:25:12 +02:00
|
|
|
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
2008-09-08 09:24:05 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= octave-forge-msh
|
2014-02-22 20:04:47 +01:00
|
|
|
PORTVERSION= 1.0.10
|
2014-03-10 21:55:20 +01:00
|
|
|
PORTREVISION= 1
|
2009-05-27 00:22:48 +02:00
|
|
|
CATEGORIES= math
|
2008-09-08 09:24:05 +02:00
|
|
|
|
2011-06-14 09:38:51 +02:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2009-05-27 00:22:48 +02:00
|
|
|
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
|
2008-09-08 09:24:05 +02:00
|
|
|
|
2014-01-12 20:19:56 +01:00
|
|
|
LICENSE= GPLv2
|
2014-06-23 02:05:58 +02:00
|
|
|
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
|
2014-01-12 20:19:56 +01:00
|
|
|
|
2011-11-21 02:17:40 +01:00
|
|
|
# OCTSRC is the name of the directory of the package.
|
|
|
|
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
|
2013-07-16 19:23:53 +02:00
|
|
|
OCTSRC= ${OCTAVE_PKGNAME}
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${OCTSRC}/src
|
|
|
|
GNU_CONFIGURE= yes
|
2011-11-21 02:17:40 +01:00
|
|
|
|
2008-09-08 09:24:05 +02:00
|
|
|
RUN_DEPENDS+= ${TARBALLS_DIR}/splines.tar.gz:${PORTSDIR}/math/octave-forge-splines
|
|
|
|
RUN_DEPENDS+= gmsh:${PORTSDIR}/cad/gmsh
|
|
|
|
|
2013-07-05 22:59:44 +02:00
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
|
2014-03-03 03:58:10 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} 's/ $$(LDFLAGS)//' ${WRKSRC}/Makefile.in
|
|
|
|
|
2010-06-05 22:14:44 +02:00
|
|
|
post-build:
|
2011-06-24 06:22:33 +02:00
|
|
|
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
|
2011-11-21 02:17:40 +01:00
|
|
|
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
|
2010-06-05 22:14:44 +02:00
|
|
|
|
2013-07-05 22:59:44 +02:00
|
|
|
.include <bsd.port.mk>
|