83d7fd8ac9
${PORTSDIR} to ${.CURDIR}/../.. in the .include for bsd.octave.mk. This is because USE_GMAKE no longer works after .include <bsd.ports.pre.mk>. - Trim headers. - Clean whitespace. - Portlint.
28 lines
723 B
Makefile
28 lines
723 B
Makefile
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= octave-forge-image
|
|
PORTVERSION= 2.0.0
|
|
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
|
|
|
|
.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>
|