31 lines
829 B
Makefile
31 lines
829 B
Makefile
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|