# Created by: Stephen Montgomery-Smith # $FreeBSD: head/math/octave-forge-image/Makefile 370401 2014-10-07 21:54:56Z stephen $ PORTNAME= octave-forge-image PORTVERSION= 2.2.2 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= ${OCTAVE_PKGNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:${PORTSDIR}/math/octave-forge-signal RUN_DEPENDS+= ${TARBALLS_DIR}/general.tar.gz:${PORTSDIR}/math/octave-forge-general USES= compiler:c++0x .include "${.CURDIR}/../../Mk/bsd.octave.mk" post-patch: ${REINPLACE_CMD} s/-Wall// ${WRKSRC}/Makefile post-build: ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include