aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-data-smoothing
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2011-11-21 01:17:40 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2011-11-21 01:17:40 +0000
commitdf56e1f431553fe11f5a8e45d94d71e5bc584ad4 (patch)
treea49ff5cb6b00ab4e248704a358294b0151f9ee4f /math/octave-forge-data-smoothing
parentd9b2767be3eb8223e3bebb0529ddd1d8771bba4a (diff)
downloadports-df56e1f431553fe11f5a8e45d94d71e5bc584ad4.tar.gz
ports-df56e1f431553fe11f5a8e45d94d71e5bc584ad4.zip
Notes
Diffstat (limited to 'math/octave-forge-data-smoothing')
-rw-r--r--math/octave-forge-data-smoothing/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/octave-forge-data-smoothing/Makefile b/math/octave-forge-data-smoothing/Makefile
index c17078c1e273..2362d9e588a9 100644
--- a/math/octave-forge-data-smoothing/Makefile
+++ b/math/octave-forge-data-smoothing/Makefile
@@ -12,6 +12,10 @@ 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}
+
RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim
.include <bsd.port.pre.mk>
@@ -20,7 +24,7 @@ do-build:
post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
- cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME}
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include "${PORTSDIR}/Mk/bsd.octave.mk"
.include <bsd.port.post.mk>