# Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= octave-forge-optim PORTVERSION= 1.3.0 PORTREVISION= 1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} # 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}/miscellaneous.tar.gz:${PORTSDIR}/math/octave-forge-miscellaneous RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:${PORTSDIR}/math/octave-forge-struct RUN_DEPENDS+= ${TARBALLS_DIR}/parallel.tar.gz:${PORTSDIR}/math/octave-forge-parallel .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-build: ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include