- Add missing items in pkg-plist.
- Portlint. - Bump portrevision. Approved by: maho (mentor) and maho (maintainer)
This commit is contained in:
parent
2cd31c3925
commit
4043cb5122
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277553
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= octave
|
||||
PORTVERSION= 3.4.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ftp://ftp.gnu.org/gnu/octave/ \
|
||||
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/
|
||||
@ -18,10 +19,10 @@ BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot \
|
||||
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
|
||||
gsed:${PORTSDIR}/textproc/gsed \
|
||||
dvips:${PORTSDIR}/print/dvipsk-tetex \
|
||||
${PREFIX}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
||||
${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
||||
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
|
||||
gsed:${PORTSDIR}/textproc/gsed \
|
||||
${PREFIX}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
||||
${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
||||
LIB_DEPENDS= GraphicsMagick.1:${PORTSDIR}/graphics/GraphicsMagick \
|
||||
arpack:${PORTSDIR}/math/arpack \
|
||||
curl:${PORTSDIR}/ftp/curl \
|
||||
@ -120,14 +121,13 @@ post-install:
|
||||
@${FIND} -s $d -not -type d | \
|
||||
${SED} -e 's#^${PREFIX}/##' >> ${WRKDIR}/PLIST
|
||||
@${FIND} -s $d -type d -empty | \
|
||||
${SED} -e 's,^${PREFIX}/,@exec mkdir -p %D/,' \
|
||||
${SED} -e 's,^${PREFIX}/,@exec ${MKDIR} %D/,' \
|
||||
-e 's,$$, 2>/dev/null || true,' >> ${WRKDIR}/PLIST
|
||||
@${FIND} -s $d -type d -depth | \
|
||||
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${WRKDIR}/PLIST
|
||||
.endfor
|
||||
cd ${WRKDIR} ; ${SED} -i -e "/PLIST/ r PLIST" ${TMPPLIST}
|
||||
|
||||
|
||||
check:
|
||||
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check)
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
bin/mkoctfile
|
||||
bin/mkoctfile-%%OCTAVE_VERSION%%
|
||||
bin/octave
|
||||
bin/octave-%%OCTAVE_VERSION%%
|
||||
bin/octave-config
|
||||
bin/octave-config-%%OCTAVE_VERSION%%
|
||||
share/applications/www.octave.org-octave.desktop
|
||||
%%PORTDOCS%%%%DOCSDIR%%/OctaveFAQ.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/liboctave.ps
|
||||
@ -12,3 +14,4 @@ share/applications/www.octave.org-octave.desktop
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@comment Insert PLIST here
|
||||
@dirrmtry share/applications
|
||||
@dirrm lib/octave
|
||||
|
Loading…
Reference in New Issue
Block a user