summaryrefslogtreecommitdiff
path: root/math/octave/Makefile
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2022-04-10 03:28:17 -0500
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2022-04-10 03:28:17 -0500
commit3b86347c82ef71a0486447b40684d1c3a0496cbe (patch)
tree48ab04d05c985f82b0ec2947971f4810309ad585 /math/octave/Makefile
parentx11/way-displays: update to 1.5.2 (diff)
math/octave: fix pkg-plist.
- This installed a number of files whose path name is derived from the directory in which the port is built. This is a band-aid fix which deletes those files. This will enable the installation to work if the ports directory is something other than /usr/ports. Reported by: pkg-fallout@
Diffstat (limited to 'math/octave/Makefile')
-rw-r--r--math/octave/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 4f4b2c85b989..060d7fcbbe36 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -2,6 +2,7 @@
PORTNAME= octave
PORTVERSION= ${OCTAVE_VERSION}
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= GNU
@@ -116,8 +117,11 @@ pre-configure:
${REINPLACE_CMD} 's+"makeinfo"+"${LOCALBASE}/bin/makeinfo"+' ${WRKSRC}/libinterp/corefcn/help.cc
${REINPLACE_CMD} 's/"-qt=$$qt_version"/"-qt=qt$$qt_version"/' ${WRKSRC}/configure
+RM_STUFF=${WRKSRC:C+/++:C+/.*++}
+
post-install:
(cd ${STAGEDIR}${DATADIR} && ${LN} -s ${PORTVERSION}/imagelib .)
+ ${RM} -r ${STAGEDIR}${DATADIR}/${PORTVERSION}/etc/tests/fixed/${WRKDIR:C+/++:C+/.*++}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}