summaryrefslogtreecommitdiff
path: root/math/octave-forge-fenv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-fenv/Makefile')
-rw-r--r--math/octave-forge-fenv/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/math/octave-forge-fenv/Makefile b/math/octave-forge-fenv/Makefile
index 246082b64b73..79311397a1d3 100644
--- a/math/octave-forge-fenv/Makefile
+++ b/math/octave-forge-fenv/Makefile
@@ -10,20 +10,11 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WWW= https://packages.octave.org/
LICENSE= GPLv2
-LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
+LICENSE_FILE= ${WRKDIR}/${OCTAVE_SRC}/COPYING
+USES= compiler octave
USE_GCC= yes
-# OCTSRC is the name of the directory of the package.
-# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
-OCTSRC= ${OCTAVE_PKGNAME}
-
-WRKSRC= ${WRKDIR}/${OCTSRC}/src
-
-.include "${.CURDIR}/../../Mk/bsd.octave.mk"
-
-post-build:
- ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
- cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
+OCTAVE_SRC= ${OCTAVE_PKGNAME}
.include <bsd.port.mk>