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)
This commit is contained in:
parent
550390552f
commit
4e19749f73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397946
2 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue