aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/octave-forge-mapping/Makefile19
-rw-r--r--math/octave-forge-mapping/distinfo4
2 files changed, 16 insertions, 7 deletions
diff --git a/math/octave-forge-mapping/Makefile b/math/octave-forge-mapping/Makefile
index 35dd11a02271..d28f1204f847 100644
--- a/math/octave-forge-mapping/Makefile
+++ b/math/octave-forge-mapping/Makefile
@@ -2,17 +2,26 @@
# $FreeBSD$
PORTNAME= octave-forge-mapping
-PORTVERSION= 1.0.7
-PORTREVISION= 11
+PORTVERSION= 1.2.0
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-GNU_CONFIGURE= yes
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC= ${OCTAVE_PKGNAME}
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+do-build:
+ @${DO_NADA}
+
+post-build:
+ ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
+
.include <bsd.port.mk>
diff --git a/math/octave-forge-mapping/distinfo b/math/octave-forge-mapping/distinfo
index a79bd2ac93dc..7d75f50d24bf 100644
--- a/math/octave-forge-mapping/distinfo
+++ b/math/octave-forge-mapping/distinfo
@@ -1,2 +1,2 @@
-SHA256 (octave-forge/mapping-1.0.7.tar.gz) = 204b9694dde40340186df7f8992a569fcf9ce7e69934b9fa02d26531840db926
-SIZE (octave-forge/mapping-1.0.7.tar.gz) = 28466
+SHA256 (octave-forge/mapping-1.2.0.tar.gz) = 51430299ef5baa8b1b23281bd5244bc165292bf87ac252f31d837e907dd9e715
+SIZE (octave-forge/mapping-1.2.0.tar.gz) = 62999