diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-09-26 09:03:21 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-09-26 09:03:21 +0000 |
commit | 4e19749f733408ded180bc4b3b56d005b400da65 (patch) | |
tree | 2f28dddde221dc4a5d5aeac0e273aabc41788335 | |
parent | 550390552f48cffc6b9799ef2e257298e8642e92 (diff) | |
download | ports-4e19749f733408ded180bc4b3b56d005b400da65.tar.gz ports-4e19749f733408ded180bc4b3b56d005b400da65.zip |
Use load-octave-pkg in preunexec for octave-forge-base, this is the only
octave-forge-* port where it makes sense since it provides load-octave-pkg
(load-octave-pkg is no longer available postunexec)
Notes
Notes:
svn path=/head/; revision=397946
-rw-r--r-- | math/octave-forge-base/Makefile | 10 | ||||
-rw-r--r-- | math/octave-forge-base/pkg-plist | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/math/octave-forge-base/Makefile b/math/octave-forge-base/Makefile index 41e27eaa259b..085db2a42698 100644 --- a/math/octave-forge-base/Makefile +++ b/math/octave-forge-base/Makefile @@ -3,7 +3,7 @@ PORTNAME= octave-forge-base PORTVERSION= 1.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= #none DISTFILES= #none @@ -14,7 +14,7 @@ COMMENT= Octave-forge baseport for all packages LICENSE= BSD2CLAUSE -RUN_DEPENDS+= octave:${PORTSDIR}/math/octave \ +RUN_DEPENDS= octave:${PORTSDIR}/math/octave \ gmake:${PORTSDIR}/devel/gmake \ p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar \ p5-IO-Zlib>=0:${PORTSDIR}/archivers/p5-IO-Zlib \ @@ -22,10 +22,8 @@ RUN_DEPENDS+= octave:${PORTSDIR}/math/octave \ USES= perl5 SUB_FILES= load-octave-pkg -SUB_LIST+= PERL=${PERL} - -do-build: - @${DO_NADA} +SUB_LIST= PERL=${PERL} +NO_BUILD= yes do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/octave/tarballs diff --git a/math/octave-forge-base/pkg-plist b/math/octave-forge-base/pkg-plist index 0bfdbac961da..c86e64d48d66 100644 --- a/math/octave-forge-base/pkg-plist +++ b/math/octave-forge-base/pkg-plist @@ -1,4 +1,4 @@ -@postunexec %D/libexec/octave/load-octave-pkg || true +@preunexec %D/libexec/octave/load-octave-pkg || true libexec/octave/load-octave-pkg @postexec %D/libexec/octave/load-octave-pkg @dir share/octave/tarballs |