diff options
author | antoine <antoine@FreeBSD.org> | 2015-09-26 17:03:21 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2015-09-26 17:03:21 +0800 |
commit | 574211b7e58d09e85e380ef6cb39a3210e2fbae1 (patch) | |
tree | 2f28dddde221dc4a5d5aeac0e273aabc41788335 /math | |
parent | b769c32a9f06b271a27c3209ac60ba74011ba3df (diff) | |
download | freebsd-ports-gnome-574211b7e58d09e85e380ef6cb39a3210e2fbae1.tar.gz freebsd-ports-gnome-574211b7e58d09e85e380ef6cb39a3210e2fbae1.tar.zst freebsd-ports-gnome-574211b7e58d09e85e380ef6cb39a3210e2fbae1.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)
Diffstat (limited to 'math')
-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 |