freebsd-ports/math/octave-forge-optim/Makefile
Stephen Montgomery-Smith 1562e730f5 - Update math/octave to 5.1.0.
- Bump portrevision of unbroken octave-forge-* ports.
- Bump portrevision of math/dynare which uses library files from octave.
- Mark broken: octave-forge-(database|dicom|optim|fits|linear|linear|optim|
  parallel|signal|strings|struct|tisean|video).
- Broken optional dependencies in math/octave-forge to default to off.
- Bump portrevision of math/octave-forge.
2019-03-10 04:56:17 +00:00

37 lines
988 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-optim
PORTVERSION= 1.5.3
PORTREVISION= 3
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= Parts
LICENSE_NAME= See individual files for licenses
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BROKEN= depends upon octave-forge-optim which is broken
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
RUN_DEPENDS+= ${TARBALLS_DIR}/statistics.tar.gz:math/octave-forge-statistics
RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:math/octave-forge-struct
GNU_CONFIGURE= yes
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-build:
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.mk>