diff options
Diffstat (limited to 'math/octave-forge-octclip/Makefile')
-rw-r--r-- | math/octave-forge-octclip/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/octave-forge-octclip/Makefile b/math/octave-forge-octclip/Makefile index bdd116d98a83..2e42ef74a4e2 100644 --- a/math/octave-forge-octclip/Makefile +++ b/math/octave-forge-octclip/Makefile @@ -7,6 +7,7 @@ PORTNAME= octave-forge-octclip PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org @@ -16,10 +17,11 @@ WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src .include <bsd.port.pre.mk> .include "${PORTSDIR}/Mk/bsd.octave.mk" -post-extract: - ${REINPLACE_CMD} s/CC/MKOCTFILE/ ${WRKSRC}/Makefile +post-patch: + ${REINPLACE_CMD} -e s/CC/MKOCTFILE/ -e s/-Wall// -e s/-Wextra// ${WRKSRC}/Makefile post-build: + ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} .include <bsd.port.post.mk> |