aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-cfitsio
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-12-30 17:49:45 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-12-30 17:54:39 +0000
commit8231864a3b0376f9df37cc3904c4e217efc6110d (patch)
tree1527743df58dab8dec2dc27426e051818ed96898 /math/octave-forge-cfitsio
parentc87a22b7f399da0a3446fb75c57eaba8dc7769ca (diff)
downloadports-8231864a3b0376f9df37cc3904c4e217efc6110d.tar.gz
ports-8231864a3b0376f9df37cc3904c4e217efc6110d.zip
Diffstat (limited to 'math/octave-forge-cfitsio')
-rw-r--r--math/octave-forge-cfitsio/Makefile17
1 files changed, 2 insertions, 15 deletions
diff --git a/math/octave-forge-cfitsio/Makefile b/math/octave-forge-cfitsio/Makefile
index 41fca05002e4..fac0318f1cc0 100644
--- a/math/octave-forge-cfitsio/Makefile
+++ b/math/octave-forge-cfitsio/Makefile
@@ -11,25 +11,12 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WWW= https://packages.octave.org/
LICENSE= GPLv3
-LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
+LICENSE_FILE= ${WRKDIR}/${OCTAVE_SRC}/COPYING
LIB_DEPENDS+= libcfitsio.so:astro/cfitsio
-USES= autoreconf
-
-# OCTSRC is the name of the directory of the package.
-# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
-
-OCTSRC= ${DISTNAME}
-
-WRKSRC= ${WRKDIR}/${OCTSRC}/src
+USES= autoreconf octave
GNU_CONFIGURE= yes
-.include "${.CURDIR}/../../Mk/bsd.octave.mk"
-
-post-build:
- ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
- cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
-
.include <bsd.port.mk>