aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/GiNaC/Makefile2
-rw-r--r--math/PDL/Makefile48
-rw-r--r--math/R-cran-Amelia/Makefile8
-rw-r--r--math/R-cran-ChangeAnomalyDetection/Makefile4
-rw-r--r--math/R-cran-MCMCpack/Makefile2
-rw-r--r--math/R-cran-NMF/Makefile24
-rw-r--r--math/R-cran-RcppArmadillo/Makefile2
-rw-r--r--math/R-cran-RcppEigen/Makefile2
-rw-r--r--math/R-cran-Zelig/Makefile52
-rw-r--r--math/R-cran-car/Makefile8
-rw-r--r--math/R-cran-dplyr/Makefile28
-rw-r--r--math/R-cran-forecast/Makefile14
-rw-r--r--math/R-cran-igraph/Makefile8
-rw-r--r--math/R-cran-lme4/Makefile8
-rw-r--r--math/R-cran-maxLik/Makefile8
-rw-r--r--math/R-cran-minqa/Makefile2
-rw-r--r--math/R-cran-nloptr/Makefile2
-rw-r--r--math/R-cran-pbkrtest/Makefile2
-rw-r--r--math/R-cran-quantreg/Makefile4
-rw-r--r--math/R-cran-sandwich/Makefile2
-rw-r--r--math/R-cran-spdep/Makefile8
-rw-r--r--math/R-cran-sspir/Makefile4
-rw-r--r--math/R-cran-xts/Makefile2
-rw-r--r--math/R/Makefile20
-rw-r--r--math/abacus/Makefile2
-rw-r--r--math/abakus/Makefile4
-rw-r--r--math/algotutor/Makefile2
-rw-r--r--math/alt-ergo-spark/Makefile6
-rw-r--r--math/alt-ergo/Makefile10
-rw-r--r--math/apc/Makefile2
-rw-r--r--math/armadillo/Makefile8
-rw-r--r--math/arpack++/Makefile12
-rw-r--r--math/arpack-ng/Makefile10
-rw-r--r--math/arpack/Makefile6
-rw-r--r--math/asir2000/Makefile2
-rw-r--r--math/aspcud/Makefile10
-rw-r--r--math/asymptote/Makefile22
-rw-r--r--math/atlas/Makefile4
-rw-r--r--math/bargraph/Makefile4
-rw-r--r--math/biggles/Makefile2
-rw-r--r--math/blacs/Makefile6
-rw-r--r--math/blitz++/Makefile4
-rw-r--r--math/blocksolve95/Makefile4
-rw-r--r--math/bsdnt/Makefile2
-rw-r--r--math/calctool/Makefile2
-rw-r--r--math/cantor/Makefile20
-rw-r--r--math/carve/Makefile4
-rw-r--r--math/cblas/Makefile2
-rw-r--r--math/cgal/Makefile8
-rw-r--r--math/chryzodus/Makefile2
-rw-r--r--math/clblas/Makefile8
-rw-r--r--math/clfft/Makefile6
-rw-r--r--math/cln/Makefile2
-rw-r--r--math/cloog/Makefile4
-rw-r--r--math/clrng/Makefile6
-rw-r--r--math/coinmp/Makefile2
-rw-r--r--math/convertall/Makefile4
-rw-r--r--math/coq/Makefile10
-rw-r--r--math/crlibm/Makefile2
-rw-r--r--math/cryptominisat/Makefile4
-rw-r--r--math/cvc3/Makefile2
-rw-r--r--math/dieharder/Makefile2
-rw-r--r--math/drgeo/Makefile2
-rw-r--r--math/dynare/Makefile10
-rw-r--r--math/ess/Makefile2
-rw-r--r--math/eukleides/Makefile6
-rw-r--r--math/fflas-ffpack/Makefile12
-rw-r--r--math/fityk/Makefile10
-rw-r--r--math/fpc-fftw/Makefile2
-rw-r--r--math/fpc-gmp/Makefile2
-rw-r--r--math/freemat/Makefile20
-rw-r--r--math/fricas/Makefile4
-rw-r--r--math/gap/Makefile2
-rw-r--r--math/gdcalc/Makefile2
-rw-r--r--math/geogebra/Makefile2
-rw-r--r--math/ggobi/Makefile2
-rw-r--r--math/giacxcas/Makefile16
-rw-r--r--math/givaro/Makefile6
-rw-r--r--math/glgraph/Makefile4
-rw-r--r--math/glpk/Makefile4
-rw-r--r--math/gmp-ecm/Makefile2
-rw-r--r--math/gnome-calculator/Makefile4
-rw-r--r--math/gnumeric/Makefile8
-rw-r--r--math/gnuplot-tex-extras/Makefile2
-rw-r--r--math/gnuplot/Makefile6
-rw-r--r--math/grace/Makefile16
-rw-r--r--math/gracetmpl/Makefile4
-rw-r--r--math/gretl/Makefile18
-rw-r--r--math/gri/Makefile4
-rw-r--r--math/gringo/Makefile2
-rw-r--r--math/hfst/Makefile2
-rw-r--r--math/igraph/Makefile2
-rw-r--r--math/jacal/Makefile4
-rw-r--r--math/jags/Makefile8
-rw-r--r--math/jama/Makefile4
-rw-r--r--math/jlatexmath/Makefile14
-rw-r--r--math/jts/Makefile6
-rw-r--r--math/kalgebra/Makefile2
-rw-r--r--math/kcalc/Makefile4
-rw-r--r--math/kig/Makefile2
-rw-r--r--math/kktdirect/Makefile8
-rw-r--r--math/labplot/Makefile2
-rw-r--r--math/lapack/Makefile10
-rw-r--r--math/libflame/Makefile20
-rw-r--r--math/libjbigi/Makefile2
-rw-r--r--math/libmissing/Makefile2
-rw-r--r--math/liborigin/Makefile4
-rw-r--r--math/libproj4/Makefile4
-rw-r--r--math/libqalculate/Makefile2
-rw-r--r--math/librsb/Makefile4
-rw-r--r--math/libtsnnls/Makefile10
-rw-r--r--math/linpack/Makefile2
-rw-r--r--math/lll_spect/Makefile4
-rw-r--r--math/ltl/Makefile4
-rw-r--r--math/matio/Makefile2
-rw-r--r--math/matlab-installer/Makefile6
-rw-r--r--math/maxima/Makefile12
-rw-r--r--math/mbasecalc/Makefile2
-rw-r--r--math/mingw32-libgmp/Makefile4
-rw-r--r--math/mosesdecoder/Makefile12
-rw-r--r--math/mpc/Makefile4
-rw-r--r--math/mpfr/Makefile4
-rw-r--r--math/mpir/Makefile2
-rw-r--r--math/msieve/Makefile2
-rw-r--r--math/mumps/Makefile20
-rw-r--r--math/ndiff/Makefile2
-rw-r--r--math/nlopt/Makefile10
-rw-r--r--math/ntl/Makefile2
-rw-r--r--math/numdiff/Makefile2
-rw-r--r--math/ocaml-ocamlgraph/Makefile4
-rw-r--r--math/ocaml-zarith/Makefile2
-rw-r--r--math/ocamlgsl/Makefile6
-rw-r--r--math/octave-forge-base/Makefile10
-rw-r--r--math/octave-forge-bim/Makefile4
-rw-r--r--math/octave-forge-communications/Makefile2
-rw-r--r--math/octave-forge-data-smoothing/Makefile2
-rw-r--r--math/octave-forge-dicom/Makefile2
-rw-r--r--math/octave-forge-econometrics/Makefile2
-rw-r--r--math/octave-forge-financial/Makefile2
-rw-r--r--math/octave-forge-fits/Makefile2
-rw-r--r--math/octave-forge-fpl/Makefile2
-rw-r--r--math/octave-forge-geometry/Makefile2
-rw-r--r--math/octave-forge-gsl/Makefile2
-rw-r--r--math/octave-forge-interval/Makefile2
-rw-r--r--math/octave-forge-ltfat/Makefile6
-rw-r--r--math/octave-forge-mechanics/Makefile6
-rw-r--r--math/octave-forge-miscellaneous/Makefile2
-rw-r--r--math/octave-forge-msh/Makefile4
-rw-r--r--math/octave-forge-ncarray/Makefile4
-rw-r--r--math/octave-forge-netcdf/Makefile2
-rw-r--r--math/octave-forge-ocs/Makefile2
-rw-r--r--math/octave-forge-oct2mat/Makefile2
-rw-r--r--math/octave-forge-octcdf/Makefile2
-rw-r--r--math/octave-forge-octproj/Makefile2
-rw-r--r--math/octave-forge-optim/Makefile2
-rw-r--r--math/octave-forge-secs1d/Makefile2
-rw-r--r--math/octave-forge-secs3d/Makefile4
-rw-r--r--math/octave-forge-signal/Makefile2
-rw-r--r--math/octave-forge-sockets/Makefile2
-rw-r--r--math/octave-forge-sparsersb/Makefile2
-rw-r--r--math/octave-forge-statistics/Makefile2
-rw-r--r--math/octave-forge-symbolic/Makefile4
-rw-r--r--math/octave-forge-tisean/Makefile2
-rw-r--r--math/octave-forge-video/Makefile2
-rw-r--r--math/octave-forge-xraylib/Makefile2
-rw-r--r--math/octave-forge-zenity/Makefile2
-rw-r--r--math/octave-forge-zeromq/Makefile2
-rw-r--r--math/octave-forge/Makefile6
-rw-r--r--math/octave/Makefile44
-rw-r--r--math/oleo/Makefile6
-rw-r--r--math/open-axiom/Makefile4
-rw-r--r--math/orpie/Makefile2
-rw-r--r--math/p5-AI-Perceptron/Makefile2
-rw-r--r--math/p5-Algorithm-CurveFit/Makefile4
-rw-r--r--math/p5-Algorithm-KMeans/Makefile6
-rw-r--r--math/p5-Bit-Vector/Makefile2
-rw-r--r--math/p5-CAD-Calc/Makefile6
-rw-r--r--math/p5-Chart-Math-Axis/Makefile2
-rw-r--r--math/p5-GIS-Distance-Fast/Makefile2
-rw-r--r--math/p5-GIS-Distance-Lite/Makefile2
-rw-r--r--math/p5-GIS-Distance/Makefile10
-rw-r--r--math/p5-Geo-Distance-XS/Makefile4
-rw-r--r--math/p5-Geo-Distance/Makefile2
-rw-r--r--math/p5-Graph/Makefile2
-rw-r--r--math/p5-Math-BaseCnv/Makefile4
-rw-r--r--math/p5-Math-BigInt-FastCalc/Makefile2
-rw-r--r--math/p5-Math-BigInt-GMP/Makefile4
-rw-r--r--math/p5-Math-BigInt-Pari/Makefile4
-rw-r--r--math/p5-Math-BigInt/Makefile2
-rw-r--r--math/p5-Math-Currency/Makefile2
-rw-r--r--math/p5-Math-GMP/Makefile4
-rw-r--r--math/p5-Math-GMPf/Makefile6
-rw-r--r--math/p5-Math-GMPq/Makefile6
-rw-r--r--math/p5-Math-GMPz/Makefile6
-rw-r--r--math/p5-Math-GSL/Makefile12
-rw-r--r--math/p5-Math-Geometry-Planar-Offset/Makefile2
-rw-r--r--math/p5-Math-Geometry-Planar/Makefile4
-rw-r--r--math/p5-Math-Geometry-Voronoi/Makefile4
-rw-r--r--math/p5-Math-Geometry/Makefile2
-rw-r--r--math/p5-Math-Int128/Makefile4
-rw-r--r--math/p5-Math-MPC/Makefile8
-rw-r--r--math/p5-Math-MPFR/Makefile12
-rw-r--r--math/p5-Math-MatrixReal/Makefile2
-rw-r--r--math/p5-Math-Pari/Makefile4
-rw-r--r--math/p5-Math-Polygon-Tree/Makefile8
-rw-r--r--math/p5-Math-Polygon/Makefile2
-rw-r--r--math/p5-Math-Polynomial-Solve/Makefile2
-rw-r--r--math/p5-Math-Prime-XS/Makefile8
-rw-r--r--math/p5-Math-RPN/Makefile2
-rw-r--r--math/p5-Math-Random-ISAAC-XS/Makefile2
-rw-r--r--math/p5-Math-Random-ISAAC/Makefile4
-rw-r--r--math/p5-Math-Random-MT-Auto/Makefile6
-rw-r--r--math/p5-Math-Random-MT/Makefile2
-rw-r--r--math/p5-Math-Random-OO/Makefile8
-rw-r--r--math/p5-Math-Random-Secure/Makefile10
-rw-r--r--math/p5-Math-RandomOrg/Makefile2
-rw-r--r--math/p5-Math-Sequence/Makefile2
-rw-r--r--math/p5-Math-Series/Makefile4
-rw-r--r--math/p5-Math-Spline/Makefile2
-rw-r--r--math/p5-Math-Symbolic-Custom-CCompiler/Makefile6
-rw-r--r--math/p5-Math-Symbolic-Custom-Contains/Makefile2
-rw-r--r--math/p5-Math-Symbolic-Custom-ErrorPropagation/Makefile2
-rw-r--r--math/p5-Math-Symbolic-Custom-LaTeXDumper/Makefile2
-rw-r--r--math/p5-Math-Symbolic-Custom-Pattern/Makefile8
-rw-r--r--math/p5-Math-Symbolic-Custom-Simplification/Makefile2
-rw-r--r--math/p5-Math-Symbolic-Custom-Transformation/Makefile4
-rw-r--r--math/p5-Math-Symbolic/Makefile2
-rw-r--r--math/p5-Math-SymbolicX-BigNum/Makefile4
-rw-r--r--math/p5-Math-SymbolicX-Complex/Makefile4
-rw-r--r--math/p5-Math-SymbolicX-Error/Makefile6
-rw-r--r--math/p5-Math-SymbolicX-Inline/Makefile4
-rw-r--r--math/p5-Math-SymbolicX-NoSimplification/Makefile2
-rw-r--r--math/p5-Math-SymbolicX-ParserExtensionFactory/Makefile2
-rw-r--r--math/p5-Math-SymbolicX-Statistics-Distributions/Makefile6
-rw-r--r--math/p5-NetCDF/Makefile2
-rw-r--r--math/p5-Number-WithError-LaTeX/Makefile10
-rw-r--r--math/p5-Number-WithError/Makefile6
-rw-r--r--math/p5-Parse-Range/Makefile2
-rw-r--r--math/p5-Set-IntSpan-Fast-XS/Makefile4
-rw-r--r--math/p5-Set-IntSpan-Fast/Makefile2
-rw-r--r--math/p5-Statistics-Basic/Makefile2
-rw-r--r--math/p5-Statistics-Contingency/Makefile2
-rw-r--r--math/p5-Statistics-R/Makefile8
-rw-r--r--math/p5-Statistics-TTest/Makefile4
-rw-r--r--math/p5-Task-Math-Symbolic/Makefile26
-rw-r--r--math/p5-bignum/Makefile2
-rw-r--r--math/pari/Makefile2
-rw-r--r--math/parmetis/Makefile10
-rw-r--r--math/parmgridgen/Makefile2
-rw-r--r--math/pdal/Makefile16
-rw-r--r--math/ploticus/Makefile8
-rw-r--r--math/plplot-ada/Makefile2
-rw-r--r--math/plplot/Makefile28
-rw-r--r--math/proofgeneral/Makefile6
-rw-r--r--math/pspp/Makefile8
-rw-r--r--math/py-apgl/Makefile2
-rw-r--r--math/py-basemap/Makefile4
-rw-r--r--math/py-bitmath/Makefile2
-rw-r--r--math/py-bottleneck/Makefile4
-rw-r--r--math/py-colormath/Makefile4
-rw-r--r--math/py-cryptominisat/Makefile2
-rw-r--r--math/py-fastcluster/Makefile2
-rw-r--r--math/py-fiat/Makefile2
-rw-r--r--math/py-gato/Makefile2
-rw-r--r--math/py-gmpy/Makefile2
-rw-r--r--math/py-gnuplot/Makefile2
-rw-r--r--math/py-gsl/Makefile2
-rw-r--r--math/py-igraph/Makefile2
-rw-r--r--math/py-mathdom/Makefile2
-rw-r--r--math/py-matplotlib/Makefile36
-rw-r--r--math/py-mpmath/Makefile2
-rw-r--r--math/py-networkx/Makefile18
-rw-r--r--math/py-numpy/Makefile6
-rw-r--r--math/py-pandas/Makefile62
-rw-r--r--math/py-patsy/Makefile2
-rw-r--r--math/py-plastex/Makefile2
-rw-r--r--math/py-pybloom/Makefile2
-rw-r--r--math/py-pycosat/Makefile2
-rw-r--r--math/py-pyfst/Makefile2
-rw-r--r--math/py-pymc/Makefile12
-rw-r--r--math/py-scientific/Makefile2
-rw-r--r--math/py-statsmodels/Makefile14
-rw-r--r--math/py-symeig/Makefile6
-rw-r--r--math/py-sympy/Makefile2
-rw-r--r--math/py-theano/Makefile2
-rw-r--r--math/qalculate/Makefile6
-rw-r--r--math/qrupdate/Makefile4
-rw-r--r--math/qtiplot-doc/Makefile8
-rw-r--r--math/qtiplot/Makefile14
-rw-r--r--math/qtoctave/Makefile2
-rw-r--r--math/reduce/Makefile6
-rw-r--r--math/rkward-kde4/Makefile18
-rw-r--r--math/rocs/Makefile4
-rw-r--r--math/rpcalc/Makefile4
-rw-r--r--math/rpy/Makefile4
-rw-r--r--math/rpy2/Makefile4
-rw-r--r--math/rubygem-fftw3/Makefile4
-rw-r--r--math/rubygem-narray_miss/Makefile2
-rw-r--r--math/rubygem-numru-misc/Makefile4
-rw-r--r--math/rubygem-rb-gsl/Makefile4
-rw-r--r--math/saga/Makefile22
-rw-r--r--math/sage/Makefile16
-rw-r--r--math/scalapack/Makefile16
-rw-r--r--math/scilab-toolbox-sivp/Makefile6
-rw-r--r--math/scilab-toolbox-swt/Makefile4
-rw-r--r--math/scilab/Makefile74
-rw-r--r--math/sdpara/Makefile6
-rw-r--r--math/sfft/Makefile4
-rw-r--r--math/slgrace/Makefile4
-rw-r--r--math/snns/Makefile2
-rw-r--r--math/spooles/Makefile2
-rw-r--r--math/stp/Makefile6
-rw-r--r--math/suitesparse/Makefile2
-rw-r--r--math/superlu_mt/Makefile6
-rw-r--r--math/surf/Makefile4
-rw-r--r--math/tablix/Makefile4
-rw-r--r--math/taucs/Makefile8
-rw-r--r--math/testu01/Makefile2
-rw-r--r--math/timbl/Makefile2
-rw-r--r--math/trlan/Makefile4
-rw-r--r--math/tvmet/Makefile2
-rw-r--r--math/ufc/Makefile4
-rw-r--r--math/unuran/Makefile2
-rw-r--r--math/vowpal_wabbit/Makefile2
-rw-r--r--math/vtk5/Makefile16
-rw-r--r--math/vtk6/Makefile16
-rw-r--r--math/wcalc/Makefile4
-rw-r--r--math/why3-spark/Makefile14
-rw-r--r--math/why3/Makefile14
-rw-r--r--math/wxMaxima/Makefile2
-rw-r--r--math/xldlas/Makefile2
-rw-r--r--math/xspread/Makefile2
-rw-r--r--math/yacas/Makefile2
-rw-r--r--math/z3/Makefile2
334 files changed, 1007 insertions, 1007 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile
index d83a63e83c8a..0d13a5880df0 100644
--- a/math/GiNaC/Makefile
+++ b/math/GiNaC/Makefile
@@ -14,7 +14,7 @@ COMMENT= C++ library for symbolic mathematical calculations
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln
+LIB_DEPENDS= libcln.so:math/cln
USES= gmake libtool makeinfo pathfix pkgconfig python:build tar:bzip2
GNU_CONFIGURE= yes
diff --git a/math/PDL/Makefile b/math/PDL/Makefile
index 8aaf0cb1220e..931e92a7cf0a 100644
--- a/math/PDL/Makefile
+++ b/math/PDL/Makefile
@@ -13,17 +13,17 @@ COMMENT= Perl Data Language
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Astro-FITS-Header>=0:${PORTSDIR}/astro/p5-Astro-FITS-Header \
- p5-Convert-UU>=0:${PORTSDIR}/converters/p5-Convert-UU \
- p5-File-Map>=0.57:${PORTSDIR}/devel/p5-File-Map \
- p5-Inline>=0.68:${PORTSDIR}/devel/p5-Inline \
- p5-Inline-C>=0.62:${PORTSDIR}/devel/p5-Inline-C \
- p5-Module-Compile>=0.23:${PORTSDIR}/devel/p5-Module-Compile
+BUILD_DEPENDS= p5-Astro-FITS-Header>=0:astro/p5-Astro-FITS-Header \
+ p5-Convert-UU>=0:converters/p5-Convert-UU \
+ p5-File-Map>=0.57:devel/p5-File-Map \
+ p5-Inline>=0.68:devel/p5-Inline \
+ p5-Inline-C>=0.62:devel/p5-Inline-C \
+ p5-Module-Compile>=0.23:devel/p5-Module-Compile
RUN_DEPENDS:= ${BUILD_DEPENDS}
-BUILD_DEPENDS+= p5-Devel-CheckLib>=1.01:${PORTSDIR}/devel/p5-Devel-CheckLib
-TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
- p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
- p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
+BUILD_DEPENDS+= p5-Devel-CheckLib>=1.01:devel/p5-Devel-CheckLib
+TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \
+ p5-Test-Exception>=0:devel/p5-Test-Exception \
+ p5-Test-Warn>=0:devel/p5-Test-Warn
PORTSCOUT= limit:^[0-9]\.[0-9][0-9]+[0-9\.]*$$
@@ -55,22 +55,22 @@ F77_DESC= Enable PDL::Minuit and PDL::Slatec
READLINE_DESC= Use GNU readline
SINK_DESC= Include PDL kitchen sink
-PGPLOT_BUILD_DEPENDS= p5-PGPLOT>=0:${PORTSDIR}/graphics/p5-PGPLOT
-PLPLOT_LIB_DEPENDS= libplplotd.so:${PORTSDIR}/math/plplot
-OPENGL_BUILD_DEPENDS= p5-OpenGL>=0.65:${PORTSDIR}/graphics/p5-OpenGL
+PGPLOT_BUILD_DEPENDS= p5-PGPLOT>=0:graphics/p5-PGPLOT
+PLPLOT_LIB_DEPENDS= libplplotd.so:math/plplot
+OPENGL_BUILD_DEPENDS= p5-OpenGL>=0.65:graphics/p5-OpenGL
OPENGL_RUN_DEPENDS:= ${OPENGL_BUILD_DEPENDS}
OPENGL_USE= gl=yes
-GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
-F77_BUILD_DEPENDS= p5-ExtUtils-F77>=0:${PORTSDIR}/lang/p5-ExtUtils-F77
-FFTW_LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw
-GSL_LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
-HDF_LIB_DEPENDS= libdf.so:${PORTSDIR}/science/hdf
-PROJ_LIB_DEPENDS= libproj.so:${PORTSDIR}/graphics/proj
-READLINE_RUN_DEPENDS= p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu
-READLINE_RUN_DEPENDS_OFF= p5-ReadLine-Perl>=0:${PORTSDIR}/devel/p5-ReadLine-Perl
-SINK_RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \
- mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \
- saoimage:${PORTSDIR}/astro/saoimage
+GD_LIB_DEPENDS= libgd.so:graphics/gd
+F77_BUILD_DEPENDS= p5-ExtUtils-F77>=0:lang/p5-ExtUtils-F77
+FFTW_LIB_DEPENDS= libfftw.so:math/fftw
+GSL_LIB_DEPENDS= libgsl.so:math/gsl
+HDF_LIB_DEPENDS= libdf.so:science/hdf
+PROJ_LIB_DEPENDS= libproj.so:graphics/proj
+READLINE_RUN_DEPENDS= p5-ReadLine-Gnu>=0:devel/p5-ReadLine-Gnu
+READLINE_RUN_DEPENDS_OFF= p5-ReadLine-Perl>=0:devel/p5-ReadLine-Perl
+SINK_RUN_DEPENDS= ppmtogif:graphics/netpbm \
+ mpeg_encode:multimedia/mpeg_encode \
+ saoimage:astro/saoimage
post-patch:
@${GREP} -lR '#!/.*bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/.*bin/perl|#!${PERL}|' -i ''
diff --git a/math/R-cran-Amelia/Makefile b/math/R-cran-Amelia/Makefile
index f3514eaa967c..138c776f9a91 100644
--- a/math/R-cran-Amelia/Makefile
+++ b/math/R-cran-Amelia/Makefile
@@ -12,10 +12,10 @@ COMMENT= Program for Missing Data
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-BUILD_DEPENDS= R-cran-Rcpp>=0.11:${PORTSDIR}/devel/R-cran-Rcpp \
- R-cran-RcppArmadillo>=0:${PORTSDIR}/math/R-cran-RcppArmadillo
-RUN_DEPENDS= R-cran-Rcpp>=0.11:${PORTSDIR}/devel/R-cran-Rcpp \
- R-cran-RcppArmadillo>=0:${PORTSDIR}/math/R-cran-RcppArmadillo
+BUILD_DEPENDS= R-cran-Rcpp>=0.11:devel/R-cran-Rcpp \
+ R-cran-RcppArmadillo>=0:math/R-cran-RcppArmadillo
+RUN_DEPENDS= R-cran-Rcpp>=0.11:devel/R-cran-Rcpp \
+ R-cran-RcppArmadillo>=0:math/R-cran-RcppArmadillo
USES= cran:auto-plist
diff --git a/math/R-cran-ChangeAnomalyDetection/Makefile b/math/R-cran-ChangeAnomalyDetection/Makefile
index 2a4345b664ad..6aacb7467616 100644
--- a/math/R-cran-ChangeAnomalyDetection/Makefile
+++ b/math/R-cran-ChangeAnomalyDetection/Makefile
@@ -12,8 +12,8 @@ COMMENT= Change Anomaly Detection
LICENSE= BSD
-RUN_DEPENDS= R-cran-TTR>0:${PORTSDIR}/finance/R-cran-TTR \
- R-cran-forecast>0:${PORTSDIR}/math/R-cran-forecast
+RUN_DEPENDS= R-cran-TTR>0:finance/R-cran-TTR \
+ R-cran-forecast>0:math/R-cran-forecast
USES= cran:auto-plist
diff --git a/math/R-cran-MCMCpack/Makefile b/math/R-cran-MCMCpack/Makefile
index fe7b7f4bc38b..dc33fbf468ae 100644
--- a/math/R-cran-MCMCpack/Makefile
+++ b/math/R-cran-MCMCpack/Makefile
@@ -12,7 +12,7 @@ COMMENT= Markov chain Monte Carlo Package
LICENSE= GPLv3
-RUN_DEPENDS= R-cran-coda>0.11.3:${PORTSDIR}/math/R-cran-coda
+RUN_DEPENDS= R-cran-coda>0.11.3:math/R-cran-coda
# Actually required 4.0 or later.
USE_GCC= any
diff --git a/math/R-cran-NMF/Makefile b/math/R-cran-NMF/Makefile
index 8e50e759593e..a3dd6b76c485 100644
--- a/math/R-cran-NMF/Makefile
+++ b/math/R-cran-NMF/Makefile
@@ -12,18 +12,18 @@ COMMENT= Algorithms and Framework for Nonnegative Matrix Factorization
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= R-cran-pkgmaker>=0.20:${PORTSDIR}/devel/R-cran-pkgmaker \
- R-cran-registry>0:${PORTSDIR}/devel/R-cran-registry \
- R-cran-rngtools>=1.2.3:${PORTSDIR}/devel/R-cran-rngtools \
- R-cran-stringr>=1.0.0:${PORTSDIR}/textproc/R-cran-stringr \
- R-cran-digest>0:${PORTSDIR}/security/R-cran-digest \
- R-cran-gridBase>0:${PORTSDIR}/graphics/R-cran-gridBase \
- R-cran-colorspace>0:${PORTSDIR}/graphics/R-cran-colorspace \
- R-cran-RColorBrewer>0:${PORTSDIR}/graphics/R-cran-RColorBrewer \
- R-cran-foreach>0:${PORTSDIR}/devel/R-cran-foreach \
- R-cran-doParallel>0:${PORTSDIR}/devel/R-cran-doParallel \
- R-cran-ggplot2>0:${PORTSDIR}/graphics/R-cran-ggplot2 \
- R-cran-reshape2>0:${PORTSDIR}/devel/R-cran-reshape2
+RUN_DEPENDS= R-cran-pkgmaker>=0.20:devel/R-cran-pkgmaker \
+ R-cran-registry>0:devel/R-cran-registry \
+ R-cran-rngtools>=1.2.3:devel/R-cran-rngtools \
+ R-cran-stringr>=1.0.0:textproc/R-cran-stringr \
+ R-cran-digest>0:security/R-cran-digest \
+ R-cran-gridBase>0:graphics/R-cran-gridBase \
+ R-cran-colorspace>0:graphics/R-cran-colorspace \
+ R-cran-RColorBrewer>0:graphics/R-cran-RColorBrewer \
+ R-cran-foreach>0:devel/R-cran-foreach \
+ R-cran-doParallel>0:devel/R-cran-doParallel \
+ R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
+ R-cran-reshape2>0:devel/R-cran-reshape2
USES= cran:auto-plist
diff --git a/math/R-cran-RcppArmadillo/Makefile b/math/R-cran-RcppArmadillo/Makefile
index f570bd3c9829..806e1ed62bdc 100644
--- a/math/R-cran-RcppArmadillo/Makefile
+++ b/math/R-cran-RcppArmadillo/Makefile
@@ -11,7 +11,7 @@ COMMENT= Rcpp integration for Armadillo templated linear algebra library
LICENSE= GPLv2+
-RUN_DEPENDS= R-cran-Rcpp>=0.11.0:${PORTSDIR}/devel/R-cran-Rcpp
+RUN_DEPENDS= R-cran-Rcpp>=0.11.0:devel/R-cran-Rcpp
USES= cran:auto-plist
diff --git a/math/R-cran-RcppEigen/Makefile b/math/R-cran-RcppEigen/Makefile
index 6ab1587eef47..e08e197aea9f 100644
--- a/math/R-cran-RcppEigen/Makefile
+++ b/math/R-cran-RcppEigen/Makefile
@@ -12,7 +12,7 @@ COMMENT= Rcpp integration for the Eigen templated linear algebra library
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= R-cran-Rcpp>=0.11.0:${PORTSDIR}/devel/R-cran-Rcpp
+RUN_DEPENDS= R-cran-Rcpp>=0.11.0:devel/R-cran-Rcpp
USES= cran:auto-plist
diff --git a/math/R-cran-Zelig/Makefile b/math/R-cran-Zelig/Makefile
index 7e56613781af..eebcebf1754c 100644
--- a/math/R-cran-Zelig/Makefile
+++ b/math/R-cran-Zelig/Makefile
@@ -12,32 +12,32 @@ COMMENT= Everyone's Statistical Software
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-BUILD_DEPENDS= R-cran-AER>=0:${PORTSDIR}/finance/R-cran-AER \
- R-cran-Amelia>=0:${PORTSDIR}/math/R-cran-Amelia \
- R-cran-sandwich>=0:${PORTSDIR}/math/R-cran-sandwich \
- R-cran-VGAM>=0:${PORTSDIR}/math/R-cran-VGAM \
- R-cran-plyr>=0:${PORTSDIR}/devel/R-cran-plyr \
- R-cran-quantreg>=0:${PORTSDIR}/math/R-cran-quantreg \
- R-cran-MCMCpack>=0:${PORTSDIR}/math/R-cran-MCMCpack \
- R-cran-maxLik>=0:${PORTSDIR}/math/R-cran-maxLik \
- R-cran-jsonlite>=0:${PORTSDIR}/converters/R-cran-jsonlite \
- R-cran-dplyr>=0:${PORTSDIR}/math/R-cran-dplyr \
- R-cran-MatchIt>=0:${PORTSDIR}/math/R-cran-MatchIt \
- R-cran-geepack>=0:${PORTSDIR}/math/R-cran-geepack \
- R-cran-survey>=0:${PORTSDIR}/math/R-cran-survey
-RUN_DEPENDS= R-cran-AER>=0:${PORTSDIR}/finance/R-cran-AER \
- R-cran-Amelia>=0:${PORTSDIR}/math/R-cran-Amelia \
- R-cran-sandwich>=0:${PORTSDIR}/math/R-cran-sandwich \
- R-cran-VGAM>=0:${PORTSDIR}/math/R-cran-VGAM \
- R-cran-plyr>=0:${PORTSDIR}/devel/R-cran-plyr \
- R-cran-quantreg>=0:${PORTSDIR}/math/R-cran-quantreg \
- R-cran-MCMCpack>=0:${PORTSDIR}/math/R-cran-MCMCpack \
- R-cran-maxLik>=0:${PORTSDIR}/math/R-cran-maxLik \
- R-cran-jsonlite>=0:${PORTSDIR}/converters/R-cran-jsonlite \
- R-cran-dplyr>=0:${PORTSDIR}/math/R-cran-dplyr \
- R-cran-MatchIt>=0:${PORTSDIR}/math/R-cran-MatchIt \
- R-cran-geepack>=0:${PORTSDIR}/math/R-cran-geepack \
- R-cran-survey>=0:${PORTSDIR}/math/R-cran-survey
+BUILD_DEPENDS= R-cran-AER>=0:finance/R-cran-AER \
+ R-cran-Amelia>=0:math/R-cran-Amelia \
+ R-cran-sandwich>=0:math/R-cran-sandwich \
+ R-cran-VGAM>=0:math/R-cran-VGAM \
+ R-cran-plyr>=0:devel/R-cran-plyr \
+ R-cran-quantreg>=0:math/R-cran-quantreg \
+ R-cran-MCMCpack>=0:math/R-cran-MCMCpack \
+ R-cran-maxLik>=0:math/R-cran-maxLik \
+ R-cran-jsonlite>=0:converters/R-cran-jsonlite \
+ R-cran-dplyr>=0:math/R-cran-dplyr \
+ R-cran-MatchIt>=0:math/R-cran-MatchIt \
+ R-cran-geepack>=0:math/R-cran-geepack \
+ R-cran-survey>=0:math/R-cran-survey
+RUN_DEPENDS= R-cran-AER>=0:finance/R-cran-AER \
+ R-cran-Amelia>=0:math/R-cran-Amelia \
+ R-cran-sandwich>=0:math/R-cran-sandwich \
+ R-cran-VGAM>=0:math/R-cran-VGAM \
+ R-cran-plyr>=0:devel/R-cran-plyr \
+ R-cran-quantreg>=0:math/R-cran-quantreg \
+ R-cran-MCMCpack>=0:math/R-cran-MCMCpack \
+ R-cran-maxLik>=0:math/R-cran-maxLik \
+ R-cran-jsonlite>=0:converters/R-cran-jsonlite \
+ R-cran-dplyr>=0:math/R-cran-dplyr \
+ R-cran-MatchIt>=0:math/R-cran-MatchIt \
+ R-cran-geepack>=0:math/R-cran-geepack \
+ R-cran-survey>=0:math/R-cran-survey
USES= cran:auto-plist
diff --git a/math/R-cran-car/Makefile b/math/R-cran-car/Makefile
index 66745a67f032..55c471d1600f 100644
--- a/math/R-cran-car/Makefile
+++ b/math/R-cran-car/Makefile
@@ -12,10 +12,10 @@ COMMENT= Companion to Applied Regression for R
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= R-cran-pbkrtest>=0.3.2:${PORTSDIR}/math/R-cran-pbkrtest \
- R-cran-quantreg>0:${PORTSDIR}/math/R-cran-quantreg
-TEST_DEPENDS= R-cran-lmtest>=0.9.26:${PORTSDIR}/finance/R-cran-lmtest \
- R-cran-sandwich>0:${PORTSDIR}/math/R-cran-sandwich
+RUN_DEPENDS= R-cran-pbkrtest>=0.3.2:math/R-cran-pbkrtest \
+ R-cran-quantreg>0:math/R-cran-quantreg
+TEST_DEPENDS= R-cran-lmtest>=0.9.26:finance/R-cran-lmtest \
+ R-cran-sandwich>0:math/R-cran-sandwich
USES= cran
diff --git a/math/R-cran-dplyr/Makefile b/math/R-cran-dplyr/Makefile
index a98a974c755c..175805f07a15 100644
--- a/math/R-cran-dplyr/Makefile
+++ b/math/R-cran-dplyr/Makefile
@@ -11,20 +11,20 @@ COMMENT= Grammar of Data Manipulation
LICENSE= MIT
-BUILD_DEPENDS= R-cran-Rcpp>=0.11:${PORTSDIR}/devel/R-cran-Rcpp \
- R-cran-BH>=1.58.0.1:${PORTSDIR}/devel/R-cran-BH \
- R-cran-R6>=0:${PORTSDIR}/devel/R-cran-R6 \
- R-cran-DBI>=0.3:${PORTSDIR}/databases/R-cran-DBI \
- R-cran-magrittr>=0:${PORTSDIR}/devel/R-cran-magrittr \
- R-cran-lazyeval>=0.1.10:${PORTSDIR}/math/R-cran-lazyeval \
- R-cran-assertthat>=0:${PORTSDIR}/math/R-cran-assertthat
-RUN_DEPENDS= R-cran-Rcpp>=0.11:${PORTSDIR}/devel/R-cran-Rcpp \
- R-cran-BH>=1.58.0.1:${PORTSDIR}/devel/R-cran-BH \
- R-cran-R6>=0:${PORTSDIR}/devel/R-cran-R6 \
- R-cran-DBI>=0.3:${PORTSDIR}/databases/R-cran-DBI \
- R-cran-magrittr>=0:${PORTSDIR}/devel/R-cran-magrittr \
- R-cran-lazyeval>=0.1.10:${PORTSDIR}/math/R-cran-lazyeval \
- R-cran-assertthat>=0:${PORTSDIR}/math/R-cran-assertthat
+BUILD_DEPENDS= R-cran-Rcpp>=0.11:devel/R-cran-Rcpp \
+ R-cran-BH>=1.58.0.1:devel/R-cran-BH \
+ R-cran-R6>=0:devel/R-cran-R6 \
+ R-cran-DBI>=0.3:databases/R-cran-DBI \
+ R-cran-magrittr>=0:devel/R-cran-magrittr \
+ R-cran-lazyeval>=0.1.10:math/R-cran-lazyeval \
+ R-cran-assertthat>=0:math/R-cran-assertthat
+RUN_DEPENDS= R-cran-Rcpp>=0.11:devel/R-cran-Rcpp \
+ R-cran-BH>=1.58.0.1:devel/R-cran-BH \
+ R-cran-R6>=0:devel/R-cran-R6 \
+ R-cran-DBI>=0.3:databases/R-cran-DBI \
+ R-cran-magrittr>=0:devel/R-cran-magrittr \
+ R-cran-lazyeval>=0.1.10:math/R-cran-lazyeval \
+ R-cran-assertthat>=0:math/R-cran-assertthat
USES= cran:auto-plist
diff --git a/math/R-cran-forecast/Makefile b/math/R-cran-forecast/Makefile
index 066fddce7cfb..4a397ba8b585 100644
--- a/math/R-cran-forecast/Makefile
+++ b/math/R-cran-forecast/Makefile
@@ -12,13 +12,13 @@ COMMENT= Forecasting functions for time series and linear models
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo \
- R-cran-timeDate>0:${PORTSDIR}/finance/R-cran-timeDate \
- R-cran-tseries>0:${PORTSDIR}/finance/R-cran-tseries \
- R-cran-fracdiff>0:${PORTSDIR}/math/R-cran-fracdiff \
- R-cran-Rcpp>=0.11.0:${PORTSDIR}/devel/R-cran-Rcpp \
- R-cran-colorspace>0:${PORTSDIR}/graphics/R-cran-colorspace \
- R-cran-RcppArmadillo>=0.2.35:${PORTSDIR}/math/R-cran-RcppArmadillo
+RUN_DEPENDS= R-cran-zoo>0:math/R-cran-zoo \
+ R-cran-timeDate>0:finance/R-cran-timeDate \
+ R-cran-tseries>0:finance/R-cran-tseries \
+ R-cran-fracdiff>0:math/R-cran-fracdiff \
+ R-cran-Rcpp>=0.11.0:devel/R-cran-Rcpp \
+ R-cran-colorspace>0:graphics/R-cran-colorspace \
+ R-cran-RcppArmadillo>=0.2.35:math/R-cran-RcppArmadillo
USES= cran:auto-plist
diff --git a/math/R-cran-igraph/Makefile b/math/R-cran-igraph/Makefile
index 87dd026d768d..ca3e6b9bd55f 100644
--- a/math/R-cran-igraph/Makefile
+++ b/math/R-cran-igraph/Makefile
@@ -12,10 +12,10 @@ COMMENT= Network Analysis and Visualization
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
-RUN_DEPENDS= R-cran-magrittr>0:${PORTSDIR}/devel/R-cran-magrittr \
- R-cran-NMF>0:${PORTSDIR}/math/R-cran-NMF \
- R-cran-irlba>0:${PORTSDIR}/math/R-cran-irlba
+LIB_DEPENDS= libgmp.so:math/gmp
+RUN_DEPENDS= R-cran-magrittr>0:devel/R-cran-magrittr \
+ R-cran-NMF>0:math/R-cran-NMF \
+ R-cran-irlba>0:math/R-cran-irlba
USES= cran:auto-plist
USE_GNOME= libxml2
diff --git a/math/R-cran-lme4/Makefile b/math/R-cran-lme4/Makefile
index 3aad82af586d..a7c382cc4e80 100644
--- a/math/R-cran-lme4/Makefile
+++ b/math/R-cran-lme4/Makefile
@@ -12,10 +12,10 @@ COMMENT= Linear mixed-effects models using Eigen and S4
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= R-cran-Rcpp>=0.10.5:${PORTSDIR}/devel/R-cran-Rcpp \
- R-cran-minqa>=1.1.15:${PORTSDIR}/math/R-cran-minqa \
- R-cran-nloptr>=1.0.4:${PORTSDIR}/math/R-cran-nloptr \
- R-cran-RcppEigen>0:${PORTSDIR}/math/R-cran-RcppEigen
+RUN_DEPENDS= R-cran-Rcpp>=0.10.5:devel/R-cran-Rcpp \
+ R-cran-minqa>=1.1.15:math/R-cran-minqa \
+ R-cran-nloptr>=1.0.4:math/R-cran-nloptr \
+ R-cran-RcppEigen>0:math/R-cran-RcppEigen
USES= cran:auto-plist
diff --git a/math/R-cran-maxLik/Makefile b/math/R-cran-maxLik/Makefile
index 50dd64c1100f..13193b6b2352 100644
--- a/math/R-cran-maxLik/Makefile
+++ b/math/R-cran-maxLik/Makefile
@@ -12,10 +12,10 @@ COMMENT= Maximum Likelihood Estimation and Related Tools
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-BUILD_DEPENDS= R-cran-miscTools>=0.6.8:${PORTSDIR}/math/R-cran-miscTools \
- R-cran-sandwich>=0:${PORTSDIR}/math/R-cran-sandwich
-RUN_DEPENDS= R-cran-miscTools>=0.6.8:${PORTSDIR}/math/R-cran-miscTools \
- R-cran-sandwich>=0:${PORTSDIR}/math/R-cran-sandwich
+BUILD_DEPENDS= R-cran-miscTools>=0.6.8:math/R-cran-miscTools \
+ R-cran-sandwich>=0:math/R-cran-sandwich
+RUN_DEPENDS= R-cran-miscTools>=0.6.8:math/R-cran-miscTools \
+ R-cran-sandwich>=0:math/R-cran-sandwich
USES= cran:auto-plist
diff --git a/math/R-cran-minqa/Makefile b/math/R-cran-minqa/Makefile
index 0b6a7bf5fcf0..eb4112be0efd 100644
--- a/math/R-cran-minqa/Makefile
+++ b/math/R-cran-minqa/Makefile
@@ -11,7 +11,7 @@ COMMENT= Derivative-free optimization algorithms by quadratic approximation
LICENSE= GPLv2
-RUN_DEPENDS= R-cran-Rcpp>=0.9.10:${PORTSDIR}/devel/R-cran-Rcpp
+RUN_DEPENDS= R-cran-Rcpp>=0.9.10:devel/R-cran-Rcpp
USES= cran:auto-plist
diff --git a/math/R-cran-nloptr/Makefile b/math/R-cran-nloptr/Makefile
index 597f1fd8eb13..2cadcd93c681 100644
--- a/math/R-cran-nloptr/Makefile
+++ b/math/R-cran-nloptr/Makefile
@@ -11,7 +11,7 @@ COMMENT= R interface to NLopt
LICENSE= LGPL3
-LIB_DEPENDS= libnlopt.so:${PORTSDIR}/math/nlopt
+LIB_DEPENDS= libnlopt.so:math/nlopt
USES= cran:auto-plist pkgconfig
diff --git a/math/R-cran-pbkrtest/Makefile b/math/R-cran-pbkrtest/Makefile
index 19ec46ab39c4..7e75b8f9261c 100644
--- a/math/R-cran-pbkrtest/Makefile
+++ b/math/R-cran-pbkrtest/Makefile
@@ -11,7 +11,7 @@ COMMENT= Parametric bootstrap and Kenward-Roger-based methods for mixed model co
LICENSE= GPLv2+
-RUN_DEPENDS= R-cran-lme4>=1.1.10:${PORTSDIR}/math/R-cran-lme4
+RUN_DEPENDS= R-cran-lme4>=1.1.10:math/R-cran-lme4
USES= cran:auto-plist
diff --git a/math/R-cran-quantreg/Makefile b/math/R-cran-quantreg/Makefile
index 355ebb89f529..0987cdb179d4 100644
--- a/math/R-cran-quantreg/Makefile
+++ b/math/R-cran-quantreg/Makefile
@@ -11,8 +11,8 @@ COMMENT= Quantile Regression
LICENSE= GPLv2+
-RUN_DEPENDS= R-cran-SparseM>0:${PORTSDIR}/math/R-cran-SparseM \
- R-cran-MatrixModels>0:${PORTSDIR}/math/R-cran-MatrixModels
+RUN_DEPENDS= R-cran-SparseM>0:math/R-cran-SparseM \
+ R-cran-MatrixModels>0:math/R-cran-MatrixModels
USES= cran:auto-plist
diff --git a/math/R-cran-sandwich/Makefile b/math/R-cran-sandwich/Makefile
index 3f4ac8a2dbeb..ac343af63e0c 100644
--- a/math/R-cran-sandwich/Makefile
+++ b/math/R-cran-sandwich/Makefile
@@ -12,7 +12,7 @@ COMMENT= Robust Covariance Matrix Estimators
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= R-cran-zoo>0:${PORTSDIR}/math/R-cran-zoo
+RUN_DEPENDS= R-cran-zoo>0:math/R-cran-zoo
USES= cran:auto-plist
diff --git a/math/R-cran-spdep/Makefile b/math/R-cran-spdep/Makefile
index b5a8cd30ca84..5f036d3563e4 100644
--- a/math/R-cran-spdep/Makefile
+++ b/math/R-cran-spdep/Makefile
@@ -11,10 +11,10 @@ COMMENT= Spatial dependence: weighting schemes, statistics, and models
LICENSE= GPLv2+
-RUN_DEPENDS= R-cran-sp>=1.0:${PORTSDIR}/math/R-cran-sp \
- R-cran-LearnBayes>0:${PORTSDIR}/math/R-cran-LearnBayes \
- R-cran-deldir>0:${PORTSDIR}/math/R-cran-deldir \
- R-cran-coda>0:${PORTSDIR}/math/R-cran-coda
+RUN_DEPENDS= R-cran-sp>=1.0:math/R-cran-sp \
+ R-cran-LearnBayes>0:math/R-cran-LearnBayes \
+ R-cran-deldir>0:math/R-cran-deldir \
+ R-cran-coda>0:math/R-cran-coda
USES= cran:auto-plist
diff --git a/math/R-cran-sspir/Makefile b/math/R-cran-sspir/Makefile
index a95d1701e133..d7cf9edfc8d8 100644
--- a/math/R-cran-sspir/Makefile
+++ b/math/R-cran-sspir/Makefile
@@ -11,8 +11,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= glm-like formula to define dynamic generalized linear models
-RUN_DEPENDS= R-cran-mvtnorm>=0.9.96_11:${PORTSDIR}/math/R-cran-mvtnorm \
- R-cran-KFAS>=0.9.11_3:${PORTSDIR}/math/R-cran-KFAS
+RUN_DEPENDS= R-cran-mvtnorm>=0.9.96_11:math/R-cran-mvtnorm \
+ R-cran-KFAS>=0.9.11_3:math/R-cran-KFAS
USES= cran:auto-plist
diff --git a/math/R-cran-xts/Makefile b/math/R-cran-xts/Makefile
index ec8ec86cd11a..629c5e77ae3e 100644
--- a/math/R-cran-xts/Makefile
+++ b/math/R-cran-xts/Makefile
@@ -13,7 +13,7 @@ COMMENT= Extensible Time Series
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= R-cran-zoo>=1.7.10:${PORTSDIR}/math/R-cran-zoo
+RUN_DEPENDS= R-cran-zoo>=1.7.10:math/R-cran-zoo
USES= cran:auto-plist
diff --git a/math/R/Makefile b/math/R/Makefile
index b3fb12046aac..1d5cdcb07477 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -27,8 +27,8 @@ COMMENT?= Language for statistical computing and graphics
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed \
- texi2dvi:${PORTSDIR}/print/texinfo
+BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:textproc/gsed \
+ texi2dvi:print/texinfo
CONFIGURE_ENV= LIBR_LDFLAGS="${LDFLAGS}" OBJC="${CC}" \
SED="${LOCALBASE}/bin/gsed" \
@@ -65,7 +65,7 @@ PCRE_PORT_DESC= Use devel/pcre instead of the bundled PCRE
OPTIONS_DEFAULT+= ICU PCRE_PORT THREADS
.if !defined(LIBR_SLAVEPORT)
-RUN_DEPENDS+= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
+RUN_DEPENDS+= ${LOCALBASE}/bin/gsed:textproc/gsed
USE_LDCONFIG= ${PREFIX}/lib/R/lib
#now only used to build the R.1 manpage:
USES+= perl5
@@ -132,7 +132,7 @@ LDFLAGS+= -fno-builtin-${_f}
.for _f in acos asin atan cos cosh exp log pow sin sinh tan tanh
CONFIGURE_ENV+= ac_cv_have_decl_c${_f}=yes
.endfor
-LIB_DEPENDS+= libmissing.so:${PORTSDIR}/math/libmissing
+LIB_DEPENDS+= libmissing.so:math/libmissing
LIBM= -L${LOCALBASE}/lib -lmissing -lm
LIBMH= "missing_math.h"
.if defined(LIBRMATH_SLAVEPORT)
@@ -145,7 +145,7 @@ LIBMH= <quadmath.h>
.if !defined(LIBRMATH_SLAVEPORT)
.if ${PORT_OPTIONS:MATLAS}
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS?= ${LIBM} -lf77blas
LAPACK?= ${LIBM} -lalapack -lcblas
.else
@@ -160,7 +160,7 @@ PLIST_SUB+= LAPACK="@comment "
.endif
.if ${PORT_OPTIONS:MICU}
-LIB_DEPENDS+= libicui18n.so:${PORTSDIR}/devel/icu
+LIB_DEPENDS+= libicui18n.so:devel/icu
CONFIGURE_ARGS+= --with-ICU
.else
CONFIGURE_ARGS+= --without-ICU
@@ -175,7 +175,7 @@ PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MPCRE_PORT}
-LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
+LIB_DEPENDS+= libpcre.so:devel/pcre
CONFIGURE_ARGS+= --with-system-pcre
.else
CONFIGURE_ARGS+= --without-system-pcre
@@ -226,7 +226,7 @@ PLIST_SUB+= PANGOCAIRO="@comment "
.endif
.if ${PORT_OPTIONS:MPNG}
-LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS+= libpng.so:graphics/png
CONFIGURE_ARGS+= --with-libpng
.else
CONFIGURE_ARGS+= --without-libpng
@@ -244,7 +244,7 @@ PLIST_SUB+= TCLTK="@comment "
.endif
.if ${PORT_OPTIONS:MTIFF}
-LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+= libtiff.so:graphics/tiff
CONFIGURE_ARGS+= --with-libtiff
.else
CONFIGURE_ARGS+= --without-libtiff
@@ -268,7 +268,7 @@ INFO= R-FAQ R-admin R-data R-exts R-intro R-lang
.if ${PORT_OPTIONS:MPDF_MANUALS} && ${PORT_OPTIONS:MDOCS}
USE_TEX= texlive dvipsk kpathsea pdftex
-#BUILD_DEPENDS += texi2dvi:${PORTSDIR}/print/texinfo
+#BUILD_DEPENDS += texi2dvi:print/texinfo
ALL_TARGET+= pdf
CONFIGURE_ENV += INSTALL_INFO="${LOCALBASE}/bin/install-info" \
MAKEINFO="${LOCALBASE}/bin/makeinfo"
diff --git a/math/abacus/Makefile b/math/abacus/Makefile
index d0a9b617dee1..f2cc25fd105a 100644
--- a/math/abacus/Makefile
+++ b/math/abacus/Makefile
@@ -12,7 +12,7 @@ COMMENT= Branch-And-CUt System
LICENSE= LGPL21+
-LIB_DEPENDS= libClp.so:${PORTSDIR}/math/coinmp
+LIB_DEPENDS= libClp.so:math/coinmp
NO_WRKSUBDIR= yes
diff --git a/math/abakus/Makefile b/math/abakus/Makefile
index eb017ad789c4..ffa8224d5989 100644
--- a/math/abakus/Makefile
+++ b/math/abakus/Makefile
@@ -12,8 +12,8 @@ COMMENT= Simple KDE Calculator
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
-LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr
+BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
+LIB_DEPENDS= libmpfr.so:math/mpfr
USE_KDE4= automoc4 kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
diff --git a/math/algotutor/Makefile b/math/algotutor/Makefile
index fe5bea071777..fe744117b69d 100644
--- a/math/algotutor/Makefile
+++ b/math/algotutor/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.cyut.edu.tw/~ckhung/dl/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Interactive tutorial for algorithms and data structures
-BUILD_DEPENDS= p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk
+BUILD_DEPENDS= p5-Tk>=0:x11-toolkits/p5-Tk
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= build
diff --git a/math/alt-ergo-spark/Makefile b/math/alt-ergo-spark/Makefile
index 867e07b745fe..13ea4f5b02ab 100644
--- a/math/alt-ergo-spark/Makefile
+++ b/math/alt-ergo-spark/Makefile
@@ -15,9 +15,9 @@ LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] C license, version 1
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BUILD_DEPENDS= ocaml-zarith>1.2:${PORTSDIR}/math/ocaml-zarith \
- ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph
-RUN_DEPENDS= ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph
+BUILD_DEPENDS= ocaml-zarith>1.2:math/ocaml-zarith \
+ ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph
+RUN_DEPENDS= ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph
USES= gmake
USE_OCAML= yes
diff --git a/math/alt-ergo/Makefile b/math/alt-ergo/Makefile
index c63dbec97df6..42d1afc88cc6 100644
--- a/math/alt-ergo/Makefile
+++ b/math/alt-ergo/Makefile
@@ -15,9 +15,9 @@ LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] C license, version 1
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-BUILD_DEPENDS= ocaml-zarith>1.2:${PORTSDIR}/math/ocaml-zarith \
- ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph
-RUN_DEPENDS= ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph
+BUILD_DEPENDS= ocaml-zarith>1.2:math/ocaml-zarith \
+ ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph
+RUN_DEPENDS= ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph
GNU_CONFIGURE= yes
USES= gmake
@@ -32,8 +32,8 @@ OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGUI}
-BUILD_DEPENDS += lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
-RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
+BUILD_DEPENDS += lablgtk2:x11-toolkits/ocaml-lablgtk2
+RUN_DEPENDS+= lablgtk2:x11-toolkits/ocaml-lablgtk2
ALL_TARGET+= gui
INSTALL_TARGET+= install-gui
.endif
diff --git a/math/apc/Makefile b/math/apc/Makefile
index fe0005840825..881251772a25 100644
--- a/math/apc/Makefile
+++ b/math/apc/Makefile
@@ -12,7 +12,7 @@ COMMENT= Xforms based Auto Payment Calculator
LICENSE= GPLv2
-LIB_DEPENDS= libforms.so:${PORTSDIR}/x11-toolkits/xforms
+LIB_DEPENDS= libforms.so:x11-toolkits/xforms
USE_XORG= x11 xpm
PLIST_FILES= bin/apc man/man1/apc.1.gz
diff --git a/math/armadillo/Makefile b/math/armadillo/Makefile
index d1778ef03b02..93fb8206d99b 100644
--- a/math/armadillo/Makefile
+++ b/math/armadillo/Makefile
@@ -10,10 +10,10 @@ COMMENT= C++ linear algebra library
LICENSE= MPL
-LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
- libarpack.so:${PORTSDIR}/math/arpack \
- libhdf5.so:${PORTSDIR}/science/hdf5 \
- libsuperlu.so:${PORTSDIR}/math/superlu
+LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
+ libarpack.so:math/arpack \
+ libhdf5.so:science/hdf5 \
+ libsuperlu.so:math/superlu
USES= cmake blaslapack
USE_LDCONFIG= yes
diff --git a/math/arpack++/Makefile b/math/arpack++/Makefile
index d8a81047e3b4..f5dac228ba1c 100644
--- a/math/arpack++/Makefile
+++ b/math/arpack++/Makefile
@@ -17,20 +17,20 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= bf@FreeBSD.org
COMMENT= ARPACK++ is an object-oriented version of the ARPACK package
-LIB_DEPENDS= libarpack.so:${PORTSDIR}/math/arpack \
- libsuperlu.so:${PORTSDIR}/math/superlu \
- libumfpack.so:${PORTSDIR}/math/suitesparse
+LIB_DEPENDS= libarpack.so:math/arpack \
+ libsuperlu.so:math/superlu \
+ libumfpack.so:math/suitesparse
.if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS= -lf77blas
LAPACK= -lalapack -lcblas
.else
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= liblapack.so:math/lapack
+LIB_DEPENDS+= libblas.so:math/blas
BLAS= -lblas
LAPACK= -llapack
.endif
diff --git a/math/arpack-ng/Makefile b/math/arpack-ng/Makefile
index ef3070da8c9f..d1960efb0d07 100644
--- a/math/arpack-ng/Makefile
+++ b/math/arpack-ng/Makefile
@@ -31,7 +31,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS MPI
OPTIONS_SUB= yes
MPI_CONFIGURE_ENABLE= mpi
-MPI_LIB_DEPENDS= libmpich.so.8:${PORTSDIR}/net/mpich2
+MPI_LIB_DEPENDS= libmpich.so.8:net/mpich2
MPI_CONFLICTS_INSTALL+= arpack-ng-3.*
MPI_CONFLICTS_INSTALL_OFF+= arpack-ng-mpich-3.*
@@ -46,16 +46,16 @@ WITH_BLAS?= blas
.if ${WITH_BLAS} == "gotoblas"
BLAS= -lgoto2p
LAPACK= -lgoto2p
-LIB_DEPENDS+= libgoto2p.so:${PORTSDIR}/math/gotoblas
+LIB_DEPENDS+= libgoto2p.so:math/gotoblas
.elif ${WITH_BLAS} == "atlas"
BLAS= -lptf77blas
LAPACK= -lalapack -lptcblas
-LIB_DEPENDS+= libptf77blas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libptf77blas.so:math/atlas
.elif ${WITH_BLAS} == "blas"
BLAS= -lblas
LAPACK= -llapack
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \
- liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas \
+ liblapack.so:math/lapack
.else
IGNORE= unknown value of WITH_BLAS: ${WITH_BLAS}
.endif
diff --git a/math/arpack/Makefile b/math/arpack/Makefile
index db4df42243ee..f36b5ed77327 100644
--- a/math/arpack/Makefile
+++ b/math/arpack/Makefile
@@ -13,7 +13,7 @@ EXTRACT_ONLY= ${PORTNAME}${PORTVERSION}.tar.gz
MAINTAINER= bf@FreeBSD.org
COMMENT= Argand Library: large eigenvalue subroutines (serial version)
-BUILD_DEPENDS= tradcpp:${PORTSDIR}/devel/tradcpp
+BUILD_DEPENDS= tradcpp:devel/tradcpp
CONFLICTS= arpack-ng-[0-9]*
CPP= tradcpp
@@ -82,10 +82,10 @@ WITH_BLAS?= reference
.endif
.if ${WITH_BLAS} == atlas
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS?= -lf77blas
.else
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= libblas.so:math/blas
BLAS?= -lblas
.endif
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile
index ca9f982c846b..367e3989039c 100644
--- a/math/asir2000/Makefile
+++ b/math/asir2000/Makefile
@@ -18,7 +18,7 @@ LICENSE_NAME= Risa/Asir Limited Use License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LIB_DEPENDS= libpari.so:${PORTSDIR}/math/pari
+LIB_DEPENDS= libpari.so:math/pari
MAKE_JOBS_UNSAFE= yes
USES= autoreconf readline tar:bz2
diff --git a/math/aspcud/Makefile b/math/aspcud/Makefile
index b78acdee75c8..e0f600760ec0 100644
--- a/math/aspcud/Makefile
+++ b/math/aspcud/Makefile
@@ -12,11 +12,11 @@ COMMENT= Advanced solver for package dependencies
LICENSE= GPLv3
-BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
-LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
-RUN_DEPENDS= gringo:${PORTSDIR}/math/gringo \
- clasp:${PORTSDIR}/math/clasp \
- bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= re2c:devel/re2c
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
+RUN_DEPENDS= gringo:math/gringo \
+ clasp:math/clasp \
+ bash:shells/bash
USES= compiler:c++11-lang cmake:outsource python:run
diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index b81b3a5b67ac..598108c3e142 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -13,12 +13,12 @@ COMMENT= Powerful script-based vector graphics language
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
-LIB_DEPENDS= libgc-threaded.so:${PORTSDIR}/devel/boehm-gc-threaded \
- libsigsegv.so:${PORTSDIR}/devel/libsigsegv
-RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick \
- gv:${PORTSDIR}/print/gv \
- ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
- ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
+LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \
+ libsigsegv.so:devel/libsigsegv
+RUN_DEPENDS= animate:graphics/ImageMagick \
+ gv:print/gv \
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \
+ ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
ALL_TARGET= asy asy-keywords.el
@@ -42,22 +42,22 @@ USE_TEX= dvipsk formats
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
# Options
-DOCS_BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo
+DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo
DOCS_CONFIGURE_WITH= docdir=${DOCSDIR}
FFTW_CONFIGURE_ENABLE= fftw
FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform
-FFTW_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3
GSL_CONFIGURE_ENABLE= gsl
GSL_DESC= Enable GNU Scientific library
-GSL_LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+GSL_LIB_DEPENDS= libgsl.so:math/gsl
-MANPAGES_BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo
+MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo
OFFSCREEN_CONFIGURE_ENABLE= offscreen
OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library
-OFFSCREEN_LIB_DEPENDS= libOSMesa.so:${PORTSDIR}/graphics/libosmesa
+OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa
OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE
OPTIONS_DEFINE= DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index fd58671a95f8..fe45306955a1 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -14,7 +14,7 @@ COMMENT= Automatically Tuned Linear Algebra Software (ATLAS)
LICENSE= BSD3CLAUSE
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/math/lapack:checksum
+BUILD_DEPENDS= ${NONEXISTENT}:math/lapack:checksum
USES= fortran tar:bzip2
USE_GCC= yes
@@ -51,7 +51,7 @@ POINTER?= 32
.endif
.if defined(MAINTAINER_MODE)
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= libblas.so:math/blas
.endif
.if ${PORT_OPTIONS:MDATA}
diff --git a/math/bargraph/Makefile b/math/bargraph/Makefile
index 3d346c43ae4f..1988dc2f8c5a 100644
--- a/math/bargraph/Makefile
+++ b/math/bargraph/Makefile
@@ -13,8 +13,8 @@ COMMENT= Scriptable bar graph generator
LICENSE= GPLv2
-RUN_DEPENDS= ${LOCALBASE}/bin/fig2dev:${PORTSDIR}/print/transfig \
- ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
+RUN_DEPENDS= ${LOCALBASE}/bin/fig2dev:print/transfig \
+ ${LOCALBASE}/bin/gnuplot:math/gnuplot
USES= perl5 shebangfix tar:tgz
NO_WRKSUBDIR= yes
diff --git a/math/biggles/Makefile b/math/biggles/Makefile
index f28b3ec9f25d..691fadbe169f 100644
--- a/math/biggles/Makefile
+++ b/math/biggles/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYNUMPY}
-LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils
+LIB_DEPENDS= libplot.so:graphics/plotutils
USES= gmake python:2
MAKE_ARGS= CC="${CC}" \
diff --git a/math/blacs/Makefile b/math/blacs/Makefile
index 04d3b8b6fa2e..05c81b2ba1f0 100644
--- a/math/blacs/Makefile
+++ b/math/blacs/Makefile
@@ -31,11 +31,11 @@ WITH_OPENMPI= yes
.endif
.if defined(WITH_OPENMPI)
-BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
-RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi
+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:net/openmpi
EXTRA_PATCHES+= ${FILESDIR}/Bmake.inc-openmpi.diff
.else
-LIB_DEPENDS+= libmpich.so:${PORTSDIR}/net/mpich2
+LIB_DEPENDS+= libmpich.so:net/mpich2
EXTRA_PATCHES+= ${FILESDIR}/Bmake.inc-mpich.diff
.endif
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile
index 78291b160eea..915859375409 100644
--- a/math/blitz++/Makefile
+++ b/math/blitz++/Makefile
@@ -16,8 +16,8 @@ OPTIONS_DEFINE= DOCS
DOCS_USE= TEX=dvipsk,formats
DOCS_USES= makeinfo
DOCS_INFO= blitz
-DOCS_BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo \
- texi2html:${PORTSDIR}/textproc/texi2html
+DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo \
+ texi2html:textproc/texi2html
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=yes
GNU_CONFIGURE= yes
diff --git a/math/blocksolve95/Makefile b/math/blocksolve95/Makefile
index 01c0482db398..f7fbc7775fc5 100644
--- a/math/blocksolve95/Makefile
+++ b/math/blocksolve95/Makefile
@@ -18,8 +18,8 @@ LICENSE_NAME= AS-IS
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LIB_DEPENDS= libf2c.so:${PORTSDIR}/lang/f2c \
- libmpich.so:${PORTSDIR}/net/mpich2
+LIB_DEPENDS= libf2c.so:lang/f2c \
+ libmpich.so:net/mpich2
USES= fortran gmake tar:Z
diff --git a/math/bsdnt/Makefile b/math/bsdnt/Makefile
index 46dc0beb662b..15888c929320 100644
--- a/math/bsdnt/Makefile
+++ b/math/bsdnt/Makefile
@@ -9,7 +9,7 @@ COMMENT= Bignum Library
LICENSE= BSD3CLAUSE
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= bash:shells/bash
USES= gmake shebangfix
SHEBANG_FILES= configure
diff --git a/math/calctool/Makefile b/math/calctool/Makefile
index fa0f5ed66a48..1e654b4a012f 100644
--- a/math/calctool/Makefile
+++ b/math/calctool/Makefile
@@ -34,7 +34,7 @@ BINARIES+= tty_calctool
.if ${PORT_OPTIONS:MXVIEW}
BINARIES+= xv_calctool
-LIB_DEPENDS+= libxview.so:${PORTSDIR}/x11-toolkits/xview
+LIB_DEPENDS+= libxview.so:x11-toolkits/xview
.endif
.if ${ARCH} == "sparc64"
diff --git a/math/cantor/Makefile b/math/cantor/Makefile
index 3e8186c28b5a..1ca81fbe07b9 100644
--- a/math/cantor/Makefile
+++ b/math/cantor/Makefile
@@ -10,9 +10,9 @@ DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 frontend to mathematical software
-LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre \
- libqalculate.so:${PORTSDIR}/math/libqalculate \
- libanalitza.so:${PORTSDIR}/math/analitza
+LIB_DEPENDS= libspectre.so:print/libspectre \
+ libqalculate.so:math/libqalculate \
+ libanalitza.so:math/analitza
USE_KDE4= kdelibs kdeprefix automoc4
USES= cmake:outsource pkgconfig python:2 tar:xz
@@ -24,27 +24,27 @@ OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB
OPTIONS_SUB= yes # R LUAJIT
LUAJIT_DESC= Build LuaJIT backend and install LuaJIT
-LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
+LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_CMAKE_OFF= -DWITH_LuaJIT:BOOL=FALSE
MAXIMA_DESC= Install Maxima
-MAXIMA_RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
+MAXIMA_RUN_DEPENDS= maxima:math/maxima
OCTAVE_DESC= Install Octave
-OCTAVE_RUN_DEPENDS= octave:${PORTSDIR}/math/octave
+OCTAVE_RUN_DEPENDS= octave:math/octave
R_DESC= Build R backend and install R
-R_BUILD_DEPENDS= R:${PORTSDIR}/math/R
-R_RUN_DEPENDS= R:${PORTSDIR}/math/R
+R_BUILD_DEPENDS= R:math/R
+R_RUN_DEPENDS= R:math/R
# Required to set CFLAGS for -lgfortran.
R_USES= fortran
R_CMAKE_OFF= -DWITH_R:BOOL=FALSE
SAGE_DESC= Install Sage
-SAGE_RUN_DEPENDS= sage:${PORTSDIR}/math/sage
+SAGE_RUN_DEPENDS= sage:math/sage
SCILAB_DESC= Install Scilab
-SCILAB_RUN_DEPENDS= scilab:${PORTSDIR}/math/scilab
+SCILAB_RUN_DEPENDS= scilab:math/scilab
post-patch:
${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
diff --git a/math/carve/Makefile b/math/carve/Makefile
index a745c3313ff2..46fb2c9a1e08 100644
--- a/math/carve/Makefile
+++ b/math/carve/Makefile
@@ -12,7 +12,7 @@ COMMENT= Fast, robust constructive solid geometry library
LICENSE= GPLv2
-LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs
OPTIONS_DEFINE= DOCS GUI
@@ -29,7 +29,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGUI}
-LIB_DEPENDS+= libglui.so:${PORTSDIR}/devel/glui
+LIB_DEPENDS+= libglui.so:devel/glui
PLIST_SUB+= GUI=""
CMAKE_ARGS+= -DCARVE_WITH_GUI:BOOL=true
.else
diff --git a/math/cblas/Makefile b/math/cblas/Makefile
index 30fdc9b65aa7..53cb75ff71df 100644
--- a/math/cblas/Makefile
+++ b/math/cblas/Makefile
@@ -103,7 +103,7 @@ post-build:
.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
BLAS?= -L${LOCALBASE}/lib -lblas
-BUILD_DEPENDS += ${LOCALBASE}/lib/libblas.so:${PORTSDIR}/math/blas
+BUILD_DEPENDS += ${LOCALBASE}/lib/libblas.so:math/blas
MAKE_ENV+= BLLIB="${BLAS}"
check regression-test test: ${TESTS}
diff --git a/math/cgal/Makefile b/math/cgal/Makefile
index b8cef342a96f..295228ef36cf 100644
--- a/math/cgal/Makefile
+++ b/math/cgal/Makefile
@@ -14,10 +14,10 @@ COMMENT= Computational geometry library
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs
-RUN_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs
-LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr \
- libgmp.so:${PORTSDIR}/math/gmp
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs
+RUN_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs
+LIB_DEPENDS= libmpfr.so:math/mpfr \
+ libgmp.so:math/gmp
USE_LDCONFIG= yes
USES= cmake tar:bzip2 shebangfix
diff --git a/math/chryzodus/Makefile b/math/chryzodus/Makefile
index faeda800ea32..fe0592a95ea0 100644
--- a/math/chryzodus/Makefile
+++ b/math/chryzodus/Makefile
@@ -13,7 +13,7 @@ COMMENT= Chryzode (http//www.chryzode.org) explorer
LICENSE= GPLv2
-LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro
+LIB_DEPENDS= liballeg.so:devel/allegro
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile.unx
diff --git a/math/clblas/Makefile b/math/clblas/Makefile
index ad15d6c7d17a..654f8cb6e5bd 100644
--- a/math/clblas/Makefile
+++ b/math/clblas/Makefile
@@ -12,10 +12,10 @@ COMMENT= Software library containing BLAS functions written in OpenCL
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
-LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd \
- libboost_program_options.so:${PORTSDIR}/devel/boost-libs
-RUN_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
+BUILD_DEPENDS= opencl>=0:devel/opencl
+LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \
+ libboost_program_options.so:devel/boost-libs
+RUN_DEPENDS= opencl>=0:devel/opencl
BROKEN_FreeBSD_9= clBLAS is only supported on FreeBSD 10.1 and newer
diff --git a/math/clfft/Makefile b/math/clfft/Makefile
index d3f119c3ad80..92aad31022af 100644
--- a/math/clfft/Makefile
+++ b/math/clfft/Makefile
@@ -12,9 +12,9 @@ COMMENT= Software library containing FFT functions written in OpenCL
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
-LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd
-RUN_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
+BUILD_DEPENDS= opencl>=0:devel/opencl
+LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
+RUN_DEPENDS= opencl>=0:devel/opencl
BROKEN_FreeBSD_9= clFFT is only supported on FreeBSD 10.1 and newer
ONLY_FOR_ARCHS= amd64
diff --git a/math/cln/Makefile b/math/cln/Makefile
index 09ea89a18f42..e4a6c558d9f8 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.ginac.de/CLN/ \
MAINTAINER= wen@FreeBSD.org
COMMENT= Class Library for Numbers
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
diff --git a/math/cloog/Makefile b/math/cloog/Makefile
index f015fee63768..ccf49fd33e96 100644
--- a/math/cloog/Makefile
+++ b/math/cloog/Makefile
@@ -12,8 +12,8 @@ COMMENT= Code generator in the polyhedral model
LICENSE= LGPL21
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libisl.so:${PORTSDIR}/devel/isl
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libisl.so:devel/isl
USE_LDCONFIG= yes
USES= libtool
diff --git a/math/clrng/Makefile b/math/clrng/Makefile
index 8621fced9847..610bcc8838cf 100644
--- a/math/clrng/Makefile
+++ b/math/clrng/Makefile
@@ -12,9 +12,9 @@ COMMENT= Library for uniform random number generation in OpenCL
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
-LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd
-RUN_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
+BUILD_DEPENDS= opencl>=0:devel/opencl
+LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
+RUN_DEPENDS= opencl>=0:devel/opencl
BROKEN_FreeBSD_9= clRNG is only supported on FreeBSD 10.1 and newer
diff --git a/math/coinmp/Makefile b/math/coinmp/Makefile
index 67489f16d256..04d26a5948e0 100644
--- a/math/coinmp/Makefile
+++ b/math/coinmp/Makefile
@@ -34,7 +34,7 @@ PORTDOCS= *
.if ${PORT_OPTIONS:MGLPK}
CONFIGURE_ARGS+= --with-gmpl-incdir=${LOCALBASE}/include \
--with-gmpl-lib="-L${LOCALBASE}/lib -lglpk"
-LIB_DEPENDS+= libglpk.so:${PORTSDIR}/math/glpk
+LIB_DEPENDS+= libglpk.so:math/glpk
.else
CONFIGURE_ARGS+= --disable-glpk-libcheck
.endif
diff --git a/math/convertall/Makefile b/math/convertall/Makefile
index 8dd94a21fdee..8b9e46a393a4 100644
--- a/math/convertall/Makefile
+++ b/math/convertall/Makefile
@@ -12,8 +12,8 @@ COMMENT= Another unit converter
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:x11-toolkits/py-qt4-gui
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:x11-toolkits/py-qt4-gui
USES= python:3.3+
diff --git a/math/coq/Makefile b/math/coq/Makefile
index d09ab0820774..2beb5c86fad9 100644
--- a/math/coq/Makefile
+++ b/math/coq/Makefile
@@ -12,8 +12,8 @@ DISTNAME= ${PORTNAME}-${COQVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Theorem prover based on lambda-C
-BUILD_DEPENDS= camlp5:${PORTSDIR}/devel/ocaml-camlp5 \
- ocamlfind:${PORTSDIR}/devel/ocaml-findlib
+BUILD_DEPENDS= camlp5:devel/ocaml-camlp5 \
+ ocamlfind:devel/ocaml-findlib
COQVERSION= ${PORTVERSION:R}pl${PORTVERSION:E}
USES= gmake
@@ -31,11 +31,11 @@ OPTIONS_DEFINE= DOCS IDE
OPTIONS_DEFAULT= DOCS IDE
OPTIONS_SUB= yes
IDE_DESC= Include desktop environment (coqide)
-IDE_BUILD_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
-IDE_RUN_DEPENDS:= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
+IDE_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2
+IDE_RUN_DEPENDS:= lablgtk2:x11-toolkits/ocaml-lablgtk2
IDE_CONFIGURE_OFF= --coqide no
DOCS_USE= TEX=latex:build,dvipsk:build,texmf:build
-DOCS_BUILD_DEPENDS= hevea:${PORTSDIR}/textproc/hevea
+DOCS_BUILD_DEPENDS= hevea:textproc/hevea
DOCS_CONFIGURE_OFF= --with-doc none
PORTDOCS= *
diff --git a/math/crlibm/Makefile b/math/crlibm/Makefile
index b9847f6eef6d..89919ed1093d 100644
--- a/math/crlibm/Makefile
+++ b/math/crlibm/Makefile
@@ -41,7 +41,7 @@ CONFIGURE_ARGS+= --enable-sse2
.if ${PORT_OPTIONS:MTEST}
CONFIGURE_ARGS+= --enable-mpfr
-LIB_DEPENDS+= libmpfr.so:${PORTSDIR}/math/mpfr
+LIB_DEPENDS+= libmpfr.so:math/mpfr
.else
CONFIGURE_ARGS+= --disable-mpfr
.endif
diff --git a/math/cryptominisat/Makefile b/math/cryptominisat/Makefile
index acf43dc83cd0..2a4a38f1c2de 100644
--- a/math/cryptominisat/Makefile
+++ b/math/cryptominisat/Makefile
@@ -10,8 +10,8 @@ COMMENT= General-purpose award-winning SAT solver
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE-LGPL
-BUILD_DEPENDS= xxd:${PORTSDIR}/editors/vim-lite # for xxd tool
-LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs
+BUILD_DEPENDS= xxd:editors/vim-lite # for xxd tool
+LIB_DEPENDS= libboost_program_options.so:devel/boost-libs
USE_GITHUB= yes
GH_ACCOUNT= msoos
diff --git a/math/cvc3/Makefile b/math/cvc3/Makefile
index 894066a3f256..4c880d87b656 100644
--- a/math/cvc3/Makefile
+++ b/math/cvc3/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.cs.nyu.edu/acsys/cvc3/download/${PORTVERSION}/
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Automatic theorem prover for the SMT problem
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
CONFIGURE_ARGS= --enable-dynamic \
--with-arith=gmp \
diff --git a/math/dieharder/Makefile b/math/dieharder/Makefile
index fa8249b58ed6..5ef45bf62638 100644
--- a/math/dieharder/Makefile
+++ b/math/dieharder/Makefile
@@ -12,7 +12,7 @@ COMMENT= Random number generator testsuite
LICENSE= GPLv2
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl
MAKE_JOBS_UNSAFE= yes
diff --git a/math/drgeo/Makefile b/math/drgeo/Makefile
index 36bddf1f0378..09c8a1e04a98 100644
--- a/math/drgeo/Makefile
+++ b/math/drgeo/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/ofset/${PORTNAME}/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= GTK interactive geometry software
-LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile
+LIB_DEPENDS= libguile.so:lang/guile
GNU_CONFIGURE= yes
USES= gettext gmake pkgconfig pathfix
diff --git a/math/dynare/Makefile b/math/dynare/Makefile
index 4b4ee0458c19..db0d566faf1c 100644
--- a/math/dynare/Makefile
+++ b/math/dynare/Makefile
@@ -10,10 +10,10 @@ MASTER_SITES= http://www.dynare.org/release/source/
MAINTAINER= fernando.apesteguia@gmail.com
COMMENT= Software platform for handling a wide class of economic models
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/unordered_set.hpp:${PORTSDIR}/devel/boost-libs \
- ctangle:${PORTSDIR}/devel/cweb
-LIB_DEPENDS= libumfpack.so:${PORTSDIR}/math/suitesparse \
- libmatio.so:${PORTSDIR}/math/matio
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/unordered_set.hpp:devel/boost-libs \
+ ctangle:devel/cweb
+LIB_DEPENDS= libumfpack.so:math/suitesparse \
+ libmatio.so:math/matio
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
@@ -28,7 +28,7 @@ OPTIONS_DEFAULT= OCTAVE
MATLAB_CONFIGURE_ENABLE= matlab
OCTAVE_CONFIGURE_ENABLE= octave
-OCTAVE_BUILD_DEPENDS= octave:${PORTSDIR}/math/octave
+OCTAVE_BUILD_DEPENDS= octave:math/octave
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/math/ess/Makefile b/math/ess/Makefile
index 939ea87055a1..41512383889b 100644
--- a/math/ess/Makefile
+++ b/math/ess/Makefile
@@ -13,7 +13,7 @@ COMMENT= R support for Emacsen
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= R:${PORTSDIR}/math/R
+RUN_DEPENDS= R:math/R
NO_ARCH= yes
diff --git a/math/eukleides/Makefile b/math/eukleides/Makefile
index a0ae03c29e4e..abb7a6977f74 100644
--- a/math/eukleides/Makefile
+++ b/math/eukleides/Makefile
@@ -13,9 +13,9 @@ COMMENT= Euclidean geometry drawing language
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libreadline.so:${PORTSDIR}/devel/readline
-RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
- getopt>=0:${PORTSDIR}/misc/getopt
+LIB_DEPENDS= libreadline.so:devel/readline
+RUN_DEPENDS= pstoedit:graphics/pstoedit \
+ getopt>=0:misc/getopt
USE_TEX= latex
USES= bison gettext iconv gmake tar:bzip2
diff --git a/math/fflas-ffpack/Makefile b/math/fflas-ffpack/Makefile
index fd3ad51e2479..3ddcbae6b826 100644
--- a/math/fflas-ffpack/Makefile
+++ b/math/fflas-ffpack/Makefile
@@ -12,7 +12,7 @@ COMMENT= Library for dense linear algebra over word-size finite fields
LICENSE= LGPL20
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
USES= shebangfix
GNU_CONFIGURE= yes
@@ -30,7 +30,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.if defined(MAINTAINER_MODE)
CONFIGURE_ARGS+= --with-givaro="${LOCALBASE}"
-LIB_DEPENDS+= libgivaro.so:${PORTSDIR}/math/givaro
+LIB_DEPENDS+= libgivaro.so:math/givaro
.else
CONFIGURE_ARGS+= --with-givaro=no
.endif
@@ -40,21 +40,21 @@ WITH_BLAS?= gsl
.if ${WITH_BLAS} == "gotoblas"
CONFIGURE_ARGS+= --with-gotoblas2="${LOCALBASE}" --with-lapack=blas
-LIB_DEPENDS+= libgoto2p.so:${PORTSDIR}/math/gotoblas
+LIB_DEPENDS+= libgoto2p.so:math/gotoblas
USES+= fortran
.elif ${WITH_BLAS} == "atlas"
CONFIGURE_ARGS+= --with-cblas="${LOCALBASE}" --with-lapack=blas
-LIB_DEPENDS+= libcblas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libcblas.so:math/atlas
USES+= fortran
.elif ${WITH_BLAS} == "gsl"
CONFIGURE_ARGS+= --with-gsl="${LOCALBASE}"
-LIB_DEPENDS+= libgslcblas.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS+= libgslcblas.so:math/gsl
.else
IGNORE = unknown value of WITH_BLAS: ${WITH_BLAS}
.endif
.if ${PORT_OPTIONS:MDOXYGEN}
-BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
+BUILD_DEPENDS+= doxygen:devel/doxygen
CONFIGURE_ARGS+= --enable-doc --with-docdir="${DOCSDIR}"
PLIST_SUB+= DOXYGEN=""
.else
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
index 4cdca0b7d151..074b61a3ded7 100644
--- a/math/fityk/Makefile
+++ b/math/fityk/Makefile
@@ -12,10 +12,10 @@ COMMENT= Free peak fitting software
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= boost-libs>=1.35:${PORTSDIR}/devel/boost-libs \
- swig2.0:${PORTSDIR}/devel/swig20 \
- gnuplot:${PORTSDIR}/math/gnuplot
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+BUILD_DEPENDS= boost-libs>=1.35:devel/boost-libs \
+ swig2.0:devel/swig20 \
+ gnuplot:math/gnuplot
+RUN_DEPENDS= gnuplot:math/gnuplot
USE_GITHUB= yes
GH_ACCOUNT= wojdyr
@@ -44,7 +44,7 @@ OPTIONS_DEFINE= DOCS PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
-DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
+DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
PYTHON_USES= python
PYTHON_CONFIGURE_ENABLE= python
diff --git a/math/fpc-fftw/Makefile b/math/fpc-fftw/Makefile
index e25a0d780158..878f7a4bb47b 100644
--- a/math/fpc-fftw/Makefile
+++ b/math/fpc-fftw/Makefile
@@ -18,6 +18,6 @@ OPTIONS_DEFINE= FFTW3
FFTW3_DESC= Install FFTW3 library
OPTIONS_DEFAULT= FFTW3
-FFTW3_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3
.include "${MASTERDIR}/Makefile"
diff --git a/math/fpc-gmp/Makefile b/math/fpc-gmp/Makefile
index 12fa2584e97d..53f941132fa6 100644
--- a/math/fpc-gmp/Makefile
+++ b/math/fpc-gmp/Makefile
@@ -18,6 +18,6 @@ OPTIONS_DEFINE= GMP
GMP_DESC= Install gmp library
OPTIONS_DEFAULT= GMP
-GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+GMP_LIB_DEPENDS= libgmp.so:math/gmp
.include "${MASTERDIR}/Makefile"
diff --git a/math/freemat/Makefile b/math/freemat/Makefile
index 10876b99764a..0b1e15d0cdcf 100644
--- a/math/freemat/Makefile
+++ b/math/freemat/Makefile
@@ -13,16 +13,16 @@ COMMENT= Numerical computing environment
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/share/llvm33/cmake/LLVMConfig.cmake:${PORTSDIR}/devel/llvm33 \
- ${LOCALBASE}/llvm33/lib/libclang.a:${PORTSDIR}/lang/clang33
-LIB_DEPENDS= libarpack.so:${PORTSDIR}/math/arpack \
- libboost_math_c99.so:${PORTSDIR}/devel/boost-libs \
- libffi.so:${PORTSDIR}/devel/libffi \
- libfftw3.so:${PORTSDIR}/math/fftw3 \
- libfftw3f.so:${PORTSDIR}/math/fftw3-float \
- libpcre.so:${PORTSDIR}/devel/pcre \
- libportaudio.so:${PORTSDIR}/audio/portaudio \
- libumfpack.so:${PORTSDIR}/math/suitesparse
+BUILD_DEPENDS= ${LOCALBASE}/share/llvm33/cmake/LLVMConfig.cmake:devel/llvm33 \
+ ${LOCALBASE}/llvm33/lib/libclang.a:lang/clang33
+LIB_DEPENDS= libarpack.so:math/arpack \
+ libboost_math_c99.so:devel/boost-libs \
+ libffi.so:devel/libffi \
+ libfftw3.so:math/fftw3 \
+ libfftw3f.so:math/fftw3-float \
+ libpcre.so:devel/pcre \
+ libportaudio.so:audio/portaudio \
+ libumfpack.so:math/suitesparse
USES= blaslapack cmake:outsource dos2unix fortran pkgconfig python:build
USE_GL= yes
diff --git a/math/fricas/Makefile b/math/fricas/Makefile
index 6f8e0ee46062..515e57326c99 100644
--- a/math/fricas/Makefile
+++ b/math/fricas/Makefile
@@ -13,8 +13,8 @@ COMMENT= Computer algebra system, forked from axiom
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license/LICENSE.AXIOM
-BUILD_DEPENDS= noweb:${PORTSDIR}/devel/noweb \
- sbcl:${PORTSDIR}/lang/sbcl
+BUILD_DEPENDS= noweb:devel/noweb \
+ sbcl:lang/sbcl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/math/gap/Makefile b/math/gap/Makefile
index 3c5b0e5398a9..45e2180dc7a5 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${GAP_VERSION}p${PORTVERSION:R:E}_${GAP_DISTTIME}
MAINTAINER= johans@FreeBSD.org
COMMENT= GAP is a system for computational discrete algebra
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake shebangfix tar:bzip2
SHEBANG_FILES= configure \
diff --git a/math/gdcalc/Makefile b/math/gdcalc/Makefile
index 3fa5419f4a5a..c01c6a1c7495 100644
--- a/math/gdcalc/Makefile
+++ b/math/gdcalc/Makefile
@@ -13,7 +13,7 @@ COMMENT= Gnome-based scientific calculator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= ${LOCALBASE}/bin/gunits:${PORTSDIR}/math/units
+RUN_DEPENDS= ${LOCALBASE}/bin/gunits:math/units
USES= pkgconfig
USE_GNOME= libgnomeui
diff --git a/math/geogebra/Makefile b/math/geogebra/Makefile
index f7c8f9fdc3c6..3baa80bb5879 100644
--- a/math/geogebra/Makefile
+++ b/math/geogebra/Makefile
@@ -16,7 +16,7 @@ LICENSE_NAME= GeoGebra Non-Commercial License Agreement
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+RUN_DEPENDS= bash:shells/bash
USE_LINUX?= c6
diff --git a/math/ggobi/Makefile b/math/ggobi/Makefile
index 0a18bc7dcfdd..a0ae6ef36dcf 100644
--- a/math/ggobi/Makefile
+++ b/math/ggobi/Makefile
@@ -11,7 +11,7 @@ COMMENT= Data visualization system
LICENSE= EPL
-LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
+LIB_DEPENDS= libltdl.so:devel/libltdl
USES= pkgconfig tar:bzip2 libtool pathfix desktop-file-utils
USE_GNOME= gtk20 libxml2
diff --git a/math/giacxcas/Makefile b/math/giacxcas/Makefile
index 4b3234eb5cc1..ab0abd6ca556 100644
--- a/math/giacxcas/Makefile
+++ b/math/giacxcas/Makefile
@@ -18,14 +18,14 @@ BROKEN= unfetchable
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
- ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libpng.so:${PORTSDIR}/graphics/png \
- libpari.so:${PORTSDIR}/math/pari \
- libmpfr.so:${PORTSDIR}/math/mpfr \
- libgsl.so:${PORTSDIR}/math/gsl \
- liblapack.so:${PORTSDIR}/math/lapack
+BUILD_DEPENDS= bash:shells/bash \
+ ${LOCALBASE}/lib/libntl.a:math/ntl
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libpng.so:graphics/png \
+ libpari.so:math/pari \
+ libmpfr.so:math/mpfr \
+ libgsl.so:math/gsl \
+ liblapack.so:math/lapack
NO_CDROM= French documentation is for non-commercial use only
diff --git a/math/givaro/Makefile b/math/givaro/Makefile
index 726db178a9d1..c69ce58117e2 100644
--- a/math/givaro/Makefile
+++ b/math/givaro/Makefile
@@ -13,7 +13,7 @@ LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] B license, version 1
LICENSE_FILE= ${WRKSRC}/Licence_CeCILL-B_V1-en.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LIB_DEPENDS= libgmp.so.10:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so.10:math/gmp
USES= libtool
GNU_CONFIGURE= yes
@@ -26,8 +26,8 @@ OPTIONS_DEFINE= DOXYGEN
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOXYGEN}
-BUILD_DEPENDS += doxygen:${PORTSDIR}/devel/doxygen \
- dot:${PORTSDIR}/graphics/graphviz
+BUILD_DEPENDS += doxygen:devel/doxygen \
+ dot:graphics/graphviz
CONFIGURE_ARGS+= --enable-doc --with-docdir=${DOCSDIR}
PLIST_SUB+= PORTDOCS=""
.else
diff --git a/math/glgraph/Makefile b/math/glgraph/Makefile
index 9494fc64e042..4681fd982c8c 100644
--- a/math/glgraph/Makefile
+++ b/math/glgraph/Makefile
@@ -14,8 +14,8 @@ COMMENT= OpenGL based function grapher
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= p5-OpenGL>=0:${PORTSDIR}/graphics/p5-OpenGL \
- import:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS= p5-OpenGL>=0:graphics/p5-OpenGL \
+ import:graphics/ImageMagick
USES= perl5 shebangfix tar:bzip2
USE_PERL5= run
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 6b7df681e9b6..355e99c6ecf9 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -12,7 +12,7 @@ COMMENT= GNU Linear Programming Kit
LICENSE= GPLv3
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
OPTIONS_DEFINE= IODBC MYSQL DOCS
IODBC_DESC= MathProg iodbc support
@@ -37,7 +37,7 @@ CONFIGURE_ARGS+= --disable-dl
.if ${PORT_OPTIONS:MIODBC}
CONFIGURE_ARGS+= --enable-odbc
-LIB_DEPENDS+= libiodbc.so:${PORTSDIR}/databases/libiodbc
+LIB_DEPENDS+= libiodbc.so:databases/libiodbc
.else
CONFIGURE_ARGS+= --disable-odbc
.endif
diff --git a/math/gmp-ecm/Makefile b/math/gmp-ecm/Makefile
index 68db028022d5..230425b808c2 100644
--- a/math/gmp-ecm/Makefile
+++ b/math/gmp-ecm/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ecm-${PORTVERSION}
MAINTAINER= culot@FreeBSD.org
COMMENT= Elliptic Curve Method for Integer Factorization
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
diff --git a/math/gnome-calculator/Makefile b/math/gnome-calculator/Makefile
index 9a42647fc28c..5b7aca9c9f72 100644
--- a/math/gnome-calculator/Makefile
+++ b/math/gnome-calculator/Makefile
@@ -10,8 +10,8 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 3 calculator tool
-BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
-LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr
+BUILD_DEPENDS= itstool:textproc/itstool
+LIB_DEPENDS= libmpfr.so:math/mpfr
PORTSCOUT= limitw:1,even
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index d4d4aa5e09ad..5878076206d1 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -13,10 +13,10 @@ COMMENT= GNOME spreadsheet program
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
-LIB_DEPENDS= libgoffice-0.10.so:${PORTSDIR}/devel/goffice010 \
- libpsiconv.so:${PORTSDIR}/converters/psiconv
-RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
+BUILD_DEPENDS= rarian-sk-config:textproc/rarian
+LIB_DEPENDS= libgoffice-0.10.so:devel/goffice010 \
+ libpsiconv.so:converters/psiconv
+RUN_DEPENDS= rarian-sk-config:textproc/rarian
USES= cpe desktop-file-utils gettext gmake libtool pathfix pkgconfig \
python:2 shebangfix tar:xz
diff --git a/math/gnuplot-tex-extras/Makefile b/math/gnuplot-tex-extras/Makefile
index e69944991dcb..e0adef9053cc 100644
--- a/math/gnuplot-tex-extras/Makefile
+++ b/math/gnuplot-tex-extras/Makefile
@@ -9,7 +9,7 @@ PKGNAMESUFFIX= -tex-extras
MAINTAINER= glewis@FreeBSD.org
COMMENT= Extra files for Gnuplot TeX support
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+RUN_DEPENDS= gnuplot:math/gnuplot
USE_TEX= texmf
NO_BUILD= yes
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index f5c0611dd991..9d432deadb39 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -40,17 +40,17 @@ WX_DESC= wxWidgets (formerly wxWindows) support
OPTIONS_DEFAULT=CAIRO GD WX X11
OPTIONS_SUB= yes
-CAIRO_LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
+CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo
CAIRO_USE= GNOME=pango
CAIRO_CONFIGURE_WITH= cairo
-GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+GD_LIB_DEPENDS= libgd.so:graphics/gd
GD_CONFIGURE_ON= --with-gd=${LOCALBASE}
GD_CONFIGURE_OFF+= --without-gd
GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox
-PDF_LIB_DEPENDS= libpdf.so:${PORTSDIR}/print/pdflib
+PDF_LIB_DEPENDS= libpdf.so:print/pdflib
PDF_CONFIGURE_ON= --with-pdf=${LOCALBASE}
PDF_CONFIGURE_OFF= --without-pdf
diff --git a/math/grace/Makefile b/math/grace/Makefile
index d51749057d41..083a83a885ad 100644
--- a/math/grace/Makefile
+++ b/math/grace/Makefile
@@ -15,10 +15,10 @@ COMMENT= Powerful 2D plotting tool (successor of xmgr)
LICENSE= GPLv2
-LIB_DEPENDS= libt1.so:${PORTSDIR}/devel/t1lib \
- libpng.so:${PORTSDIR}/graphics/png \
- libXbae.so:${PORTSDIR}/x11-toolkits/xbae
-RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
+LIB_DEPENDS= libt1.so:devel/t1lib \
+ libpng.so:graphics/png \
+ libXbae.so:x11-toolkits/xbae
+RUN_DEPENDS= xdg-open:devel/xdg-utils
USES= gmake jpeg motif
GNU_CONFIGURE= yes
@@ -37,15 +37,15 @@ OPTIONS_DEFINE= DOCS EXAMPLES FFTW NETCDF PDF XMHTML
OPTIONS_DEFAULT= FFTW NETCDF PDF XMHTML
FFTW_CONFIGURE_WITH= fftw
-FFTW_LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw
+FFTW_LIB_DEPENDS= libfftw.so:math/fftw
NETCDF_CONFIGURE_ENABLE= netcdf
-NETCDF_LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf
+NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf
PDF_DESC= PDF output
PDF_CONFIGURE_ENABLE= pdfdrv
-PDF_LIB_DEPENDS= libpdf.so:${PORTSDIR}/print/pdflib
+PDF_LIB_DEPENDS= libpdf.so:print/pdflib
XMHTML_DESC= XmHTML based on-line help
XMHTML_CONFIGURE_ENABLE= xmhtml
-XMHTML_LIB_DEPENDS= libXmHTML.so:${PORTSDIR}/x11-toolkits/xmhtml
+XMHTML_LIB_DEPENDS= libXmHTML.so:x11-toolkits/xmhtml
post-configure:
${REINPLACE_CMD} -e \
diff --git a/math/gracetmpl/Makefile b/math/gracetmpl/Makefile
index 9a7e2239a1ac..30d1db2f9ccc 100644
--- a/math/gracetmpl/Makefile
+++ b/math/gracetmpl/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy way to use existing grace-files as a template
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:math/py-numarray
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:math/py-numarray
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
diff --git a/math/gretl/Makefile b/math/gretl/Makefile
index 0d9cdd3c4526..f8179c49a651 100644
--- a/math/gretl/Makefile
+++ b/math/gretl/Makefile
@@ -12,8 +12,8 @@ COMMENT= GNU Regression, Econometrics, and Time-series Library
LICENSE= GPLv3
-LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
- libfftw3.so:${PORTSDIR}/math/fftw3
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libfftw3.so:math/fftw3
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -40,12 +40,12 @@ OPTIONS_DEFAULT= GUI OPENMP UNZIP
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MATLAS}
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS= -lf77blas
LAPACK= -lalapack -lcblas
.else
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \
- liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas \
+ liblapack.so:math/lapack
BLAS= -lblas
LAPACK= -llapack
.endif
@@ -55,8 +55,8 @@ CONFIGURE_ARGS+= --enable-gtk2=yes --enable-gui=yes
INSTALLS_ICONS= yes
USE_GNOME= gtksourceview2
USES+= desktop-file-utils shared-mime-info
-BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
-RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
+BUILD_DEPENDS+= gnuplot:math/gnuplot
+RUN_DEPENDS+= gnuplot:math/gnuplot
PLIST_SUB+= GUI=""
.else
USE_GNOME= glib20 libxml2
@@ -75,7 +75,7 @@ PLIST_SUB+= NLS="@comment "
.if ${PORT_OPTIONS:MODBC}
CONFIGURE_ARGS+= --with-odbc
-LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
+LIB_DEPENDS+= libodbc.so:databases/unixODBC
PLIST_SUB+= ODBC=""
.else
CONFIGURE_ARGS+= --without-odbc
@@ -88,7 +88,7 @@ CONFIGURE_ARGS+= --enable-openmp
.if ${PORT_OPTIONS:MR}
CONFIGURE_ARGS+= --with-libR
-LIB_DEPENDS+= libR.so:${PORTSDIR}/math/R
+LIB_DEPENDS+= libR.so:math/R
.else
CONFIGURE_ARGS+= --without-libR
.endif
diff --git a/math/gri/Makefile b/math/gri/Makefile
index c164866d8eba..f766171e79bf 100644
--- a/math/gri/Makefile
+++ b/math/gri/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible plotting language for producing scientific graphs
-LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf
+LIB_DEPENDS= libnetcdf.so:science/netcdf
USES= gmake readline shebangfix makeinfo
SHEBANG_FILES= doc/examples/FEM.pl src/gri_merge src/gri_unpage
@@ -38,7 +38,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES}
-BUILD_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+BUILD_DEPENDS+= convert:graphics/ImageMagick
.endif
post-patch:
diff --git a/math/gringo/Makefile b/math/gringo/Makefile
index 576e13c9103d..94bbdc01b9db 100644
--- a/math/gringo/Makefile
+++ b/math/gringo/Makefile
@@ -12,7 +12,7 @@ COMMENT= Grounding algorithm based on semi-naive database evaluation
LICENSE= GPLv3
-BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
+BUILD_DEPENDS= re2c:devel/re2c
USES= bison compiler:c++11-lib scons
diff --git a/math/hfst/Makefile b/math/hfst/Makefile
index 4ce1ab6b2bd8..84374993abfe 100644
--- a/math/hfst/Makefile
+++ b/math/hfst/Makefile
@@ -22,7 +22,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
-BUILD_DEPENDS+= flex>2.5.33:${PORTSDIR}/textproc/flex
+BUILD_DEPENDS+= flex>2.5.33:textproc/flex
CONFIGURE_ENV+= LEX="${FLEX}"
FLEX= ${LOCALBASE}/bin/flex
.endif
diff --git a/math/igraph/Makefile b/math/igraph/Makefile
index 10e43843f549..2c4fb1bdeb67 100644
--- a/math/igraph/Makefile
+++ b/math/igraph/Makefile
@@ -11,7 +11,7 @@ COMMENT= Package For Manipulating Undirected And Directed Graphs
LICENSE= GPLv2
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
GNU_CONFIGURE= yes
USES= gmake libtool
diff --git a/math/jacal/Makefile b/math/jacal/Makefile
index 3a0ce7af212e..3bdd2e9cc0fa 100644
--- a/math/jacal/Makefile
+++ b/math/jacal/Makefile
@@ -11,8 +11,8 @@ COMMENT= Symbolic mathematics program written in Scheme
LICENSE= GPLv3
-RUN_DEPENDS= scm:${PORTSDIR}/lang/scm \
- ${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib
+RUN_DEPENDS= scm:lang/scm \
+ ${LOCALBASE}/share/slib/require.scm:lang/slib
WRKSRC= ${WRKDIR}/jacal
diff --git a/math/jags/Makefile b/math/jags/Makefile
index e7d74de448b4..8767668c35c3 100644
--- a/math/jags/Makefile
+++ b/math/jags/Makefile
@@ -48,11 +48,11 @@ WITH_BLAS?= reference
.endif
.if ${WITH_BLAS} == "atlas"
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
CONFIGURE_ARGS= --with-lapack="-lalapack -lptcblas" --with-blas="-lptf77blas"
.elif ${WITH_BLAS} == "reference"
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas
+LIB_DEPENDS+= liblapack.so:math/lapack
CONFIGURE_ARGS= --with-lapack="-llapack" --with-blas="-lblas"
.else
IGNORE= invalid value for WITH_BLAS: ${WITH_BLAS}
@@ -84,7 +84,7 @@ post-install:
.endif
.if defined(MAINTAINER_MODE)
-BUILD_DEPENDS+= ${LOCALBASE}/lib/R/library/coda/R/coda.rdb:${PORTSDIR}/math/R-cran-coda
+BUILD_DEPENDS+= ${LOCALBASE}/lib/R/library/coda/R/coda.rdb:math/R-cran-coda
check test: install
.for i in 1 2
diff --git a/math/jama/Makefile b/math/jama/Makefile
index 25d476fa9b1c..97edc6c6120e 100644
--- a/math/jama/Makefile
+++ b/math/jama/Makefile
@@ -13,8 +13,8 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= erik@bz.bzflag.bz
COMMENT= Java-like Matrix C++ Templates
-BUILD_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
-RUN_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:${PORTSDIR}/devel/tnt
+BUILD_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:devel/tnt
+RUN_DEPENDS= ${LOCALBASE}/include/tnt/tnt.h:devel/tnt
USES= zip
NO_BUILD= yes
diff --git a/math/jlatexmath/Makefile b/math/jlatexmath/Makefile
index e9c5e9a3a5b7..6a2bee5c8443 100644
--- a/math/jlatexmath/Makefile
+++ b/math/jlatexmath/Makefile
@@ -25,14 +25,14 @@ OPTIONS_DEFAULT= FOP
OPTIONS_SUB= yes
FOP_DESC= textproc/fop plugin (required for math/scilab)
-FOP_BUILD_DEPENDS= fop:${PORTSDIR}/textproc/fop \
- ${JAVALIBDIR}/xmlgraphics-commons.jar:${PORTSDIR}/graphics/xmlgraphics-commons
+FOP_BUILD_DEPENDS= fop:textproc/fop \
+ ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons
FOP_RUN_DEPENDS:= ${FOP_BUILD_DEPENDS} \
- ${JAVASHAREDIR}/batik/batik.jar:${PORTSDIR}/graphics/batik \
- ${JAVALIBDIR}/avalon-framework.jar:${PORTSDIR}/devel/avalon-framework \
- ${JAVALIBDIR}/commons-io.jar:${PORTSDIR}/devel/jakarta-commons-io \
- ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
- ${JAVALIBDIR}/xml-apis-ext.jar:${PORTSDIR}/textproc/xml-commons
+ ${JAVASHAREDIR}/batik/batik.jar:graphics/batik \
+ ${JAVALIBDIR}/avalon-framework.jar:devel/avalon-framework \
+ ${JAVALIBDIR}/commons-io.jar:devel/jakarta-commons-io \
+ ${JAVALIBDIR}/commons-logging.jar:java/jakarta-commons-logging \
+ ${JAVALIBDIR}/xml-apis-ext.jar:textproc/xml-commons
FOP_ALL_TARGET= fop
post-patch:
diff --git a/math/jts/Makefile b/math/jts/Makefile
index 08d5013a18cf..efc172fd613a 100644
--- a/math/jts/Makefile
+++ b/math/jts/Makefile
@@ -9,9 +9,9 @@ MASTER_SITES= SF/${PORTNAME}-topo-suite/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= JTS Topology Suite
-RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom \
- ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
- ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j
+RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:java/jdom \
+ ${JAVALIBDIR}/junit.jar:java/junit \
+ ${JAVALIBDIR}/xml-apis.jar:textproc/xerces-j
USES= zip
NO_BUILD= yes
diff --git a/math/kalgebra/Makefile b/math/kalgebra/Makefile
index 85b1a8f65131..22c673db04a4 100644
--- a/math/kalgebra/Makefile
+++ b/math/kalgebra/Makefile
@@ -9,7 +9,7 @@ DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE graph calculator
-LIB_DEPENDS= libanalitza.so:${PORTSDIR}/math/analitza
+LIB_DEPENDS= libanalitza.so:math/analitza
CMAKE_ARGS= -DBUILD_mobile:BOOL=FALSE
USE_GL= glu
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index b1522abf098b..0db896d02db8 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -9,8 +9,8 @@ DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Scientific calculator for KDE
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libmpfr.so:${PORTSDIR}/math/mpfr
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libmpfr.so:math/mpfr
USE_KDE4= kdeprefix automoc4 kdelibs
USES= cmake:outsource tar:xz
diff --git a/math/kig/Makefile b/math/kig/Makefile
index a354ae82f9d4..c9c3b53d0d17 100644
--- a/math/kig/Makefile
+++ b/math/kig/Makefile
@@ -9,7 +9,7 @@ DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 interactive geometry application
-LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs
+LIB_DEPENDS= libboost_python.so:devel/boost-python-libs
USE_KDE4= kdelibs kdeprefix automoc4
USES= cmake:outsource compiler:c++11-lib tar:xz
diff --git a/math/kktdirect/Makefile b/math/kktdirect/Makefile
index 963a15e8ac72..d7817b6b59d1 100644
--- a/math/kktdirect/Makefile
+++ b/math/kktdirect/Makefile
@@ -38,16 +38,16 @@ WITH_BLAS?= reference
.endif
.if ${WITH_BLAS} == reference
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas
+LIB_DEPENDS+= liblapack.so:math/lapack
BLAS= -lblas
LAPACK= -llapack
.elif ${WITH_BLAS} == gotoblas
-LIB_DEPENDS+= libgoto2p.so:${PORTSDIR}/math/gotoblas
+LIB_DEPENDS+= libgoto2p.so:math/gotoblas
BLAS= -lgoto2p
LAPACK= -lgoto2p
.elif ${WITH_BLAS} == atlas
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS= -lptf77blas
LAPACK= -lalapack -lptcblas
.endif
diff --git a/math/labplot/Makefile b/math/labplot/Makefile
index 769871393865..b8d62393a526 100644
--- a/math/labplot/Makefile
+++ b/math/labplot/Makefile
@@ -13,7 +13,7 @@ COMMENT= Data plotting and function analysis tool for KDE
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl
USES= cmake shared-mime-info tar:bzip2
USE_XORG= xft xpm
diff --git a/math/lapack/Makefile b/math/lapack/Makefile
index 876416d4cfd0..e6a77cf31ed2 100644
--- a/math/lapack/Makefile
+++ b/math/lapack/Makefile
@@ -47,8 +47,8 @@ ALL_TARGET= lapackelib
LAPACKELIB= liblapacke.a
LAPACKETMGLIB= liblapacke_tmg.a
MAKE_ENV+= LAPACKELIB="${LAPACKELIB}" LAPACKETMGLIB="${LAPACKETMGLIB}"
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \
- liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas \
+ liblapack.so:math/lapack
LIBS= lapacke lapacke_tmg
INCLS= lapacke lapacke_utils lapacke_mangling
PLIST_SUB+= BLAS="@comment " LAPACK="@comment " XLAPACK="@comment " LAPACKE=""
@@ -56,7 +56,7 @@ SVERSION= 1
.else
ALL_TARGET= lib
BLASLIB?= -L${LOCALBASE}/lib -lblas
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= libblas.so:math/blas
LIBS= lapack tmglib
SVERSION= 4
TEST_TARGET= lapack_testing
@@ -67,7 +67,7 @@ USES+= python:build
S= \#
.endif
.if defined(XLAPACK_SLAVEPORT)
-LIB_DEPENDS+= libxblas.so:${PORTSDIR}/math/xblas
+LIB_DEPENDS+= libxblas.so:math/xblas
MAKE_ENV+= USEXBLAS=yes XBLASLIB="${XBLASLIB}"
P= x
PLIST_SUB+= BLAS="@comment " LAPACK="@comment " XLAPACK="" LAPACKE="@comment "
@@ -76,7 +76,7 @@ XBLASLIB?= -L${LOCALBASE}/lib -lxblas
PLIST_FILES+= ${MAN3L:S|^|man/man3/|:S|$|.gz|}
PLIST_SUB+= BLAS="@comment " LAPACK="" XLAPACK="@comment " LAPACKE="@comment "
.if defined(MAINTAINER_MODE)
-BUILD_DEPENDS += doxygen:${PORTSDIR}/devel/doxygen
+BUILD_DEPENDS += doxygen:devel/doxygen
MAN_TARGET= build-manpages
.endif
.endif
diff --git a/math/libflame/Makefile b/math/libflame/Makefile
index 122126da6d88..6645ef70deea 100644
--- a/math/libflame/Makefile
+++ b/math/libflame/Makefile
@@ -15,7 +15,7 @@ COMMENT= FLAME dense linear algebra library
LICENSE= LGPL21
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= bash:shells/bash
GNU_CONFIGURE= yes
USE_CSTD= c99
@@ -124,19 +124,19 @@ WITH_BLAS?= reference
.if ! ${PORT_OPTIONS:MBUILTIN_BLAS}
.if ${WITH_BLAS} == atlas
-RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:${PORTSDIR}/math/atlas
+RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:math/atlas
BLAS= -lptf77blas
.elif ${WITH_BLAS} == atlas_c
-RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:${PORTSDIR}/math/atlas
+RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:math/atlas
BLAS= -lptcblas
.elif ${WITH_BLAS} == gotoblas
-RUN_DEPENDS += ${LOCALBASE}/lib/libgoto2p.so:${PORTSDIR}/math/gotoblas
+RUN_DEPENDS += ${LOCALBASE}/lib/libgoto2p.so:math/gotoblas
BLAS= -lgoto2p
.elif ${WITH_BLAS} == reference
-RUN_DEPENDS += ${LOCALBASE}/lib/libblas.so:${PORTSDIR}/math/blas
+RUN_DEPENDS += ${LOCALBASE}/lib/libblas.so:math/blas
BLAS= -lblas
.elif ${WITH_BLAS} == reference_c
-RUN_DEPENDS += ${LOCALBASE}/lib/libgslcblas.so:${PORTSDIR}/math/gsl
+RUN_DEPENDS += ${LOCALBASE}/lib/libgslcblas.so:math/gsl
BLAS= -lgslcblas
.endif #WITH_BLAS
.endif #WITH_BUILTIN_BLAS
@@ -144,19 +144,19 @@ BLAS= -lgslcblas
.if ${PORT_OPTIONS:MEXTERNAL_LAPACK}
.if !empty(WITH_BLAS:Matlas*)
.if ${PORT_OPTIONS:MBUILTIN_BLAS}
-RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:${PORTSDIR}/math/atlas
+RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:math/atlas
.endif
LAPACK= -lalapack -lptcblas -lptf77blas
.elif ${WITH_BLAS} == gotoblas
.if ${PORT_OPTIONS:MBUILTIN_BLAS}
-RUN_DEPENDS += ${LOCALBASE}/lib/libgoto2p.so:${PORTSDIR}/math/gotoblas
+RUN_DEPENDS += ${LOCALBASE}/lib/libgoto2p.so:math/gotoblas
.endif
LAPACK= -lgoto2p
.elif !empty(WITH_BLAS:Mreference*)
-RUN_DEPENDS += ${LOCALBASE}/lib/liblapack.so:${PORTSDIR}/math/lapack
+RUN_DEPENDS += ${LOCALBASE}/lib/liblapack.so:math/lapack
LAPACK= -llapack
.if ${PORT_OPTIONS:MBUILTIN_BLAS} || ${PORT_OPTIONS:MCBLAS}
-RUN_DEPENDS += ${LOCALBASE}/lib/libblas.so:${PORTSDIR}/math/blas
+RUN_DEPENDS += ${LOCALBASE}/lib/libblas.so:math/blas
LAPACK+= -lblas
.endif
.endif #WITH_BLAS
diff --git a/math/libjbigi/Makefile b/math/libjbigi/Makefile
index 43fc347ec8a6..e6645778107e 100644
--- a/math/libjbigi/Makefile
+++ b/math/libjbigi/Makefile
@@ -11,7 +11,7 @@ DISTNAME= i2psource_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= i2p JNI to GNU MP Bignum library (libgmp)
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
USES= tar:bzip2
USE_JAVA= yes
diff --git a/math/libmissing/Makefile b/math/libmissing/Makefile
index 96440010b557..377effe937a5 100644
--- a/math/libmissing/Makefile
+++ b/math/libmissing/Makefile
@@ -11,7 +11,7 @@ COMMENT= Standard math functions missing from the FreeBSD libm
LICENSE= BSD2CLAUSE
-LIB_DEPENDS= libmpc.so:${PORTSDIR}/math/mpc
+LIB_DEPENDS= libmpc.so:math/mpc
USE_LDCONFIG= yes
USES= tar:xz uidfix
diff --git a/math/liborigin/Makefile b/math/liborigin/Makefile
index 20a1f54b3c2f..c6522496a1a8 100644
--- a/math/liborigin/Makefile
+++ b/math/liborigin/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.0
MAINTAINER= makc@FreeBSD.org
COMMENT= Library and utility for reading OriginLab project files
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:${PORTSDIR}/devel/boost-libs
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs
CONFLICTS_INSTALL= labplot-2.*
@@ -20,7 +20,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *
OPTIONS_DEFINE= DOXYGEN
-DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
+DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-patch-DOXYGEN-off:
${REINPLACE_CMD} -e '/find_package(Doxygen)/d' ${WRKSRC}/CMakeLists.txt
diff --git a/math/libproj4/Makefile b/math/libproj4/Makefile
index 0a916b4b9935..6746230f0b08 100644
--- a/math/libproj4/Makefile
+++ b/math/libproj4/Makefile
@@ -11,7 +11,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= thierry@FreeBSD.org
COMMENT= C language procedures related to cartographic processes
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl
USES= gmake tar:bzip2
CFLAGS+= -I${LOCALBASE}/include
@@ -30,7 +30,7 @@ EXTRACT_ONLY= ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX}
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000034
-LIB_DEPENDS+= libmissing.so:${PORTSDIR}/math/libmissing
+LIB_DEPENDS+= libmissing.so:math/libmissing
LDFLAGS+= -lmissing
.endif
diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile
index c34892df9659..ebca830260ff 100644
--- a/math/libqalculate/Makefile
+++ b/math/libqalculate/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/qalculate/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jhale@FreeBSD.org
COMMENT= Multi-purpose desktop calculator (backend library)
-LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln
+LIB_DEPENDS= libcln.so:math/cln
USES= pkgconfig pathfix gmake libtool gettext-tools
USE_GNOME= glib20 intltool libxml2
diff --git a/math/librsb/Makefile b/math/librsb/Makefile
index 128bfa0915c9..f5c8d1a7241e 100644
--- a/math/librsb/Makefile
+++ b/math/librsb/Makefile
@@ -14,8 +14,8 @@ COMMENT= Sparse matrix library
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed \
- bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= gsed:textproc/gsed \
+ bash:shells/bash
USES= fortran compiler:openmp gmake shebangfix
GNU_CONFIGURE= yes
diff --git a/math/libtsnnls/Makefile b/math/libtsnnls/Makefile
index 0f619227e01f..dc432a7f89e4 100644
--- a/math/libtsnnls/Makefile
+++ b/math/libtsnnls/Makefile
@@ -31,20 +31,20 @@ WITH_BLAS=atlas
# FIXME compiling error when using dmalloc
#.if ${PORT_OPTIONS:MDMALLOC}
#CONFIGURE_ARGS+=--with-dmalloc
-#LIB_DEPENDS+=dmalloc.1:${PORTSDIR}/devel/dmalloc
+#LIB_DEPENDS+=dmalloc.1:devel/dmalloc
#.endif
.if ${WITH_BLAS} == reference
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas
+LIB_DEPENDS+= liblapack.so:math/lapack
BLAS=-lblas
LAPACK=-llapack
.elif ${WITH_BLAS} == gotoblas
-LIB_DEPENDS+= libgoto2.so:${PORTSDIR}/math/gotoblas
+LIB_DEPENDS+= libgoto2.so:math/gotoblas
BLAS=-lgoto2p
LAPACK=-lgoto2p
.elif ${WITH_BLAS} == atlas
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS=-lptf77blas
LAPACK=-lalapack -lptcblas
.endif
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index c6d046f1c588..52bd84c7d761 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -11,7 +11,7 @@ DISTFILES= ${SRCS}
MAINTAINER= bf@FreeBSD.org
COMMENT= Linear Algebra package
-LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS= libblas.so:math/blas
MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
MAKEFILE= ${FILESDIR}/Makefile.lib
diff --git a/math/lll_spect/Makefile b/math/lll_spect/Makefile
index b215a0d9cab6..d9182456a901 100644
--- a/math/lll_spect/Makefile
+++ b/math/lll_spect/Makefile
@@ -13,8 +13,8 @@ EXTRACT_ONLY=
MAINTAINER= bf@FreeBSD.org
COMMENT= LLL-spectral test of linear congruential random number generators
-BUILD_DEPENDS= ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
-RUN_DEPENDS= ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
+BUILD_DEPENDS= ${LOCALBASE}/lib/libntl.a:math/ntl
+RUN_DEPENDS= ${LOCALBASE}/lib/libntl.a:math/ntl
PLIST_FILES= bin/lll_spect bin/lll_search
PORTEXAMPLES= examples.txt
diff --git a/math/ltl/Makefile b/math/ltl/Makefile
index b7f6c13c1f54..d60edda70a5d 100644
--- a/math/ltl/Makefile
+++ b/math/ltl/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= http://www.mpe.mpg.de/~drory/ltl/
MAINTAINER= rossiya@gmail.com
COMMENT= C++ class SSE library for scientific computing
-LIB_DEPENDS= liblapack.so:${PORTSDIR}/math/lapack \
- libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS= liblapack.so:math/lapack \
+ libblas.so:math/blas
USES= gmake libtool
GNU_CONFIGURE= yes
diff --git a/math/matio/Makefile b/math/matio/Makefile
index 4f1993cb4302..1f74bb555dad 100644
--- a/math/matio/Makefile
+++ b/math/matio/Makefile
@@ -21,7 +21,7 @@ OPTIONS_DEFINE= HDF5
OPTIONS_DEFAULT= HDF5
HDF5_DESC= Support for MAT file version 7.3
-HDF5_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5
+HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5
HDF5_CONFIGURE_ON= --enable-mat73=yes \
--with-hdf5=${LOCALBASE}
diff --git a/math/matlab-installer/Makefile b/math/matlab-installer/Makefile
index 3bf3708e3d76..b2e567216e87 100644
--- a/math/matlab-installer/Makefile
+++ b/math/matlab-installer/Makefile
@@ -12,9 +12,9 @@ COMMENT= Easy installation of Linux Matlab(r) on FreeBSD
LICENSE= BSD3CLAUSE
-RUN_DEPENDS= mount_cd9660_image:${PORTSDIR}/sysutils/diskimage-tools \
- auto-ask:${PORTSDIR}/sysutils/auto-admin \
- webbrowser:${PORTSDIR}/www/webbrowser \
+RUN_DEPENDS= mount_cd9660_image:sysutils/diskimage-tools \
+ auto-ask:sysutils/auto-admin \
+ webbrowser:www/webbrowser \
USES= tar:xz
USE_LINUX= yes
diff --git a/math/maxima/Makefile b/math/maxima/Makefile
index 28c2360ec640..600ca0d7f742 100644
--- a/math/maxima/Makefile
+++ b/math/maxima/Makefile
@@ -13,9 +13,9 @@ COMMENT= Symbolic mathematics program
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/bin/${LISPPORT}
-PATCH_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
+PATCH_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
RUN_DEPENDS= ${LOCALBASE}/bin/${LISPPORT} \
- ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
+ ${LOCALBASE}/bin/gnuplot:math/gnuplot
USES= gmake makeinfo perl5 python:build tk:84+
USE_PERL5= build
@@ -47,7 +47,7 @@ SBCL_DESC= Build with Steel Bank Common Lisp
# Lisp to build with. Define only ONE of these!
.if ${PORT_OPTIONS:MCLISP}
LISPSELECT= --enable-clisp
-LISPPORT= clisp:${PORTSDIR}/lang/clisp
+LISPPORT= clisp:lang/clisp
BINDIRECTORY= binary-clisp
LISPBINARY= lisp.run
PLIST_SUB+= LISPBINARY=""
@@ -56,7 +56,7 @@ MAXIMABINARY= maxima.mem
.if ${PORT_OPTIONS:MCMUCL}
LISPSELECT= --enable-cmucl
-LISPPORT= lisp:${PORTSDIR}/lang/cmucl
+LISPPORT= lisp:lang/cmucl
BINDIRECTORY= binary-cmucl
LISPBINARY= lisp
PLIST_SUB+= LISPBINARY=""
@@ -66,7 +66,7 @@ STRIP= #strip(1) chokes on LISPBINARY
.if ${PORT_OPTIONS:MGCL}
LISPSELECT= --enable-gcl
-LISPPORT= gcl:${PORTSDIR}/lang/gcl
+LISPPORT= gcl:lang/gcl
BINDIRECTORY= binary-gcl
#LISPBINARY is null so fudge this so deinstall works cleanly
PLIST_SUB+= LISPBINARY="@comment "
@@ -87,7 +87,7 @@ LISPSELECT= --with-sbcl="sbcl ${MAXIMA_LISP_OPTIONS}"
. else
LISPSELECT= --enable-sbcl
. endif
-LISPPORT= sbcl:${PORTSDIR}/lang/sbcl
+LISPPORT= sbcl:lang/sbcl
BINDIRECTORY= binary-sbcl
#LISPBINARY is null so fudge this so deinstall works cleanly
PLIST_SUB+= LISPBINARY="@comment "
diff --git a/math/mbasecalc/Makefile b/math/mbasecalc/Makefile
index f516aa0dcdbc..6f00495966fd 100644
--- a/math/mbasecalc/Makefile
+++ b/math/mbasecalc/Makefile
@@ -13,7 +13,7 @@ COMMENT= Simple calculator program inspired by basecalc
LICENSE= GPLv2
-LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
MAKE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CPPFLAGS} ${CXXFLAGS}" \
LIBS="${LDFLAGS}"
diff --git a/math/mingw32-libgmp/Makefile b/math/mingw32-libgmp/Makefile
index 2bef2f0f47c6..cdec25a067b5 100644
--- a/math/mingw32-libgmp/Makefile
+++ b/math/mingw32-libgmp/Makefile
@@ -12,8 +12,8 @@ DISTNAME= gmp-${DISTVERSION}a
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Library for arbitrary precision arithmetic (MinGW32)
-BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc \
- mingwm10.dll:${PORTSDIR}/devel/mingw32-bin-msvcrt
+BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:devel/${PKGNAMEPREFIX}gcc \
+ mingwm10.dll:devel/mingw32-bin-msvcrt
WRKSRC= ${WRKDIR}/gmp-${PORTVERSION}
diff --git a/math/mosesdecoder/Makefile b/math/mosesdecoder/Makefile
index 09b36c273b7e..aa6c1df720cc 100644
--- a/math/mosesdecoder/Makefile
+++ b/math/mosesdecoder/Makefile
@@ -10,12 +10,12 @@ CATEGORIES= math
MAINTAINER= demon@FreeBSD.org
COMMENT= A statistical machine translation system
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
- bjam:${PORTSDIR}/devel/boost-jam
-LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
- libRandLM.so:${PORTSDIR}/textproc/randlm \
- libirstlm.so:${PORTSDIR}/textproc/irstlm
-RUN_DEPENDS= lmplz:${PORTSDIR}/textproc/kenlm
+BUILD_DEPENDS= bash:shells/bash \
+ bjam:devel/boost-jam
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
+ libRandLM.so:textproc/randlm \
+ libirstlm.so:textproc/irstlm
+RUN_DEPENDS= lmplz:textproc/kenlm
BROKEN_FreeBSD_9= does not link
diff --git a/math/mpc/Makefile b/math/mpc/Makefile
index 856d5f6f3b19..f6d4b146fa56 100644
--- a/math/mpc/Makefile
+++ b/math/mpc/Makefile
@@ -9,8 +9,8 @@ MASTER_SITES= http://www.multiprecision.org/mpc/download/
MAINTAINER= gerald@FreeBSD.org
COMMENT= Library of complex numbers with arbitrarily high precision
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libmpfr.so:${PORTSDIR}/math/mpfr
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libmpfr.so:math/mpfr
PORTSCOUT= site:http://www.multiprecision.org/index.php?prog=mpc&page=download
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
index d82597284778..a0a3942a8c54 100644
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -16,8 +16,8 @@ COMMENT= Library for multiple-precision floating-point computations
LICENSE= LGPL3
-#PATCH_DEPENDS= gpatch:${PORTSDIR}/devel/patch
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+#PATCH_DEPENDS= gpatch:devel/patch
+LIB_DEPENDS= libgmp.so:math/gmp
#PATCHLEVEL= 10
#PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
diff --git a/math/mpir/Makefile b/math/mpir/Makefile
index 76af062b66ff..b5e67ffb461e 100644
--- a/math/mpir/Makefile
+++ b/math/mpir/Makefile
@@ -12,7 +12,7 @@ COMMENT= Multiprecision integer library
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
-BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
+BUILD_DEPENDS= yasm:devel/yasm
USES= libtool tar:bzip2
GNU_CONFIGURE= yes
diff --git a/math/msieve/Makefile b/math/msieve/Makefile
index 29aebb835116..344e427d31bd 100644
--- a/math/msieve/Makefile
+++ b/math/msieve/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= bf@FreeBSD.org
COMMENT= Fast factorization of big integers using MPQS and GNFS
-BUILD_DEPENDS= ${LOCALBASE}/lib/libecm.a:${PORTSDIR}/math/gmp-ecm
+BUILD_DEPENDS= ${LOCALBASE}/lib/libecm.a:math/gmp-ecm
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake
diff --git a/math/mumps/Makefile b/math/mumps/Makefile
index db6878ecde5b..5d05ec9a3db4 100644
--- a/math/mumps/Makefile
+++ b/math/mumps/Makefile
@@ -44,7 +44,7 @@ FFLAGS+= -O3 -ffast-math
.endif
.ifdef WITH_METIS
-BUILD_DEPENDS+= ${LOCALBASE}/bin/oemetis:${PORTSDIR}/math/metis4
+BUILD_DEPENDS+= ${LOCALBASE}/bin/oemetis:math/metis4
MAKE_ENV+= ORDERINGSF=-Dmetis
.endif
@@ -58,25 +58,25 @@ OPTIONS_DEFINE= DOCS EXAMPLES
WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS_LIBS= -lf77blas
LAPACK_LIBS= -lalapack -lcblas
.else
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= libblas.so:math/blas
BLAS_LIBS= -lblas
LAPACK_LIBS= -llapack
.endif
.ifdef WITH_MPI
PKGNAMESUFFIX+= -mpich
-BUILD_DEPENDS+= ${LOCALBASE}/include/mpif.h:${PORTSDIR}/net/mpich2 \
- ${LOCALBASE}/lib/libblacs.a:${PORTSDIR}/math/blacs \
- ${LOCALBASE}/lib/libscalapack.a:${PORTSDIR}/math/scalapack
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
+BUILD_DEPENDS+= ${LOCALBASE}/include/mpif.h:net/mpich2 \
+ ${LOCALBASE}/lib/libblacs.a:math/blacs \
+ ${LOCALBASE}/lib/libscalapack.a:math/scalapack
+LIB_DEPENDS+= liblapack.so:math/lapack
# Note: -l?mumps still requires to be linked with -lblacs + -lscalapack
-RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2 \
- ${LOCALBASE}/lib/libblacs.a:${PORTSDIR}/math/blacs \
- ${LOCALBASE}/lib/libscalapack.a:${PORTSDIR}/math/scalapack
+RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:net/mpich2 \
+ ${LOCALBASE}/lib/libblacs.a:math/blacs \
+ ${LOCALBASE}/lib/libscalapack.a:math/scalapack
CONFLICTS= mumps-4*
.else
CONFLICTS= mumps-mpich-4*
diff --git a/math/ndiff/Makefile b/math/ndiff/Makefile
index 5cd08b615d6a..88a14700c20f 100644
--- a/math/ndiff/Makefile
+++ b/math/ndiff/Makefile
@@ -23,7 +23,7 @@ PORTDOCS= *.html *.pdf *.ps *.txt
OPTIONS_DEFINE= DOCS GMP
-GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+GMP_LIB_DEPENDS= libgmp.so:math/gmp
GMP_CFLAGS= -I${LOCALBASE}/include
GMP_LDFLAGS= -L${LOCALBASE}/lib
GMP_CONFIGURE_ON= --with-gmp
diff --git a/math/nlopt/Makefile b/math/nlopt/Makefile
index 0640008746f7..dd5afb88aef4 100644
--- a/math/nlopt/Makefile
+++ b/math/nlopt/Makefile
@@ -14,11 +14,11 @@ LICENSE= LGPL21 MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libguile-2.0.so:${PORTSDIR}/lang/guile2
-BUILD_DEPENDS= swig3.0:${PORTSDIR}/devel/swig30 \
- ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:${PORTSDIR}/math/py-numpy
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:${PORTSDIR}/math/py-numpy
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libguile-2.0.so:lang/guile2
+BUILD_DEPENDS= swig3.0:devel/swig30 \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:math/py-numpy
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1:math/py-numpy
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index 93031c860969..f36c5f10feb9 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -11,7 +11,7 @@ COMMENT= Victor Shoup's Number Theory Library
# ntl is faster with libgmp4, but you can disable it
.if !defined(WITHOUT_GMP)
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
CONFIGURE_ARGS= NTL_GMP_LIP=on
.endif
diff --git a/math/numdiff/Makefile b/math/numdiff/Makefile
index 11b1715b6904..bf221bb6f05a 100644
--- a/math/numdiff/Makefile
+++ b/math/numdiff/Makefile
@@ -26,7 +26,7 @@ OPTIONS_DEFINE= DOCS GMP NLS
OPTIONS_DEFAULT= GMP
OPTIONS_SUB= yes
-GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+GMP_LIB_DEPENDS= libgmp.so:math/gmp
GMP_CONFIGURE_ENABLE= gmp
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
diff --git a/math/ocaml-ocamlgraph/Makefile b/math/ocaml-ocamlgraph/Makefile
index 1e9d28577daf..5eb4eb6ad432 100644
--- a/math/ocaml-ocamlgraph/Makefile
+++ b/math/ocaml-ocamlgraph/Makefile
@@ -16,8 +16,8 @@ OPTIONS_DEFINE= GUI DOCS
OPTIONS_DEFAULT=GUI
OPTIONS_SUB= yes
GUI_DESC= Include GUI user programs: viewer and editor
-GUI_BUILD_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
-GUI_RUN_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
+GUI_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2
+GUI_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2
GUI_CONFIGURE_OFF= LABLGTK2=no
USES= gmake
diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile
index 377536fe0e62..42b8507795a8 100644
--- a/math/ocaml-zarith/Makefile
+++ b/math/ocaml-zarith/Makefile
@@ -12,7 +12,7 @@ COMMENT= OCaml arithmetic library for arbitrary precision integers
LICENSE= GPLv2
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake perl5 shebangfix tar:tgz
USE_PERL5= build
diff --git a/math/ocamlgsl/Makefile b/math/ocamlgsl/Makefile
index b1fb0d92a18c..3b12c6235680 100644
--- a/math/ocamlgsl/Makefile
+++ b/math/ocamlgsl/Makefile
@@ -13,10 +13,10 @@ COMMENT= Interface to GSL for the Objective Caml language
LICENSE= GPLv3
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
-BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
+LIB_DEPENDS= libgsl.so:math/gsl
+BUILD_DEPENDS= gawk:lang/gawk \
${OCAMLC_DEPEND}
-RUN_DEPENDS= ocamlfind:${PORTSDIR}/devel/ocaml-findlib
+RUN_DEPENDS= ocamlfind:devel/ocaml-findlib
USES= gmake
USE_OCAML= YES
diff --git a/math/octave-forge-base/Makefile b/math/octave-forge-base/Makefile
index ac7f34403a61..26fc3e92aad3 100644
--- a/math/octave-forge-base/Makefile
+++ b/math/octave-forge-base/Makefile
@@ -13,11 +13,11 @@ COMMENT= Octave-forge baseport for all packages
LICENSE= BSD2CLAUSE
-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 \
- p5-File-Remove>=0:${PORTSDIR}/devel/p5-File-Remove
+RUN_DEPENDS= octave:math/octave \
+ gmake:devel/gmake \
+ p5-Archive-Tar>=0:archivers/p5-Archive-Tar \
+ p5-IO-Zlib>=0:archivers/p5-IO-Zlib \
+ p5-File-Remove>=0:devel/p5-File-Remove
USES= perl5
SUB_FILES= load-octave-pkg
diff --git a/math/octave-forge-bim/Makefile b/math/octave-forge-bim/Makefile
index f9758eff662a..22e96197749f 100644
--- a/math/octave-forge-bim/Makefile
+++ b/math/octave-forge-bim/Makefile
@@ -16,8 +16,8 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
-RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:${PORTSDIR}/math/octave-forge-fpl
-RUN_DEPENDS+= ${TARBALLS_DIR}/msh.tar.gz:${PORTSDIR}/math/octave-forge-msh
+RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:math/octave-forge-fpl
+RUN_DEPENDS+= ${TARBALLS_DIR}/msh.tar.gz:math/octave-forge-msh
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-communications/Makefile b/math/octave-forge-communications/Makefile
index f2754772753e..aae000650e6b 100644
--- a/math/octave-forge-communications/Makefile
+++ b/math/octave-forge-communications/Makefile
@@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${OCTSRC}/src
MAKE_ENV+= MKOCTFILE=mkoctfile
-RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:${PORTSDIR}/math/octave-forge-signal
+RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:math/octave-forge-signal
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-data-smoothing/Makefile b/math/octave-forge-data-smoothing/Makefile
index a31bc2a6e405..5fbfed9372cf 100644
--- a/math/octave-forge-data-smoothing/Makefile
+++ b/math/octave-forge-data-smoothing/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
-RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim
+RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:math/octave-forge-optim
do-build:
@${DO_NADA}
diff --git a/math/octave-forge-dicom/Makefile b/math/octave-forge-dicom/Makefile
index d824a035cad2..f0ccf3b6e5ed 100644
--- a/math/octave-forge-dicom/Makefile
+++ b/math/octave-forge-dicom/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
BROKEN= does not build with octave-4.0.0
-LIB_DEPENDS+= libgdcmCommon.so:${PORTSDIR}/devel/gdcm
+LIB_DEPENDS+= libgdcmCommon.so:devel/gdcm
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-econometrics/Makefile b/math/octave-forge-econometrics/Makefile
index 720178d84f20..951c959976c2 100644
--- a/math/octave-forge-econometrics/Makefile
+++ b/math/octave-forge-econometrics/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim
+RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:math/octave-forge-optim
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-financial/Makefile b/math/octave-forge-financial/Makefile
index bb1e510e4b60..0c97e38100dc 100644
--- a/math/octave-forge-financial/Makefile
+++ b/math/octave-forge-financial/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
-RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:${PORTSDIR}/math/octave-forge-io
+RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:math/octave-forge-io
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-fits/Makefile b/math/octave-forge-fits/Makefile
index 6da1e12de35d..8a9dc4cd1699 100644
--- a/math/octave-forge-fits/Makefile
+++ b/math/octave-forge-fits/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-LIB_DEPENDS+= libcfitsio.so:${PORTSDIR}/astro/cfitsio
+LIB_DEPENDS+= libcfitsio.so:astro/cfitsio
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-fpl/Makefile b/math/octave-forge-fpl/Makefile
index 9be6e0143067..cf48f66fa7cc 100644
--- a/math/octave-forge-fpl/Makefile
+++ b/math/octave-forge-fpl/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
-RUN_DEPENDS+= dx:${PORTSDIR}/graphics/opendx
+RUN_DEPENDS+= dx:graphics/opendx
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-geometry/Makefile b/math/octave-forge-geometry/Makefile
index e8acdde016a6..f9ee65bdcb1e 100644
--- a/math/octave-forge-geometry/Makefile
+++ b/math/octave-forge-geometry/Makefile
@@ -17,7 +17,7 @@ OCTSRC= ${OCTAVE_PKGNAME}_tmp
WRKSRC= ${WRKDIR}/${OCTSRC}
-RUN_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml
+RUN_DEPENDS+= py*-lxml>=0:devel/py-lxml
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-gsl/Makefile b/math/octave-forge-gsl/Makefile
index 01033f2f1652..5b5b4a996b6c 100644
--- a/math/octave-forge-gsl/Makefile
+++ b/math/octave-forge-gsl/Makefile
@@ -12,7 +12,7 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl
GNU_CONFIGURE= yes
CONFIGURE_ENV+= HOME=${WRKSRC}
diff --git a/math/octave-forge-interval/Makefile b/math/octave-forge-interval/Makefile
index 66ee2b8d2372..ad6d900e7775 100644
--- a/math/octave-forge-interval/Makefile
+++ b/math/octave-forge-interval/Makefile
@@ -11,7 +11,7 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr
+LIB_DEPENDS= libmpfr.so:math/mpfr
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-ltfat/Makefile b/math/octave-forge-ltfat/Makefile
index cd25287577df..c2cc375d5f12 100644
--- a/math/octave-forge-ltfat/Makefile
+++ b/math/octave-forge-ltfat/Makefile
@@ -11,9 +11,9 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
- libportaudio.so:${PORTSDIR}/audio/portaudio \
- libcblas.so:${PORTSDIR}/math/cblas
+LIB_DEPENDS= libfftw3.so:math/fftw3 \
+ libportaudio.so:audio/portaudio \
+ libcblas.so:math/cblas
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-mechanics/Makefile b/math/octave-forge-mechanics/Makefile
index 004cf8d936a9..b4640885df44 100644
--- a/math/octave-forge-mechanics/Makefile
+++ b/math/octave-forge-mechanics/Makefile
@@ -12,9 +12,9 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-RUN_DEPENDS+= ${TARBALLS_DIR}/general.tar.gz:${PORTSDIR}/math/octave-forge-general
-RUN_DEPENDS+= ${TARBALLS_DIR}/geometry.tar.gz:${PORTSDIR}/math/octave-forge-geometry
-RUN_DEPENDS+= ${TARBALLS_DIR}/linear-algebra.tar.gz:${PORTSDIR}/math/octave-forge-linear-algebra
+RUN_DEPENDS+= ${TARBALLS_DIR}/general.tar.gz:math/octave-forge-general
+RUN_DEPENDS+= ${TARBALLS_DIR}/geometry.tar.gz:math/octave-forge-geometry
+RUN_DEPENDS+= ${TARBALLS_DIR}/linear-algebra.tar.gz:math/octave-forge-linear-algebra
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-miscellaneous/Makefile b/math/octave-forge-miscellaneous/Makefile
index cdaf74e9a3e2..e0a1cf16b758 100644
--- a/math/octave-forge-miscellaneous/Makefile
+++ b/math/octave-forge-miscellaneous/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-RUN_DEPENDS+= ${TARBALLS_DIR}/general.tar.gz:${PORTSDIR}/math/octave-forge-general
+RUN_DEPENDS+= ${TARBALLS_DIR}/general.tar.gz:math/octave-forge-general
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-msh/Makefile b/math/octave-forge-msh/Makefile
index fa4a958db57a..c8336fe53a05 100644
--- a/math/octave-forge-msh/Makefile
+++ b/math/octave-forge-msh/Makefile
@@ -19,8 +19,8 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
GNU_CONFIGURE= yes
-RUN_DEPENDS+= ${TARBALLS_DIR}/splines.tar.gz:${PORTSDIR}/math/octave-forge-splines
-RUN_DEPENDS+= gmsh:${PORTSDIR}/cad/gmsh
+RUN_DEPENDS+= ${TARBALLS_DIR}/splines.tar.gz:math/octave-forge-splines
+RUN_DEPENDS+= gmsh:cad/gmsh
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-ncarray/Makefile b/math/octave-forge-ncarray/Makefile
index 119cd370f33f..649f935ae541 100644
--- a/math/octave-forge-ncarray/Makefile
+++ b/math/octave-forge-ncarray/Makefile
@@ -18,8 +18,8 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-RUN_DEPENDS+= ${TARBALLS_DIR}/netcdf.tar.gz:${PORTSDIR}/math/octave-forge-netcdf
-RUN_DEPENDS+= ${TARBALLS_DIR}/statistics.tar.gz:${PORTSDIR}/math/octave-forge-statistics
+RUN_DEPENDS+= ${TARBALLS_DIR}/netcdf.tar.gz:math/octave-forge-netcdf
+RUN_DEPENDS+= ${TARBALLS_DIR}/statistics.tar.gz:math/octave-forge-statistics
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-netcdf/Makefile b/math/octave-forge-netcdf/Makefile
index c1edd4c2493c..fd57c22f9736 100644
--- a/math/octave-forge-netcdf/Makefile
+++ b/math/octave-forge-netcdf/Makefile
@@ -17,7 +17,7 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf
+LIB_DEPENDS+= libnetcdf.so:science/netcdf
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-ocs/Makefile b/math/octave-forge-ocs/Makefile
index 9ef7264a45e1..94f4d482aa7b 100644
--- a/math/octave-forge-ocs/Makefile
+++ b/math/octave-forge-ocs/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:${PORTSDIR}/math/octave-forge-odepkg
+RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:math/octave-forge-odepkg
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-oct2mat/Makefile b/math/octave-forge-oct2mat/Makefile
index 4b183233065f..2f0f7fbda05e 100644
--- a/math/octave-forge-oct2mat/Makefile
+++ b/math/octave-forge-oct2mat/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:${PORTSDIR}/math/octave-forge-io
+RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:math/octave-forge-io
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
.include <bsd.port.mk>
diff --git a/math/octave-forge-octcdf/Makefile b/math/octave-forge-octcdf/Makefile
index 4c24e3f26433..da64b1613b39 100644
--- a/math/octave-forge-octcdf/Makefile
+++ b/math/octave-forge-octcdf/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf
+LIB_DEPENDS+= libnetcdf.so:science/netcdf
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-octproj/Makefile b/math/octave-forge-octproj/Makefile
index 27c70e5d1f47..43260feb761a 100644
--- a/math/octave-forge-octproj/Makefile
+++ b/math/octave-forge-octproj/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-LIB_DEPENDS+= libproj.so:${PORTSDIR}/graphics/proj
+LIB_DEPENDS+= libproj.so:graphics/proj
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-optim/Makefile b/math/octave-forge-optim/Makefile
index d86c7b14bf8e..425c1ed2ad98 100644
--- a/math/octave-forge-optim/Makefile
+++ b/math/octave-forge-optim/Makefile
@@ -14,7 +14,7 @@ OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:${PORTSDIR}/math/octave-forge-struct
+RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:math/octave-forge-struct
GNU_CONFIGURE= yes
diff --git a/math/octave-forge-secs1d/Makefile b/math/octave-forge-secs1d/Makefile
index 8aeae49481b6..96abbbb07032 100644
--- a/math/octave-forge-secs1d/Makefile
+++ b/math/octave-forge-secs1d/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
-RUN_DEPENDS+= ${TARBALLS_DIR}/bim.tar.gz:${PORTSDIR}/math/octave-forge-bim
+RUN_DEPENDS+= ${TARBALLS_DIR}/bim.tar.gz:math/octave-forge-bim
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-secs3d/Makefile b/math/octave-forge-secs3d/Makefile
index 4f231231a8e6..b621261aef06 100644
--- a/math/octave-forge-secs3d/Makefile
+++ b/math/octave-forge-secs3d/Makefile
@@ -16,8 +16,8 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
-RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:${PORTSDIR}/math/octave-forge-fpl
-RUN_DEPENDS+= ${TARBALLS_DIR}/bim.tar.gz:${PORTSDIR}/math/octave-forge-bim
+RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:math/octave-forge-fpl
+RUN_DEPENDS+= ${TARBALLS_DIR}/bim.tar.gz:math/octave-forge-bim
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-signal/Makefile b/math/octave-forge-signal/Makefile
index 37a27e77610a..df8f0ebc3309 100644
--- a/math/octave-forge-signal/Makefile
+++ b/math/octave-forge-signal/Makefile
@@ -18,7 +18,7 @@ OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-RUN_DEPENDS+= ${TARBALLS_DIR}/control.tar.gz:${PORTSDIR}/math/octave-forge-control
+RUN_DEPENDS+= ${TARBALLS_DIR}/control.tar.gz:math/octave-forge-control
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-sockets/Makefile b/math/octave-forge-sockets/Makefile
index ffc212fd8d50..7c51f835e3c9 100644
--- a/math/octave-forge-sockets/Makefile
+++ b/math/octave-forge-sockets/Makefile
@@ -18,7 +18,7 @@ OCTSRC= octave-${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-BUILD_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed
+BUILD_DEPENDS+= gsed:textproc/gsed
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-sparsersb/Makefile b/math/octave-forge-sparsersb/Makefile
index fee9b0159eb0..707fea891e87 100644
--- a/math/octave-forge-sparsersb/Makefile
+++ b/math/octave-forge-sparsersb/Makefile
@@ -11,7 +11,7 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-BUILD_DEPENDS= ${LOCALBASE}/lib/librsb.a:${PORTSDIR}/math/librsb
+BUILD_DEPENDS= ${LOCALBASE}/lib/librsb.a:math/librsb
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-statistics/Makefile b/math/octave-forge-statistics/Makefile
index ffa3114e54ab..5d21bc1a3941 100644
--- a/math/octave-forge-statistics/Makefile
+++ b/math/octave-forge-statistics/Makefile
@@ -13,7 +13,7 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
-RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:${PORTSDIR}/math/octave-forge-io
+RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:math/octave-forge-io
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-symbolic/Makefile b/math/octave-forge-symbolic/Makefile
index 5d820523e04e..59681cc2bddb 100644
--- a/math/octave-forge-symbolic/Makefile
+++ b/math/octave-forge-symbolic/Makefile
@@ -12,8 +12,8 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-BUILD_DEPENDS+= isympy:${PORTSDIR}/math/py-sympy
-RUN_DEPENDS+= isympy:${PORTSDIR}/math/py-sympy
+BUILD_DEPENDS+= isympy:math/py-sympy
+RUN_DEPENDS+= isympy:math/py-sympy
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-tisean/Makefile b/math/octave-forge-tisean/Makefile
index af458e95d348..2ed9482f0812 100644
--- a/math/octave-forge-tisean/Makefile
+++ b/math/octave-forge-tisean/Makefile
@@ -11,7 +11,7 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:${PORTSDIR}/math/octave-forge-signal
+RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:math/octave-forge-signal
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge-video/Makefile b/math/octave-forge-video/Makefile
index e2368b4f1020..8f60826de129 100644
--- a/math/octave-forge-video/Makefile
+++ b/math/octave-forge-video/Makefile
@@ -21,7 +21,7 @@ OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
-LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
diff --git a/math/octave-forge-xraylib/Makefile b/math/octave-forge-xraylib/Makefile
index de7e75eb858e..0512c79f3413 100644
--- a/math/octave-forge-xraylib/Makefile
+++ b/math/octave-forge-xraylib/Makefile
@@ -16,7 +16,7 @@ BROKEN= does not build with octave-4.0.0
GNU_CONFIGURE= yes
-BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS+= bash:shells/bash
post-patch:
@${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/src/*.sh
diff --git a/math/octave-forge-zenity/Makefile b/math/octave-forge-zenity/Makefile
index 02edf0d5b5e7..d0dbf392bb95 100644
--- a/math/octave-forge-zenity/Makefile
+++ b/math/octave-forge-zenity/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-RUN_DEPENDS+= zenity:${PORTSDIR}/x11/zenity
+RUN_DEPENDS+= zenity:x11/zenity
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
.include <bsd.port.mk>
diff --git a/math/octave-forge-zeromq/Makefile b/math/octave-forge-zeromq/Makefile
index 9f518706f31c..01adfd020199 100644
--- a/math/octave-forge-zeromq/Makefile
+++ b/math/octave-forge-zeromq/Makefile
@@ -12,7 +12,7 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
-LIB_DEPENDS+= libzmq.so:${PORTSDIR}/net/libzmq4
+LIB_DEPENDS+= libzmq.so:net/libzmq4
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
diff --git a/math/octave-forge/Makefile b/math/octave-forge/Makefile
index ee2c501ce22b..31bdef4c63cd 100644
--- a/math/octave-forge/Makefile
+++ b/math/octave-forge/Makefile
@@ -35,13 +35,13 @@ TARBALLS_DIR= ${LOCALBASE}/share/octave/tarballs
.for OPT in ${OPTIONS_DEFINE}
. if ${OPTIONS_DEFINE:MGENERATE_HTML} == ${OPT} || ${OPTIONS_DEFINE:MPT_BR} == ${OPT}
${OPT}_DESC= Install package: ${OPT:tl}
-${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl}.tar.gz:${PORTSDIR}/math/octave-forge-${OPT:tl}
+${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl}.tar.gz:math/octave-forge-${OPT:tl}
. else
${OPT}_DESC= Install package: ${OPT:tl:S/_/-/g}
. if ${OPTIONS_DEFINE:MBENCHMARK} == ${OPT}
-${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:${PORTSDIR}/benchmarks/octave-forge-${OPT:tl:S/_/-/g}
+${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:benchmarks/octave-forge-${OPT:tl:S/_/-/g}
. else
-${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:${PORTSDIR}/math/octave-forge-${OPT:tl:S/_/-/g}
+${OPT}_RUN_DEPENDS= ${TARBALLS_DIR}/${OPT:tl:S/_/-/g}.tar.gz:math/octave-forge-${OPT:tl:S/_/-/g}
. endif
. endif
.endfor
diff --git a/math/octave/Makefile b/math/octave/Makefile
index ece66f8f7c54..c490b7c9f070 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -12,28 +12,28 @@ COMMENT= High-level interactive language for numerical computations
LICENSE= GPLv3
-BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
- ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
- gsed:${PORTSDIR}/textproc/gsed \
- ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
- gsed:${PORTSDIR}/textproc/gsed \
- ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
-LIB_DEPENDS= libGraphicsMagick.so:${PORTSDIR}/graphics/GraphicsMagick \
- libarpack.so:${PORTSDIR}/math/arpack \
- libcurl.so:${PORTSDIR}/ftp/curl \
- libfftw3.so:${PORTSDIR}/math/fftw3 \
- libfftw3f.so:${PORTSDIR}/math/fftw3-float \
- libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
- libftgl.so:${PORTSDIR}/graphics/ftgl \
- libhdf5.so:${PORTSDIR}/science/hdf5 \
- libpcre.so:${PORTSDIR}/devel/pcre \
- libqhull.so.5:${PORTSDIR}/math/qhull5 \
- libqrupdate.so:${PORTSDIR}/math/qrupdate \
- libumfpack.so:${PORTSDIR}/math/suitesparse \
- libglpk.so:${PORTSDIR}/math/glpk \
- libgl2ps.so:${PORTSDIR}/print/gl2ps \
- libqscintilla2.so:${PORTSDIR}/devel/qscintilla2
+BUILD_DEPENDS= gnuplot:math/gnuplot \
+ ${LOCALBASE}/bin/gperf:devel/gperf \
+ gsed:textproc/gsed \
+ ${LOCALBASE}/bin/makeinfo:print/texinfo
+RUN_DEPENDS= gnuplot:math/gnuplot \
+ gsed:textproc/gsed \
+ ${LOCALBASE}/bin/makeinfo:print/texinfo
+LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick \
+ libarpack.so:math/arpack \
+ libcurl.so:ftp/curl \
+ libfftw3.so:math/fftw3 \
+ libfftw3f.so:math/fftw3-float \
+ libfltk.so:x11-toolkits/fltk \
+ libftgl.so:graphics/ftgl \
+ libhdf5.so:science/hdf5 \
+ libpcre.so:devel/pcre \
+ libqhull.so.5:math/qhull5 \
+ libqrupdate.so:math/qrupdate \
+ libumfpack.so:math/suitesparse \
+ libglpk.so:math/glpk \
+ libgl2ps.so:print/gl2ps \
+ libqscintilla2.so:devel/qscintilla2
USES= charsetfix fortran gmake libtool perl5 pkgconfig tar:xz
USE_LDCONFIG= yes
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index 0dc11cf132c5..f50a5d9f10f3 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -27,9 +27,9 @@ OPTIONS_DEFINE= MOTIF NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMOTIF}
-LIB_DEPENDS+= libplot.so:${PORTSDIR}/graphics/plotutils \
- libXbae.so:${PORTSDIR}/x11-toolkits/xbae \
- libXmHTML.so:${PORTSDIR}/x11-toolkits/xmhtml
+LIB_DEPENDS+= libplot.so:graphics/plotutils \
+ libXbae.so:x11-toolkits/xbae \
+ libXmHTML.so:x11-toolkits/xmhtml
USES+= motif
CONFIGURE_ARGS+= --with-motif
.else
diff --git a/math/open-axiom/Makefile b/math/open-axiom/Makefile
index be2814546ae1..2ebebb2dfbf9 100644
--- a/math/open-axiom/Makefile
+++ b/math/open-axiom/Makefile
@@ -12,8 +12,8 @@ COMMENT= Computer algebra system
BROKEN= bootsys goes in an infinite loop during build
-BUILD_DEPENDS= sbcl:${PORTSDIR}/lang/sbcl \
- noweb:${PORTSDIR}/devel/noweb
+BUILD_DEPENDS= sbcl:lang/sbcl \
+ noweb:devel/noweb
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lisp=sbcl
diff --git a/math/orpie/Makefile b/math/orpie/Makefile
index 299ae2e33887..52ff72b4a4a9 100644
--- a/math/orpie/Makefile
+++ b/math/orpie/Makefile
@@ -12,7 +12,7 @@ COMMENT= Fullscreen RPN calculator for the console
LICENSE= GPLv2
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl
USES= gmake ncurses
USE_OCAML= yes
diff --git a/math/p5-AI-Perceptron/Makefile b/math/p5-AI-Perceptron/Makefile
index a25f9ba3b0d4..0241c4177b4b 100644
--- a/math/p5-AI-Perceptron/Makefile
+++ b/math/p5-AI-Perceptron/Makefile
@@ -14,7 +14,7 @@ COMMENT= Perl module for introducing to internal operations of neural networks
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-accessors>=0:${PORTSDIR}/devel/p5-accessors
+BUILD_DEPENDS= p5-accessors>=0:devel/p5-accessors
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Algorithm-CurveFit/Makefile b/math/p5-Algorithm-CurveFit/Makefile
index 0fb9d30cabf9..f3b67a5fc614 100644
--- a/math/p5-Algorithm-CurveFit/Makefile
+++ b/math/p5-Algorithm-CurveFit/Makefile
@@ -14,8 +14,8 @@ COMMENT= Nonlinear Least Squares Fitting
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-MatrixReal>=0:${PORTSDIR}/math/p5-Math-MatrixReal \
- p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-MatrixReal>=0:math/p5-Math-MatrixReal \
+ p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Algorithm-KMeans/Makefile b/math/p5-Algorithm-KMeans/Makefile
index a21599d258b9..933d6d0ea51f 100644
--- a/math/p5-Algorithm-KMeans/Makefile
+++ b/math/p5-Algorithm-KMeans/Makefile
@@ -13,9 +13,9 @@ COMMENT= Clustering multi-dimensional data with a pure-Perl implementation
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Graphics-GnuplotIF>=1.4:${PORTSDIR}/graphics/p5-Graphics-GnuplotIF \
- p5-Math-GSL>=0.26:${PORTSDIR}/math/p5-Math-GSL \
- p5-Math-Random>=0.71:${PORTSDIR}/math/p5-Math-Random
+BUILD_DEPENDS= p5-Graphics-GnuplotIF>=1.4:graphics/p5-Graphics-GnuplotIF \
+ p5-Math-GSL>=0.26:math/p5-Math-GSL \
+ p5-Math-Random>=0.71:math/p5-Math-Random
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Bit-Vector/Makefile b/math/p5-Bit-Vector/Makefile
index 64131fabca21..7a3cc9dd39e9 100644
--- a/math/p5-Bit-Vector/Makefile
+++ b/math/p5-Bit-Vector/Makefile
@@ -13,7 +13,7 @@ COMMENT= Library of advanced math functions that includes a Perl OO module
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Carp-Clan>=5.3:${PORTSDIR}/devel/p5-Carp-Clan
+BUILD_DEPENDS= p5-Carp-Clan>=5.3:devel/p5-Carp-Clan
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-CAD-Calc/Makefile b/math/p5-CAD-Calc/Makefile
index f5f13c18df13..1edcf0cdfe1a 100644
--- a/math/p5-CAD-Calc/Makefile
+++ b/math/p5-CAD-Calc/Makefile
@@ -14,9 +14,9 @@ COMMENT= Generic cad-related geometry calculations
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Geometry-Planar-Offset>=0:${PORTSDIR}/math/p5-Math-Geometry-Planar-Offset \
- p5-Math-Round-Var>=0:${PORTSDIR}/math/p5-Math-Round-Var \
- p5-Math-Vec>=0:${PORTSDIR}/math/p5-Math-Vec
+BUILD_DEPENDS= p5-Math-Geometry-Planar-Offset>=0:math/p5-Math-Geometry-Planar-Offset \
+ p5-Math-Round-Var>=0:math/p5-Math-Round-Var \
+ p5-Math-Vec>=0:math/p5-Math-Vec
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Chart-Math-Axis/Makefile b/math/p5-Chart-Math-Axis/Makefile
index 997a3549cde5..448465e0e500 100644
--- a/math/p5-Chart-Math-Axis/Makefile
+++ b/math/p5-Chart-Math-Axis/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Implements an algorithm to find good values for chart axis
-BUILD_DEPENDS= p5-Params-Util>=0.15:${PORTSDIR}/devel/p5-Params-Util
+BUILD_DEPENDS= p5-Params-Util>=0.15:devel/p5-Params-Util
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-GIS-Distance-Fast/Makefile b/math/p5-GIS-Distance-Fast/Makefile
index 5e9203a23903..379e00c75c86 100644
--- a/math/p5-GIS-Distance-Fast/Makefile
+++ b/math/p5-GIS-Distance-Fast/Makefile
@@ -12,7 +12,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= C implementation of GIS::Distance formulas
-BUILD_DEPENDS= p5-GIS-Distance>=0.07:${PORTSDIR}/math/p5-GIS-Distance
+BUILD_DEPENDS= p5-GIS-Distance>=0.07:math/p5-GIS-Distance
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-GIS-Distance-Lite/Makefile b/math/p5-GIS-Distance-Lite/Makefile
index 900f53bba26c..2fb9a923360f 100644
--- a/math/p5-GIS-Distance-Lite/Makefile
+++ b/math/p5-GIS-Distance-Lite/Makefile
@@ -12,7 +12,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= wen@FreeBSD.org
COMMENT= Calculate geographic distances in geodetic WGS84 format
-RUN_DEPENDS= p5-Math-Complex>1.0.3:${PORTSDIR}/math/p5-Math-Complex
+RUN_DEPENDS= p5-Math-Complex>1.0.3:math/p5-Math-Complex
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-GIS-Distance/Makefile b/math/p5-GIS-Distance/Makefile
index e12d2b0b6c75..0fff8b078d4e 100644
--- a/math/p5-GIS-Distance/Makefile
+++ b/math/p5-GIS-Distance/Makefile
@@ -15,11 +15,11 @@ COMMENT= Calculate geographic distances
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Class-Measure>=0:${PORTSDIR}/devel/p5-Class-Measure \
- p5-Moo>=1.006000:${PORTSDIR}/devel/p5-Moo \
- p5-Type-Tiny>=1:${PORTSDIR}/devel/p5-Type-Tiny \
- p5-namespace-clean>=0:${PORTSDIR}/devel/p5-namespace-clean \
- p5-strictures>=1:${PORTSDIR}/devel/p5-strictures
+BUILD_DEPENDS= p5-Class-Measure>=0:devel/p5-Class-Measure \
+ p5-Moo>=1.006000:devel/p5-Moo \
+ p5-Type-Tiny>=1:devel/p5-Type-Tiny \
+ p5-namespace-clean>=0:devel/p5-namespace-clean \
+ p5-strictures>=1:devel/p5-strictures
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
diff --git a/math/p5-Geo-Distance-XS/Makefile b/math/p5-Geo-Distance-XS/Makefile
index 94ca9b73a75e..dd8b696ba97b 100644
--- a/math/p5-Geo-Distance-XS/Makefile
+++ b/math/p5-Geo-Distance-XS/Makefile
@@ -11,9 +11,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Calculate Distances and Closest Locations faster
-BUILD_DEPENDS= p5-Geo-Distance>=0.16:${PORTSDIR}/math/p5-Geo-Distance
+BUILD_DEPENDS= p5-Geo-Distance>=0.16:math/p5-Geo-Distance
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
+TEST_DEPENDS= p5-Test-Simple>=0.94:devel/p5-Test-Simple
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Geo-Distance/Makefile b/math/p5-Geo-Distance/Makefile
index 0d0b0b55421e..f2cb1f0e88a4 100644
--- a/math/p5-Geo-Distance/Makefile
+++ b/math/p5-Geo-Distance/Makefile
@@ -14,7 +14,7 @@ COMMENT= Calculate Distances and Closest Locations
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-TEST_DEPENDS= p5-Test-Fatal>=0.007:${PORTSDIR}/devel/p5-Test-Fatal
+TEST_DEPENDS= p5-Test-Fatal>=0.007:devel/p5-Test-Fatal
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Graph/Makefile b/math/p5-Graph/Makefile
index a1ea9305eeeb..223ff7e577df 100644
--- a/math/p5-Graph/Makefile
+++ b/math/p5-Graph/Makefile
@@ -12,7 +12,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Graph, the Perl module for graph operations
-BUILD_DEPENDS= p5-Heap>=0:${PORTSDIR}/devel/p5-Heap
+BUILD_DEPENDS= p5-Heap>=0:devel/p5-Heap
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-BaseCnv/Makefile b/math/p5-Math-BaseCnv/Makefile
index 12ba72ab69db..efd5ce48f9e5 100644
--- a/math/p5-Math-BaseCnv/Makefile
+++ b/math/p5-Math-BaseCnv/Makefile
@@ -13,8 +13,8 @@ COMMENT= Fast functions to convert between number Bases
LICENSE= GPLv3
-TEST_DEPENDS= p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
- p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage
+TEST_DEPENDS= p5-Test-Pod>=0:devel/p5-Test-Pod \
+ p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage
USES= perl5 tar:tgz
USE_PERL5= configure
diff --git a/math/p5-Math-BigInt-FastCalc/Makefile b/math/p5-Math-BigInt-FastCalc/Makefile
index 948dcbd4e6b1..e36c4b69f692 100644
--- a/math/p5-Math-BigInt-FastCalc/Makefile
+++ b/math/p5-Math-BigInt-FastCalc/Makefile
@@ -13,7 +13,7 @@ COMMENT= Math::BigInt::Calc with some XS for more speed
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-BigInt>=1.999714:${PORTSDIR}/math/p5-Math-BigInt
+BUILD_DEPENDS= p5-Math-BigInt>=1.999714:math/p5-Math-BigInt
RUN_DEPENDS:= ${BUILD_DEPENDS}
PORTSCOUT= skipv:0.251
diff --git a/math/p5-Math-BigInt-GMP/Makefile b/math/p5-Math-BigInt-GMP/Makefile
index 632cfc843a88..4436465eb12c 100644
--- a/math/p5-Math-BigInt-GMP/Makefile
+++ b/math/p5-Math-BigInt-GMP/Makefile
@@ -13,8 +13,8 @@ COMMENT= Math::BigInt::GMP - Use the GMP library for Math::BigInt routines
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-BigInt>=1.999714:${PORTSDIR}/math/p5-Math-BigInt
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+BUILD_DEPENDS= p5-Math-BigInt>=1.999714:math/p5-Math-BigInt
+LIB_DEPENDS= libgmp.so:math/gmp
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-BigInt-Pari/Makefile b/math/p5-Math-BigInt-Pari/Makefile
index de111a5a417d..00c9c3ed0adc 100644
--- a/math/p5-Math-BigInt-Pari/Makefile
+++ b/math/p5-Math-BigInt-Pari/Makefile
@@ -13,8 +13,8 @@ COMMENT= Use Math::Pari for Math::BigInt routines
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-BigInt>=1.999714:${PORTSDIR}/math/p5-Math-BigInt \
- p5-Math-Pari>=2.010709:${PORTSDIR}/math/p5-Math-Pari
+BUILD_DEPENDS= p5-Math-BigInt>=1.999714:math/p5-Math-BigInt \
+ p5-Math-Pari>=2.010709:math/p5-Math-Pari
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
diff --git a/math/p5-Math-BigInt/Makefile b/math/p5-Math-BigInt/Makefile
index ebfed2e52d08..34307cfb5e0e 100644
--- a/math/p5-Math-BigInt/Makefile
+++ b/math/p5-Math-BigInt/Makefile
@@ -15,7 +15,7 @@ COMMENT= Arbitrary size integer math perl package
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Complex>=1.39:${PORTSDIR}/math/p5-Math-Complex
+BUILD_DEPENDS= p5-Math-Complex>=1.39:math/p5-Math-Complex
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Currency/Makefile b/math/p5-Math-Currency/Makefile
index 31003a2cf3af..cb7983c4ca46 100644
--- a/math/p5-Math-Currency/Makefile
+++ b/math/p5-Math-Currency/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module for exact currency math with formatting and rounding
-BUILD_DEPENDS= p5-Math-FixedPrecision>=0:${PORTSDIR}/math/p5-Math-FixedPrecision
+BUILD_DEPENDS= p5-Math-FixedPrecision>=0:math/p5-Math-FixedPrecision
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile
index 48a081ea5d83..d234ff01aa29 100644
--- a/math/p5-Math-GMP/Makefile
+++ b/math/p5-Math-GMP/Makefile
@@ -13,8 +13,8 @@ COMMENT= Perl module that provides an interface to the GMP library
LICENSE= LGPL20 LGPL21 LGPL3
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Devel-CheckLib>=0.9:${PORTSDIR}/devel/p5-Devel-CheckLib
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+BUILD_DEPENDS= p5-Devel-CheckLib>=0.9:devel/p5-Devel-CheckLib
+LIB_DEPENDS= libgmp.so:math/gmp
CONFIGURE_ARGS= INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp"
USES= perl5
diff --git a/math/p5-Math-GMPf/Makefile b/math/p5-Math-GMPf/Makefile
index 8a1f58e9d128..f94ef20f37ec 100644
--- a/math/p5-Math-GMPf/Makefile
+++ b/math/p5-Math-GMPf/Makefile
@@ -13,9 +13,9 @@ COMMENT= Perl interface to the GMP library floating point (mpf) functions
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
-TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
- p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
+LIB_DEPENDS= libgmp.so:math/gmp
+TEST_DEPENDS= p5-Math-GMP>=0:math/p5-Math-GMP \
+ p5-Test-Pod>=1:devel/p5-Test-Pod
USE_PERL5= configure
USES= localbase perl5
diff --git a/math/p5-Math-GMPq/Makefile b/math/p5-Math-GMPq/Makefile
index e7aa52550f94..80ac7d2dfa2f 100644
--- a/math/p5-Math-GMPq/Makefile
+++ b/math/p5-Math-GMPq/Makefile
@@ -13,9 +13,9 @@ COMMENT= Perl interface to the GMP library rational (mpq) functions
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
-TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
- p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
+LIB_DEPENDS= libgmp.so:math/gmp
+TEST_DEPENDS= p5-Math-GMP>=0:math/p5-Math-GMP \
+ p5-Test-Pod>=1:devel/p5-Test-Pod
USE_PERL5= configure
USES= localbase perl5
diff --git a/math/p5-Math-GMPz/Makefile b/math/p5-Math-GMPz/Makefile
index 8a14d5491632..0fff887bb7ab 100644
--- a/math/p5-Math-GMPz/Makefile
+++ b/math/p5-Math-GMPz/Makefile
@@ -13,9 +13,9 @@ COMMENT= Perl interface to the GMP library integer (mpz) functions
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
-TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
- p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
+LIB_DEPENDS= libgmp.so:math/gmp
+TEST_DEPENDS= p5-Math-GMP>=0:math/p5-Math-GMP \
+ p5-Test-Pod>=1:devel/p5-Test-Pod
USE_PERL5= configure
USES= localbase perl5
diff --git a/math/p5-Math-GSL/Makefile b/math/p5-Math-GSL/Makefile
index 91cc7ff429b8..67e5830923e7 100644
--- a/math/p5-Math-GSL/Makefile
+++ b/math/p5-Math-GSL/Makefile
@@ -13,12 +13,12 @@ COMMENT= Perl interface to GNU Scientific Library
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-PkgConfig>=0.07720:${PORTSDIR}/devel/p5-PkgConfig
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
-TEST_DEPENDS= p5-Test-Class>=0.12:${PORTSDIR}/devel/p5-Test-Class \
- p5-Test-Exception>=0.21:${PORTSDIR}/devel/p5-Test-Exception \
- p5-Test-Most>=0.31:${PORTSDIR}/devel/p5-Test-Most \
- p5-Test-Taint>=1.06:${PORTSDIR}/devel/p5-Test-Taint
+BUILD_DEPENDS= p5-PkgConfig>=0.07720:devel/p5-PkgConfig
+LIB_DEPENDS= libgsl.so:math/gsl
+TEST_DEPENDS= p5-Test-Class>=0.12:devel/p5-Test-Class \
+ p5-Test-Exception>=0.21:devel/p5-Test-Exception \
+ p5-Test-Most>=0.31:devel/p5-Test-Most \
+ p5-Test-Taint>=1.06:devel/p5-Test-Taint
USE_PERL5= modbuild
USES= perl5
diff --git a/math/p5-Math-Geometry-Planar-Offset/Makefile b/math/p5-Math-Geometry-Planar-Offset/Makefile
index a9578bfb9341..c01a43296787 100644
--- a/math/p5-Math-Geometry-Planar-Offset/Makefile
+++ b/math/p5-Math-Geometry-Planar-Offset/Makefile
@@ -14,7 +14,7 @@ COMMENT= Calculate offset polygons
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
+BUILD_DEPENDS= p5-YAML>=0:textproc/p5-YAML
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Geometry-Planar/Makefile b/math/p5-Math-Geometry-Planar/Makefile
index f368b9867a18..888950ab72c4 100644
--- a/math/p5-Math-Geometry-Planar/Makefile
+++ b/math/p5-Math-Geometry-Planar/Makefile
@@ -14,8 +14,8 @@ COMMENT= Collection of planar geometry functions
LICENSE= ART10
-BUILD_DEPENDS= p5-Math-Geometry-Planar-GPC>=0:${PORTSDIR}/math/p5-Math-Geometry-Planar-GPC \
- p5-Math-Geometry-Planar-Offset>=0:${PORTSDIR}/math/p5-Math-Geometry-Planar-Offset
+BUILD_DEPENDS= p5-Math-Geometry-Planar-GPC>=0:math/p5-Math-Geometry-Planar-GPC \
+ p5-Math-Geometry-Planar-Offset>=0:math/p5-Math-Geometry-Planar-Offset
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Geometry-Voronoi/Makefile b/math/p5-Math-Geometry-Voronoi/Makefile
index 5b5478384ae3..48a23c13662e 100644
--- a/math/p5-Math-Geometry-Voronoi/Makefile
+++ b/math/p5-Math-Geometry-Voronoi/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl Module to compute Voronoi diagrams from sets of points
-BUILD_DEPENDS= p5-Class-Accessor>=0.18:${PORTSDIR}/devel/p5-Class-Accessor \
- p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate
+BUILD_DEPENDS= p5-Class-Accessor>=0.18:devel/p5-Class-Accessor \
+ p5-Params-Validate>=0:devel/p5-Params-Validate
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Geometry/Makefile b/math/p5-Math-Geometry/Makefile
index 74c6b45135b2..697f82714076 100644
--- a/math/p5-Math-Geometry/Makefile
+++ b/math/p5-Math-Geometry/Makefile
@@ -14,7 +14,7 @@ COMMENT= Geometry related functions
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Matrix>=0:${PORTSDIR}/math/p5-Math-Matrix
+BUILD_DEPENDS= p5-Math-Matrix>=0:math/p5-Math-Matrix
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
diff --git a/math/p5-Math-Int128/Makefile b/math/p5-Math-Int128/Makefile
index 73d458bddfa6..ca6eaad39223 100644
--- a/math/p5-Math-Int128/Makefile
+++ b/math/p5-Math-Int128/Makefile
@@ -12,8 +12,8 @@ COMMENT= Manipulate 128 bits integers in Perl
LICENSE= ART10
-BUILD_DEPENDS= p5-Math-Int64>=0.51:${PORTSDIR}/math/p5-Math-Int64
-RUN_DEPENDS= p5-Math-Int64>=0.51:${PORTSDIR}/math/p5-Math-Int64
+BUILD_DEPENDS= p5-Math-Int64>=0.51:math/p5-Math-Int64
+RUN_DEPENDS= p5-Math-Int64>=0.51:math/p5-Math-Int64
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-MPC/Makefile b/math/p5-Math-MPC/Makefile
index 882d5661bae2..cb9799b79874 100644
--- a/math/p5-Math-MPC/Makefile
+++ b/math/p5-Math-MPC/Makefile
@@ -13,10 +13,10 @@ COMMENT= Perl interface to MPC Library
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-MPFR>=3.23:${PORTSDIR}/math/p5-Math-MPFR
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libmpc.so:${PORTSDIR}/math/mpc \
- libmpfr.so:${PORTSDIR}/math/mpfr
+BUILD_DEPENDS= p5-Math-MPFR>=3.23:math/p5-Math-MPFR
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libmpc.so:math/mpc \
+ libmpfr.so:math/mpfr
RUN_DEPENDS:= ${BUILD_DEPENDS}
MAKE_ENV= INC="-I${LOCALBASE}/include"
diff --git a/math/p5-Math-MPFR/Makefile b/math/p5-Math-MPFR/Makefile
index ad7d707b0525..f6f1a60ab355 100644
--- a/math/p5-Math-MPFR/Makefile
+++ b/math/p5-Math-MPFR/Makefile
@@ -13,12 +13,12 @@ COMMENT= Perl interface to MPFR Library
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libmpfr.so:${PORTSDIR}/math/mpfr
-TEST_DEPENDS= p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
- p5-Math-GMPf>=0:${PORTSDIR}/math/p5-Math-GMPf \
- p5-Math-GMPq>=0:${PORTSDIR}/math/p5-Math-GMPq \
- p5-Math-GMPz>=0:${PORTSDIR}/math/p5-Math-GMPz
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libmpfr.so:math/mpfr
+TEST_DEPENDS= p5-Math-GMP>=0:math/p5-Math-GMP \
+ p5-Math-GMPf>=0:math/p5-Math-GMPf \
+ p5-Math-GMPq>=0:math/p5-Math-GMPq \
+ p5-Math-GMPz>=0:math/p5-Math-GMPz
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-MatrixReal/Makefile b/math/p5-Math-MatrixReal/Makefile
index 5c6d623d0c01..3b2956fac0f6 100644
--- a/math/p5-Math-MatrixReal/Makefile
+++ b/math/p5-Math-MatrixReal/Makefile
@@ -13,7 +13,7 @@ COMMENT= Perl module implementing a Matrix of Reals
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-TEST_DEPENDS= p5-Test-Most>=0:${PORTSDIR}/devel/p5-Test-Most
+TEST_DEPENDS= p5-Test-Most>=0:devel/p5-Test-Most
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 90db583a4c4c..fdbc0c2d22e1 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -11,8 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/00$//}
MAINTAINER= perl@FreeBSD.org
COMMENT= PARI - numerical/scientific/number-theoretic calculations
-BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/math/pari:configure
-LIB_DEPENDS= libpari.so:${PORTSDIR}/math/pari
+BUILD_DEPENDS= ${NONEXISTENT}:math/pari:configure
+LIB_DEPENDS= libpari.so:math/pari
USES= perl5 zip
USE_PERL5= configure
diff --git a/math/p5-Math-Polygon-Tree/Makefile b/math/p5-Math-Polygon-Tree/Makefile
index 6ebf51779e5d..b6a1e491ea66 100644
--- a/math/p5-Math-Polygon-Tree/Makefile
+++ b/math/p5-Math-Polygon-Tree/Makefile
@@ -12,11 +12,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Class for fast check if point is inside polygon
-BUILD_DEPENDS= p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple \
- p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
- p5-Math-Geometry-Planar-GPC-PolygonXS>=0:${PORTSDIR}/math/p5-Math-Geometry-Planar-GPC-PolygonXS
+BUILD_DEPENDS= p5-Test-Simple>=0:devel/p5-Test-Simple \
+ p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \
+ p5-Math-Geometry-Planar-GPC-PolygonXS>=0:math/p5-Math-Geometry-Planar-GPC-PolygonXS
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS:= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils
+TEST_DEPENDS:= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Polygon/Makefile b/math/p5-Math-Polygon/Makefile
index 6e5df0106fc4..05bf3a2ec8ac 100644
--- a/math/p5-Math-Polygon/Makefile
+++ b/math/p5-Math-Polygon/Makefile
@@ -14,7 +14,7 @@ COMMENT= Class for Maintaining Polygon Data
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-TEST_DEPENDS= p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod
+TEST_DEPENDS= p5-Test-Pod>=0:devel/p5-Test-Pod
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Polynomial-Solve/Makefile b/math/p5-Math-Polynomial-Solve/Makefile
index a81075d21301..fd2a3b318b09 100644
--- a/math/p5-Math-Polynomial-Solve/Makefile
+++ b/math/p5-Math-Polynomial-Solve/Makefile
@@ -13,7 +13,7 @@ COMMENT= Find the roots of polynomial equations
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Utils>=1.06:${PORTSDIR}/math/p5-Math-Utils
+BUILD_DEPENDS= p5-Math-Utils>=1.06:math/p5-Math-Utils
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
diff --git a/math/p5-Math-Prime-XS/Makefile b/math/p5-Math-Prime-XS/Makefile
index 77988dc296dd..8b3ca1f54ffa 100644
--- a/math/p5-Math-Prime-XS/Makefile
+++ b/math/p5-Math-Prime-XS/Makefile
@@ -14,11 +14,11 @@ COMMENT= Detect and calculate prime numbers with deterministic tests
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
- p5-boolean>=0:${PORTSDIR}/devel/p5-boolean
+BUILD_DEPENDS= p5-Params-Validate>=0:devel/p5-Params-Validate \
+ p5-boolean>=0:devel/p5-boolean
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \
- p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage
+TEST_DEPENDS= p5-Test-Pod>=1.14:devel/p5-Test-Pod \
+ p5-Test-Pod-Coverage>=1.04:devel/p5-Test-Pod-Coverage
USE_PERL5= configure
USES= perl5
diff --git a/math/p5-Math-RPN/Makefile b/math/p5-Math-RPN/Makefile
index efbccd8b3171..61c2faa483d6 100644
--- a/math/p5-Math-RPN/Makefile
+++ b/math/p5-Math-RPN/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Reverse polish math expression evaluation
-TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
+TEST_DEPENDS= p5-Test-Warn>=0:devel/p5-Test-Warn
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Random-ISAAC-XS/Makefile b/math/p5-Math-Random-ISAAC-XS/Makefile
index b5075ae74132..60580e339be7 100644
--- a/math/p5-Math-Random-ISAAC-XS/Makefile
+++ b/math/p5-Math-Random-ISAAC-XS/Makefile
@@ -12,7 +12,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= C implementation of the ISAAC PRNG Algorithm
-TEST_DEPENDS= p5-Test-NoWarnings>0:${PORTSDIR}/devel/p5-Test-NoWarnings
+TEST_DEPENDS= p5-Test-NoWarnings>0:devel/p5-Test-NoWarnings
USES= perl5
USE_PERL5= modbuild
diff --git a/math/p5-Math-Random-ISAAC/Makefile b/math/p5-Math-Random-ISAAC/Makefile
index bfdd381517a7..357ff01c3855 100644
--- a/math/p5-Math-Random-ISAAC/Makefile
+++ b/math/p5-Math-Random-ISAAC/Makefile
@@ -12,9 +12,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= wen@FreeBSD.org
COMMENT= Perl interface to the ISAAC PRNG Algorithm
-BUILD_DEPENDS= p5-Test-NoWarnings>0:${PORTSDIR}/devel/p5-Test-NoWarnings
+BUILD_DEPENDS= p5-Test-NoWarnings>0:devel/p5-Test-NoWarnings
RUN_DEPENDS:= ${BUILD_DEPENDS} \
- p5-Math-Random-ISAAC-XS>0:${PORTSDIR}/math/p5-Math-Random-ISAAC-XS
+ p5-Math-Random-ISAAC-XS>0:math/p5-Math-Random-ISAAC-XS
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Random-MT-Auto/Makefile b/math/p5-Math-Random-MT-Auto/Makefile
index 16606d86a2ae..608d2fec35f3 100644
--- a/math/p5-Math-Random-MT-Auto/Makefile
+++ b/math/p5-Math-Random-MT-Auto/Makefile
@@ -11,10 +11,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Auto-seeded Mersenne Twister PRNGs
-BUILD_DEPENDS= p5-Exception-Class>=1.32:${PORTSDIR}/devel/p5-Exception-Class \
- p5-Object-InsideOut>=3.88:${PORTSDIR}/devel/p5-Object-InsideOut
+BUILD_DEPENDS= p5-Exception-Class>=1.32:devel/p5-Exception-Class \
+ p5-Object-InsideOut>=3.88:devel/p5-Object-InsideOut
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+TEST_DEPENDS= p5-libwww>=0:www/p5-libwww
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Random-MT/Makefile b/math/p5-Math-Random-MT/Makefile
index 40cc95b790f0..0c1102eba3a3 100644
--- a/math/p5-Math-Random-MT/Makefile
+++ b/math/p5-Math-Random-MT/Makefile
@@ -12,7 +12,7 @@ COMMENT= The Mersenne Twister PRNG
LICENSE= BSD3CLAUSE
-TEST_DEPENDS= p5-Test-Number-Delta>=0:${PORTSDIR}/devel/p5-Test-Number-Delta
+TEST_DEPENDS= p5-Test-Number-Delta>=0:devel/p5-Test-Number-Delta
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Random-OO/Makefile b/math/p5-Math-Random-OO/Makefile
index dc2edae07a2c..812fd7dd8335 100644
--- a/math/p5-Math-Random-OO/Makefile
+++ b/math/p5-Math-Random-OO/Makefile
@@ -13,11 +13,11 @@ COMMENT= Consistent object-oriented interface for generating random numbers
LICENSE= APACHE20
-BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
- p5-Params-Validate>=0.76:${PORTSDIR}/devel/p5-Params-Validate
+BUILD_DEPENDS= p5-Class-Accessor>=0:devel/p5-Class-Accessor \
+ p5-Params-Validate>=0.76:devel/p5-Params-Validate
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-MockRandom>=0.95:${PORTSDIR}/devel/p5-Test-MockRandom \
- p5-Test-Number-Delta>=0.14:${PORTSDIR}/devel/p5-Test-Number-Delta
+TEST_DEPENDS= p5-Test-MockRandom>=0.95:devel/p5-Test-MockRandom \
+ p5-Test-Number-Delta>=0.14:devel/p5-Test-Number-Delta
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Random-Secure/Makefile b/math/p5-Math-Random-Secure/Makefile
index 4f7fc04bc956..8f180d9bb6b9 100644
--- a/math/p5-Math-Random-Secure/Makefile
+++ b/math/p5-Math-Random-Secure/Makefile
@@ -13,11 +13,11 @@ COMMENT= Cryptographically-secure rand function
LICENSE= ART20
-TEST_DEPENDS= p5-Test-Warn>0:${PORTSDIR}/devel/p5-Test-Warn
-BUILD_DEPENDS= p5-List-MoreUtils>0:${PORTSDIR}/lang/p5-List-MoreUtils
-RUN_DEPENDS= p5-Any-Moose>0:${PORTSDIR}/devel/p5-Any-Moose \
- p5-Math-Random-ISAAC>=1.0.1:${PORTSDIR}/math/p5-Math-Random-ISAAC \
- p5-Crypt-Random-Source>=0.07:${PORTSDIR}/security/p5-Crypt-Random-Source
+TEST_DEPENDS= p5-Test-Warn>0:devel/p5-Test-Warn
+BUILD_DEPENDS= p5-List-MoreUtils>0:lang/p5-List-MoreUtils
+RUN_DEPENDS= p5-Any-Moose>0:devel/p5-Any-Moose \
+ p5-Math-Random-ISAAC>=1.0.1:math/p5-Math-Random-ISAAC \
+ p5-Crypt-Random-Source>=0.07:security/p5-Crypt-Random-Source
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-RandomOrg/Makefile b/math/p5-Math-RandomOrg/Makefile
index 325df7bbadd2..d62efbd8ee1b 100644
--- a/math/p5-Math-RandomOrg/Makefile
+++ b/math/p5-Math-RandomOrg/Makefile
@@ -14,7 +14,7 @@ COMMENT= Retrieve random numbers and data from random.org
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= p5-libwww>=0:www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Sequence/Makefile b/math/p5-Math-Sequence/Makefile
index eb892908b9a3..ed8cf4c6f563 100644
--- a/math/p5-Math-Sequence/Makefile
+++ b/math/p5-Math-Sequence/Makefile
@@ -14,7 +14,7 @@ COMMENT= Perl extension dealing with mathematic sequences
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Series/Makefile b/math/p5-Math-Series/Makefile
index 3e986b885d8a..38bf354e2f55 100644
--- a/math/p5-Math-Series/Makefile
+++ b/math/p5-Math-Series/Makefile
@@ -14,8 +14,8 @@ COMMENT= Perl extension dealing with mathematic series
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-Sequence>=0:${PORTSDIR}/math/p5-Math-Sequence
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic \
+ p5-Math-Sequence>=0:math/p5-Math-Sequence
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Spline/Makefile b/math/p5-Math-Spline/Makefile
index 029d24eec238..d094fe2998a7 100644
--- a/math/p5-Math-Spline/Makefile
+++ b/math/p5-Math-Spline/Makefile
@@ -14,7 +14,7 @@ COMMENT= Cubic Spline Interpolation of data
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Derivative>=0:${PORTSDIR}/math/p5-Math-Derivative
+BUILD_DEPENDS= p5-Math-Derivative>=0:math/p5-Math-Derivative
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Symbolic-Custom-CCompiler/Makefile b/math/p5-Math-Symbolic-Custom-CCompiler/Makefile
index 061d3b51bc67..be303ad2bcce 100644
--- a/math/p5-Math-Symbolic-Custom-CCompiler/Makefile
+++ b/math/p5-Math-Symbolic-Custom-CCompiler/Makefile
@@ -14,9 +14,9 @@ COMMENT= Compile Math::Symbolic trees to C
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0.509:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Inline>=0.44:${PORTSDIR}/devel/p5-Inline \
- p5-Inline-C>=0.44:${PORTSDIR}/devel/p5-Inline-C
+BUILD_DEPENDS= p5-Math-Symbolic>=0.509:math/p5-Math-Symbolic \
+ p5-Inline>=0.44:devel/p5-Inline \
+ p5-Inline-C>=0.44:devel/p5-Inline-C
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Symbolic-Custom-Contains/Makefile b/math/p5-Math-Symbolic-Custom-Contains/Makefile
index b4348055a885..69bb160feced 100644
--- a/math/p5-Math-Symbolic-Custom-Contains/Makefile
+++ b/math/p5-Math-Symbolic-Custom-Contains/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Find subtrees in Math::Symbolic expressions
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Symbolic-Custom-ErrorPropagation/Makefile b/math/p5-Math-Symbolic-Custom-ErrorPropagation/Makefile
index b4908025a53c..7fa1bdfd5f35 100644
--- a/math/p5-Math-Symbolic-Custom-ErrorPropagation/Makefile
+++ b/math/p5-Math-Symbolic-Custom-ErrorPropagation/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Calculate Gaussian Error Propagation
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Symbolic-Custom-LaTeXDumper/Makefile b/math/p5-Math-Symbolic-Custom-LaTeXDumper/Makefile
index 0de9494bc468..6e717ebc4fa6 100644
--- a/math/p5-Math-Symbolic-Custom-LaTeXDumper/Makefile
+++ b/math/p5-Math-Symbolic-Custom-LaTeXDumper/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Math::Symbolic LaTeX output
-BUILD_DEPENDS= p5-Math-Symbolic>=0.201:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0.201:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Symbolic-Custom-Pattern/Makefile b/math/p5-Math-Symbolic-Custom-Pattern/Makefile
index f420008f6abb..cb431b829d10 100644
--- a/math/p5-Math-Symbolic-Custom-Pattern/Makefile
+++ b/math/p5-Math-Symbolic-Custom-Pattern/Makefile
@@ -11,11 +11,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Pattern matching on Math::Symbolic trees
-BUILD_DEPENDS= p5-Math-Symbolic>=0.510:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Clone>=0:${PORTSDIR}/devel/p5-Clone
+BUILD_DEPENDS= p5-Math-Symbolic>=0.510:math/p5-Math-Symbolic \
+ p5-Clone>=0:devel/p5-Clone
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-Pod>=1.0:${PORTSDIR}/devel/p5-Test-Pod \
- p5-Test-Pod-Coverage>=1.0:${PORTSDIR}/devel/p5-Test-Pod-Coverage
+TEST_DEPENDS= p5-Test-Pod>=1.0:devel/p5-Test-Pod \
+ p5-Test-Pod-Coverage>=1.0:devel/p5-Test-Pod-Coverage
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Symbolic-Custom-Simplification/Makefile b/math/p5-Math-Symbolic-Custom-Simplification/Makefile
index a6ea9cad1e12..f88bdcb01dcd 100644
--- a/math/p5-Math-Symbolic-Custom-Simplification/Makefile
+++ b/math/p5-Math-Symbolic-Custom-Simplification/Makefile
@@ -14,7 +14,7 @@ COMMENT= User defined simplification routines
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-Symbolic-Custom-Transformation/Makefile b/math/p5-Math-Symbolic-Custom-Transformation/Makefile
index 5da95f8bc780..00c0e3910444 100644
--- a/math/p5-Math-Symbolic-Custom-Transformation/Makefile
+++ b/math/p5-Math-Symbolic-Custom-Transformation/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Transform Math::Symbolic trees
-RUN_DEPENDS= p5-Math-Symbolic>=0.507:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-Symbolic-Custom-Pattern>=1.20:${PORTSDIR}/math/p5-Math-Symbolic-Custom-Pattern
+RUN_DEPENDS= p5-Math-Symbolic>=0.507:math/p5-Math-Symbolic \
+ p5-Math-Symbolic-Custom-Pattern>=1.20:math/p5-Math-Symbolic-Custom-Pattern
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Math-Symbolic/Makefile b/math/p5-Math-Symbolic/Makefile
index 6bedffe3f2a6..5907eb3d0263 100644
--- a/math/p5-Math-Symbolic/Makefile
+++ b/math/p5-Math-Symbolic/Makefile
@@ -15,7 +15,7 @@ COMMENT= Symbolic calculations
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent
+BUILD_DEPENDS= p5-Parse-RecDescent>=0:devel/p5-Parse-RecDescent
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 shebangfix
diff --git a/math/p5-Math-SymbolicX-BigNum/Makefile b/math/p5-Math-SymbolicX-BigNum/Makefile
index 92d69a22694b..8e5d59a6dc88 100644
--- a/math/p5-Math-SymbolicX-BigNum/Makefile
+++ b/math/p5-Math-SymbolicX-BigNum/Makefile
@@ -14,8 +14,8 @@ COMMENT= Big number support for the Math::Symbolic parser
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-SymbolicX-ParserExtensionFactory>=0:${PORTSDIR}/math/p5-Math-SymbolicX-ParserExtensionFactory
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic \
+ p5-Math-SymbolicX-ParserExtensionFactory>=0:math/p5-Math-SymbolicX-ParserExtensionFactory
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-SymbolicX-Complex/Makefile b/math/p5-Math-SymbolicX-Complex/Makefile
index f21f801e0939..437b0fd0967e 100644
--- a/math/p5-Math-SymbolicX-Complex/Makefile
+++ b/math/p5-Math-SymbolicX-Complex/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Complex number support for the Math::Symbolic parser
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-SymbolicX-ParserExtensionFactory>=0:${PORTSDIR}/math/p5-Math-SymbolicX-ParserExtensionFactory
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic \
+ p5-Math-SymbolicX-ParserExtensionFactory>=0:math/p5-Math-SymbolicX-ParserExtensionFactory
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-SymbolicX-Error/Makefile b/math/p5-Math-SymbolicX-Error/Makefile
index 18e9d0edaff0..a826335a93fd 100644
--- a/math/p5-Math-SymbolicX-Error/Makefile
+++ b/math/p5-Math-SymbolicX-Error/Makefile
@@ -11,9 +11,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Parser extension for dealing with numeric errors
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-SymbolicX-ParserExtensionFactory>=0:${PORTSDIR}/math/p5-Math-SymbolicX-ParserExtensionFactory \
- p5-Number-WithError>=0:${PORTSDIR}/math/p5-Number-WithError
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic \
+ p5-Math-SymbolicX-ParserExtensionFactory>=0:math/p5-Math-SymbolicX-ParserExtensionFactory \
+ p5-Number-WithError>=0:math/p5-Number-WithError
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-SymbolicX-Inline/Makefile b/math/p5-Math-SymbolicX-Inline/Makefile
index e6923b5887d7..80b5195fd960 100644
--- a/math/p5-Math-SymbolicX-Inline/Makefile
+++ b/math/p5-Math-SymbolicX-Inline/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Inlined Math::Symbolic functions
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-Symbolic-Custom-Contains>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-Contains
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic \
+ p5-Math-Symbolic-Custom-Contains>=0:math/p5-Math-Symbolic-Custom-Contains
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-SymbolicX-NoSimplification/Makefile b/math/p5-Math-SymbolicX-NoSimplification/Makefile
index f59026ce4d03..715195f33f31 100644
--- a/math/p5-Math-SymbolicX-NoSimplification/Makefile
+++ b/math/p5-Math-SymbolicX-NoSimplification/Makefile
@@ -14,7 +14,7 @@ COMMENT= Turn off Math::Symbolic simplification
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-SymbolicX-ParserExtensionFactory/Makefile b/math/p5-Math-SymbolicX-ParserExtensionFactory/Makefile
index b80c8d60c3ea..732a013f6220 100644
--- a/math/p5-Math-SymbolicX-ParserExtensionFactory/Makefile
+++ b/math/p5-Math-SymbolicX-ParserExtensionFactory/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Generate parser extensions
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Math-SymbolicX-Statistics-Distributions/Makefile b/math/p5-Math-SymbolicX-Statistics-Distributions/Makefile
index f68b8d4c7720..1cc8c7e8259b 100644
--- a/math/p5-Math-SymbolicX-Statistics-Distributions/Makefile
+++ b/math/p5-Math-SymbolicX-Statistics-Distributions/Makefile
@@ -14,10 +14,10 @@ COMMENT= Statistical distributions
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-Symbolic>=0:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-SymbolicX-ParserExtensionFactory>=0:${PORTSDIR}/math/p5-Math-SymbolicX-ParserExtensionFactory
+BUILD_DEPENDS= p5-Math-Symbolic>=0:math/p5-Math-Symbolic \
+ p5-Math-SymbolicX-ParserExtensionFactory>=0:math/p5-Math-SymbolicX-ParserExtensionFactory
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-LectroTest>=0:${PORTSDIR}/devel/p5-Test-LectroTest
+TEST_DEPENDS= p5-Test-LectroTest>=0:devel/p5-Test-LectroTest
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile
index 00f90a75b82b..82a48df7131e 100644
--- a/math/p5-NetCDF/Makefile
+++ b/math/p5-NetCDF/Makefile
@@ -12,7 +12,7 @@ DISTNAME= netcdf-perl-${PORTVERSION}
MAINTAINER= rand@meridian-enviro.com
COMMENT= Perl5 module to read and write netCDF files
-LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf
+LIB_DEPENDS= libnetcdf.so:science/netcdf
USES= perl5 fakeroot
diff --git a/math/p5-Number-WithError-LaTeX/Makefile b/math/p5-Number-WithError-LaTeX/Makefile
index c42f5f5b0df0..f0e5b10b0f6b 100644
--- a/math/p5-Number-WithError-LaTeX/Makefile
+++ b/math/p5-Number-WithError-LaTeX/Makefile
@@ -14,12 +14,12 @@ COMMENT= LaTeX output for Number::WithError
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Params-Util>=0:${PORTSDIR}/devel/p5-Params-Util \
- p5-prefork>=0:${PORTSDIR}/devel/p5-prefork \
- p5-Number-WithError>=0:${PORTSDIR}/math/p5-Number-WithError \
- p5-TeX-Encode>=0:${PORTSDIR}/textproc/p5-TeX-Encode
+BUILD_DEPENDS= p5-Params-Util>=0:devel/p5-Params-Util \
+ p5-prefork>=0:devel/p5-prefork \
+ p5-Number-WithError>=0:math/p5-Number-WithError \
+ p5-TeX-Encode>=0:textproc/p5-TeX-Encode
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-LectroTest>=0:${PORTSDIR}/devel/p5-Test-LectroTest
+TEST_DEPENDS= p5-Test-LectroTest>=0:devel/p5-Test-LectroTest
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Number-WithError/Makefile b/math/p5-Number-WithError/Makefile
index 0af3555d289f..5e226b57a291 100644
--- a/math/p5-Number-WithError/Makefile
+++ b/math/p5-Number-WithError/Makefile
@@ -11,11 +11,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= culot@FreeBSD.org
COMMENT= Numbers with error propagation and scientific rounding
-BUILD_DEPENDS= p5-Params-Util>=0:${PORTSDIR}/devel/p5-Params-Util \
- p5-prefork>=0:${PORTSDIR}/devel/p5-prefork
+BUILD_DEPENDS= p5-Params-Util>=0:devel/p5-Params-Util \
+ p5-prefork>=0:devel/p5-prefork
RUN_DEPENDS:= ${BUILD_DEPENDS}
-TEST_DEPENDS= p5-Test-LectroTest>=0:${PORTSDIR}/devel/p5-Test-LectroTest
+TEST_DEPENDS= p5-Test-LectroTest>=0:devel/p5-Test-LectroTest
USES= perl5
USE_PERL5= configure
diff --git a/math/p5-Parse-Range/Makefile b/math/p5-Parse-Range/Makefile
index a145f6bd017c..99a15ffd29e1 100644
--- a/math/p5-Parse-Range/Makefile
+++ b/math/p5-Parse-Range/Makefile
@@ -15,7 +15,7 @@ COMMENT= Parses range definitions and returns an array
LICENSE= ART10 BSD3CLAUSE
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-List-MoreUtils>=0.22:${PORTSDIR}/lang/p5-List-MoreUtils
+BUILD_DEPENDS= p5-List-MoreUtils>=0.22:lang/p5-List-MoreUtils
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Set-IntSpan-Fast-XS/Makefile b/math/p5-Set-IntSpan-Fast-XS/Makefile
index f9b04167d503..08b775a9e036 100644
--- a/math/p5-Set-IntSpan-Fast-XS/Makefile
+++ b/math/p5-Set-IntSpan-Fast-XS/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Faster Set::IntSpan::Fast
-BUILD_DEPENDS= p5-Data-Swap>=0.07:${PORTSDIR}/devel/p5-Data-Swap \
- p5-Set-IntSpan-Fast>=1.13:${PORTSDIR}/math/p5-Set-IntSpan-Fast
+BUILD_DEPENDS= p5-Data-Swap>=0.07:devel/p5-Data-Swap \
+ p5-Set-IntSpan-Fast>=1.13:math/p5-Set-IntSpan-Fast
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Set-IntSpan-Fast/Makefile b/math/p5-Set-IntSpan-Fast/Makefile
index 14c0465dbcda..46fe4d558efb 100644
--- a/math/p5-Set-IntSpan-Fast/Makefile
+++ b/math/p5-Set-IntSpan-Fast/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Fast handling of sets containing integer spans
-BUILD_DEPENDS= p5-Data-Types>=0:${PORTSDIR}/devel/p5-Data-Types
+BUILD_DEPENDS= p5-Data-Types>=0:devel/p5-Data-Types
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Statistics-Basic/Makefile b/math/p5-Statistics-Basic/Makefile
index 703980d65d26..125b38a25c59 100644
--- a/math/p5-Statistics-Basic/Makefile
+++ b/math/p5-Statistics-Basic/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Collection of basic statistics modules
-BUILD_DEPENDS= p5-Number-Format>=1.61:${PORTSDIR}/textproc/p5-Number-Format
+BUILD_DEPENDS= p5-Number-Format>=1.61:textproc/p5-Number-Format
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Statistics-Contingency/Makefile b/math/p5-Statistics-Contingency/Makefile
index d764ff6b7780..237b485d14df 100644
--- a/math/p5-Statistics-Contingency/Makefile
+++ b/math/p5-Statistics-Contingency/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Calculate precision, recall, F1, accuracy, etc
-BUILD_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate
+BUILD_DEPENDS= p5-Params-Validate>=0:devel/p5-Params-Validate
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Statistics-R/Makefile b/math/p5-Statistics-R/Makefile
index 51d8a984e198..0da15ab18b0a 100644
--- a/math/p5-Statistics-R/Makefile
+++ b/math/p5-Statistics-R/Makefile
@@ -14,10 +14,10 @@ COMMENT= Controls the R interpreter through Perl
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= R:${PORTSDIR}/math/R
-RUN_DEPENDS= R:${PORTSDIR}/math/R \
- p5-IPC-Run>=0.10:${PORTSDIR}/devel/p5-IPC-Run \
- p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common
+BUILD_DEPENDS= R:math/R
+RUN_DEPENDS= R:math/R \
+ p5-IPC-Run>=0.10:devel/p5-IPC-Run \
+ p5-Regexp-Common>=0:textproc/p5-Regexp-Common
NO_ARCH= yes
USES= perl5
diff --git a/math/p5-Statistics-TTest/Makefile b/math/p5-Statistics-TTest/Makefile
index cd0e39c317fe..def02e6a2a4c 100644
--- a/math/p5-Statistics-TTest/Makefile
+++ b/math/p5-Statistics-TTest/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to perform T-test on 2 independent samples
-BUILD_DEPENDS= p5-Statistics-Descriptive>=0:${PORTSDIR}/math/p5-Statistics-Descriptive \
- p5-Statistics-Distributions>=0.07:${PORTSDIR}/math/p5-Statistics-Distributions
+BUILD_DEPENDS= p5-Statistics-Descriptive>=0:math/p5-Statistics-Descriptive \
+ p5-Statistics-Distributions>=0.07:math/p5-Statistics-Distributions
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
diff --git a/math/p5-Task-Math-Symbolic/Makefile b/math/p5-Task-Math-Symbolic/Makefile
index fd1ac54f71e8..f3859d613e4c 100644
--- a/math/p5-Task-Math-Symbolic/Makefile
+++ b/math/p5-Task-Math-Symbolic/Makefile
@@ -12,19 +12,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Math::Symbolic with lots of plugins
-RUN_DEPENDS= p5-Math-Symbolic>=0.163:${PORTSDIR}/math/p5-Math-Symbolic \
- p5-Math-Symbolic-Custom-CCompiler>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-CCompiler \
- p5-Math-Symbolic-Custom-Contains>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-Contains \
- p5-Math-Symbolic-Custom-ErrorPropagation>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-ErrorPropagation \
- p5-Math-Symbolic-Custom-Pattern>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-Pattern \
- p5-Math-Symbolic-Custom-Simplification>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-Simplification \
- p5-Math-Symbolic-Custom-Transformation>=0:${PORTSDIR}/math/p5-Math-Symbolic-Custom-Transformation \
- p5-Math-SymbolicX-BigNum>=0:${PORTSDIR}/math/p5-Math-SymbolicX-BigNum \
- p5-Math-SymbolicX-Complex>=0:${PORTSDIR}/math/p5-Math-SymbolicX-Complex \
- p5-Math-SymbolicX-Inline>=0:${PORTSDIR}/math/p5-Math-SymbolicX-Inline \
- p5-Math-SymbolicX-NoSimplification>=0:${PORTSDIR}/math/p5-Math-SymbolicX-NoSimplification \
- p5-Math-SymbolicX-ParserExtensionFactory>=0:${PORTSDIR}/math/p5-Math-SymbolicX-ParserExtensionFactory \
- p5-Math-SymbolicX-Statistics-Distributions>=0:${PORTSDIR}/math/p5-Math-SymbolicX-Statistics-Distributions
+RUN_DEPENDS= p5-Math-Symbolic>=0.163:math/p5-Math-Symbolic \
+ p5-Math-Symbolic-Custom-CCompiler>=0:math/p5-Math-Symbolic-Custom-CCompiler \
+ p5-Math-Symbolic-Custom-Contains>=0:math/p5-Math-Symbolic-Custom-Contains \
+ p5-Math-Symbolic-Custom-ErrorPropagation>=0:math/p5-Math-Symbolic-Custom-ErrorPropagation \
+ p5-Math-Symbolic-Custom-Pattern>=0:math/p5-Math-Symbolic-Custom-Pattern \
+ p5-Math-Symbolic-Custom-Simplification>=0:math/p5-Math-Symbolic-Custom-Simplification \
+ p5-Math-Symbolic-Custom-Transformation>=0:math/p5-Math-Symbolic-Custom-Transformation \
+ p5-Math-SymbolicX-BigNum>=0:math/p5-Math-SymbolicX-BigNum \
+ p5-Math-SymbolicX-Complex>=0:math/p5-Math-SymbolicX-Complex \
+ p5-Math-SymbolicX-Inline>=0:math/p5-Math-SymbolicX-Inline \
+ p5-Math-SymbolicX-NoSimplification>=0:math/p5-Math-SymbolicX-NoSimplification \
+ p5-Math-SymbolicX-ParserExtensionFactory>=0:math/p5-Math-SymbolicX-ParserExtensionFactory \
+ p5-Math-SymbolicX-Statistics-Distributions>=0:math/p5-Math-SymbolicX-Statistics-Distributions
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
diff --git a/math/p5-bignum/Makefile b/math/p5-bignum/Makefile
index 22c46b257f89..ca98de113a97 100644
--- a/math/p5-bignum/Makefile
+++ b/math/p5-bignum/Makefile
@@ -13,7 +13,7 @@ COMMENT= Transparent BigNumber/BigRational support for Perl
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-BigInt>=1.999712:${PORTSDIR}/math/p5-Math-BigInt
+BUILD_DEPENDS= p5-Math-BigInt>=1.999712:math/p5-Math-BigInt
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 09e0e07c93d2..47dfc5b2cc10 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -13,7 +13,7 @@ COMMENT= Mathematics library and advanced calculator package
LICENSE= GPLv2
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
MAKE_JOBS_UNSAFE= yes
diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile
index 785f56d89e95..95f229e9cacf 100644
--- a/math/parmetis/Makefile
+++ b/math/parmetis/Makefile
@@ -19,7 +19,7 @@ LICENSE_PERMS= auto-accept
# libc++.so is a linker script, not a symlink.
# Ignore portlint, the linker needs the actual library specified
-LIB_DEPENDS= libc++.so.1:${PORTSDIR}/devel/libc++
+LIB_DEPENDS= libc++.so.1:devel/libc++
OPTIONS_DEFINE= OPENMPI DOCS
OPENMPI_DESC= Use openmpi instead of mpich2
@@ -36,12 +36,12 @@ PLIST_FILES= include/parmetis/metis.h \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENMPI}
-BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
-RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:net/openmpi
+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:net/openmpi
MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc
.else
-BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
-RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
+BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:net/mpich2
+RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:net/mpich2
MPICC= ${LOCALBASE}/bin/mpicc
.endif
diff --git a/math/parmgridgen/Makefile b/math/parmgridgen/Makefile
index 836ba6c8832c..46427441065b 100644
--- a/math/parmgridgen/Makefile
+++ b/math/parmgridgen/Makefile
@@ -15,7 +15,7 @@ COMMENT= Library for obtaining a sequence of successive coarse grids
ALL_TARGET= parallel
-LIB_DEPENDS+= libmpi.so:${PORTSDIR}/net/openmpi
+LIB_DEPENDS+= libmpi.so:net/openmpi
USES= gmake
MAKE_JOBS_UNSAFE= yes
diff --git a/math/pdal/Makefile b/math/pdal/Makefile
index bca268f624c8..79b4c028a58c 100644
--- a/math/pdal/Makefile
+++ b/math/pdal/Makefile
@@ -11,9 +11,9 @@ COMMENT= Library for translating and manipulating point cloud data
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \
- libgeos.so:${PORTSDIR}/graphics/geos \
- libboost_thread.so:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libgdal.so:graphics/gdal \
+ libgeos.so:graphics/geos \
+ libboost_thread.so:devel/boost-libs
USES= cmake:outsource compiler:c++11-lib pathfix pkgconfig
USE_LDCONFIG= yes
@@ -58,7 +58,7 @@ ATTRIBUTE_CMAKE_ON= -DBUILD_PLUGIN_ATTRIBUTE:BOOL=TRUE
ATTRIBUTE_CMAKE_OFF= -DBUILD_PLUGIN_ATTRIBUTE:BOOL=FALSE
ICEBRIDGE_DESC= Enable Icebridge plugin
-ICEBRIDGE_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5
+ICEBRIDGE_LIB_DEPENDS= libhdf5.so:science/hdf5
ICEBRIDGE_CMAKE_ON= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=TRUE
ICEBRIDGE_CMAKE_OFF= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=FALSE
@@ -68,18 +68,18 @@ APPS_CMAKE_OFF= -DWITH_APPS:BOOL=FALSE
BASH_DESC= BASH completion
BASH_CMAKE_ON= -DWITH_BASH:BOOL=TRUE
-BASH_RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+BASH_RUN_DEPENDS= bash:shells/bash
BASH_CMAKE_OFF= -DWITH_BASH:BOOL=FALSE
LASZIP_DESC= Enable LASZip support (Recommended)
-LASZIP_LIB_DEPENDS= liblaszip.so:${PORTSDIR}/archivers/laszip
+LASZIP_LIB_DEPENDS= liblaszip.so:archivers/laszip
GEOTIFF_CMAKE_ON= -DWITH_GEOTIFF:BOOL=TRUE
-GEOTIFF_LIB_DEPENDS= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff
+GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff
GEOTIFF_CMAKE_OFF= -DWITH_GEOTIFF:BOOL=FALSE
LIBXML2_CMAKE_ON= -DWITH_LIBXML2:BOOL=TRUE
-LIBXML2_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
+LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2
LIBXML2_CMAKE_OFF= -DWITH_LIBXML2:BOOL=FALSE
.include <bsd.port.mk>
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index c8d77da0b5c0..2d9b8b193414 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -11,10 +11,10 @@ DISTNAME= pl${PORTVERSION:S/.//}src
MAINTAINER?= linimon@FreeBSD.org
COMMENT?= Generates plots and graphs from data
-LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
- libming.so:${PORTSDIR}/graphics/ming \
- libpng.so:${PORTSDIR}/graphics/png \
- libfreetype.so:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= libgd.so:graphics/gd \
+ libming.so:graphics/ming \
+ libpng.so:graphics/png \
+ libfreetype.so:print/freetype2
USES= jpeg
BUILD_WRKSRC= ${WRKSRC}/src
diff --git a/math/plplot-ada/Makefile b/math/plplot-ada/Makefile
index 3c022a990102..86e83cc07318 100644
--- a/math/plplot-ada/Makefile
+++ b/math/plplot-ada/Makefile
@@ -12,7 +12,7 @@ COMMENT= Ada bindings for PLplot
LICENSE= LGPL3
-LIB_DEPENDS= libplplot.so:${PORTSDIR}/math/plplot
+LIB_DEPENDS= libplplot.so:math/plplot
USES= ada
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index 4f910f497d48..d09c9f22b2a8 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -12,13 +12,13 @@ COMMENT= Scientific plotting package
LICENSE= LGPL21+
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
- ${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf
-LIB_DEPENDS= libLASi.so:${PORTSDIR}/devel/lasi \
- libltdl.so:${PORTSDIR}/devel/libltdl \
- libfreetype.so:${PORTSDIR}/print/freetype2
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
- ${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf
+BUILD_DEPENDS= bash:shells/bash \
+ ${FREEFONT_DIR}/FreeMono.ttf:x11-fonts/freefont-ttf
+LIB_DEPENDS= libLASi.so:devel/lasi \
+ libltdl.so:devel/libltdl \
+ libfreetype.so:print/freetype2
+RUN_DEPENDS= bash:shells/bash \
+ ${FREEFONT_DIR}/FreeMono.ttf:x11-fonts/freefont-ttf
USE_GNOME= pango
USE_PERL5= build
@@ -49,7 +49,7 @@ FORTRAN_CONFIGURE_ENV= CMAKE_Fortran_COMPILER="${FC}"
FORTRAN_CMAKE_ON= -DENABLE_f95:BOOL=ON
FORTRAN_CMAKE_OFF= -DENABLE_f95:BOOL=OFF
-GD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
+GD_LIB_DEPENDS= libgd.so:graphics/gd
GD_CMAKE_ON= -DPLD_png:BOOL=ON
LUA_USES= lua:51
@@ -57,7 +57,7 @@ LUA_CMAKE_ON= -DLUA_EXECUTABLE:FILEPATH="${LUA_CMD}"
LUA_CMAKE_OFF= -DENABLE_lua:BOOL=OFF
PYTHON_USES= python
-PYTHON_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \
+PYTHON_BUILD_DEPENDS= swig:devel/swig13 \
${PYNUMPY}
PYTHON_RUN_DEPENDS= ${PYNUMPY}
PYTHON_CONFIGURE_ENV= PYTHON_VERSION="${PYTHON_VERSION}"
@@ -65,13 +65,13 @@ PYTHON_CMAKE_OFF= -DENABLE_python:BOOL=OFF
QHULL2003_DESC= Legacy Qhull support
QHULL2012_DESC= Latest Qhull support
-QHULL2012_LIB_DEPENDS= libqhull.so.6:${PORTSDIR}/math/qhull
-QHULL2003_LIB_DEPENDS= libqhull.so.5:${PORTSDIR}/math/qhull5
+QHULL2012_LIB_DEPENDS= libqhull.so.6:math/qhull
+QHULL2003_LIB_DEPENDS= libqhull.so.5:math/qhull5
QHULL2012_CMAKE_ON= -DQHULL_INCLUDE_DIRS="${LOCALBASE}/include/libqhull"
QHULL2012_2FIX= lib/nn/delaunay.c src/plgridd.c
-TCLTK_LIB_DEPENDS= libitk.so:${PORTSDIR}/x11-toolkits/itk
-TCLTK_RUN_DEPENDS= iwidgets>0:${PORTSDIR}/x11-toolkits/iwidgets
+TCLTK_LIB_DEPENDS= libitk.so:x11-toolkits/itk
+TCLTK_RUN_DEPENDS= iwidgets>0:x11-toolkits/iwidgets
TCLTK_USES= tk
ITCL_VER= 3.4
ITK_VER= 3.3
@@ -94,7 +94,7 @@ THREADS_CMAKE_OFF= -DTHREADS_HAVE_PTHREAD_ARG:BOOL=OFF
QT4_USE= QT4=corelib,gui,svg,xml,moc_build,qmake_build,rcc_build,uic_build
QT4_CMAKE_OFF= -DENABLE_qt:BOOL=OFF -DDEFAULT_NO_QT_DEVICES:BOOL=ON
-WXGTK_LIB_DEPENDS= libagg.so:${PORTSDIR}/graphics/agg
+WXGTK_LIB_DEPENDS= libagg.so:graphics/agg
WXGTK_USE= WX=2.6+
WXGTK_CMAKE_ON= -DwxWidgets_CONFIG_EXECUTABLE:FILEPATH="${WX_CONFIG}"
WXGTK_CMAKE_OFF= -DENABLE_wxwidgets:BOOL=OFF
diff --git a/math/proofgeneral/Makefile b/math/proofgeneral/Makefile
index 03161df6d432..b21b88df7c44 100644
--- a/math/proofgeneral/Makefile
+++ b/math/proofgeneral/Makefile
@@ -15,8 +15,8 @@ COMMENT= Generic interface for proof assistants
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
+BUILD_DEPENDS= bash:shells/bash
+RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme
USE_EMACS= yes
INSTALLS_ICONS= yes
@@ -48,7 +48,7 @@ INFO= PG-adapting ProofGeneral
.if ${PORT_OPTIONS:MDOCS}
MAKE_ARGS+= DOCSDIR=${DOCSDIR} INSTALLDOC=install-doc
-BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html
+BUILD_DEPENDS+= texi2html:textproc/texi2html
.endif
PORTDOCS= AUTHORS BUGS CHANGES COMPATIBILITY COPYING INSTALL \
diff --git a/math/pspp/Makefile b/math/pspp/Makefile
index 01947d5afcf3..b888038f5ca5 100644
--- a/math/pspp/Makefile
+++ b/math/pspp/Makefile
@@ -12,8 +12,8 @@ COMMENT= Program for statistical analysis of sampled data
LICENSE= GPLv3
-BUILD_DEPENDS= texinfo>0:${PORTSDIR}/print/texinfo
-LIB_DEPENDS= libgslcblas.so:${PORTSDIR}/math/gsl
+BUILD_DEPENDS= texinfo>0:print/texinfo
+LIB_DEPENDS= libgslcblas.so:math/gsl
USES= charsetfix gmake iconv libtool perl5 pkgconfig readline
USE_GNOME= libxml2
@@ -35,8 +35,8 @@ INFO= pspp pspp-dev
OPTIONS_DEFINE= DOCS GUI NLS PGSQL
OPTIONS_SUB= yes
-GUI_LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3
-GUI_RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp
+GUI_LIB_DEPENDS= libgladeui-1.so:devel/glade3
+GUI_RUN_DEPENDS= yelp:x11/yelp
GUI_USES= desktop-file-utils
GUI_USE= gnome=gtksourceview2,libglade2
GUI_CONFIGURE_WITH= cairo gui gui-tools
diff --git a/math/py-apgl/Makefile b/math/py-apgl/Makefile
index 920526f801e1..bb6b0fc17955 100644
--- a/math/py-apgl/Makefile
+++ b/math/py-apgl/Makefile
@@ -13,7 +13,7 @@ COMMENT= Fast python graph library with some machine learning features
LICENSE= GPLv3
BUILD_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0.7.0:${PORTSDIR}/science/py-scipy
+ ${PYTHON_PKGNAMEPREFIX}scipy>0.7.0:science/py-scipy
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python
diff --git a/math/py-basemap/Makefile b/math/py-basemap/Makefile
index b47acf329328..172ee9ff272c 100644
--- a/math/py-basemap/Makefile
+++ b/math/py-basemap/Makefile
@@ -14,8 +14,8 @@ LICENSE= GPLv2 LGPL21 MIT
LICENSE_COMB= multi
BUILD_DEPENDS= ${PYNUMPY}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib
-LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib
+LIB_DEPENDS= libgeos.so:graphics/geos
USES= python
USE_PYTHON= distutils autoplist
diff --git a/math/py-bitmath/Makefile b/math/py-bitmath/Makefile
index ca41d6faa657..77b8507a6cca 100644
--- a/math/py-bitmath/Makefile
+++ b/math/py-bitmath/Makefile
@@ -18,6 +18,6 @@ USE_PYTHON= autoplist distutils
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-4
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}progressbar231>0:${PORTSDIR}/misc/py-progressbar231
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}progressbar231>0:misc/py-progressbar231
.include <bsd.port.mk>
diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile
index 24b8c3a85956..447acdb3c2cd 100644
--- a/math/py-bottleneck/Makefile
+++ b/math/py-bottleneck/Makefile
@@ -14,9 +14,9 @@ COMMENT= Collection of fast NumPy array functions written in Cython
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYNUMPY} \
- cython:${PORTSDIR}/lang/cython
+ cython:lang/cython
RUN_DEPENDS= ${PYNUMPY}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose
USES= python
USE_PYTHON= distutils autoplist
diff --git a/math/py-colormath/Makefile b/math/py-colormath/Makefile
index a972d3712d36..e770bb034f5b 100644
--- a/math/py-colormath/Makefile
+++ b/math/py-colormath/Makefile
@@ -12,8 +12,8 @@ COMMENT= Module that spares the user from directly dealing with color math
LICENSE= BSD2CLAUSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:${PORTSDIR}/math/py-numpy \
- ${PYTHON_PKGNAMEPREFIX}networkx>=1.9.1:${PORTSDIR}/math/py-networkx
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:math/py-numpy \
+ ${PYTHON_PKGNAMEPREFIX}networkx>=1.9.1:math/py-networkx
USES= python
USE_PYTHON= autoplist distutils
diff --git a/math/py-cryptominisat/Makefile b/math/py-cryptominisat/Makefile
index 7c6bb2aa4e87..e3ed2b38094a 100644
--- a/math/py-cryptominisat/Makefile
+++ b/math/py-cryptominisat/Makefile
@@ -11,7 +11,7 @@ COMMENT= Bindings to CryptoMiniSat (a SAT solver)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libcryptominisat4.so:${PORTSDIR}/math/cryptominisat
+LIB_DEPENDS= libcryptominisat4.so:math/cryptominisat
USES= compiler:c++11-lang python:-2.7
USE_PYTHON= autoplist distutils
diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile
index fba98983c025..e90bed4c10e9 100644
--- a/math/py-fastcluster/Makefile
+++ b/math/py-fastcluster/Makefile
@@ -15,7 +15,7 @@ LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy
PORTDOCS= CITATION.txt \
INSTALL.txt \
diff --git a/math/py-fiat/Makefile b/math/py-fiat/Makefile
index 417b9749bc59..37fd5d2e70f7 100644
--- a/math/py-fiat/Makefile
+++ b/math/py-fiat/Makefile
@@ -14,7 +14,7 @@ COMMENT= FInite element Automatic Tabulator
LICENSE= LGPL3
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scientific>=0:${PORTSDIR}/math/py-scientific
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scientific>=0:math/py-scientific
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= python:2
diff --git a/math/py-gato/Makefile b/math/py-gato/Makefile
index d4df1514fc0a..7cf67094fd2f 100644
--- a/math/py-gato/Makefile
+++ b/math/py-gato/Makefile
@@ -14,7 +14,7 @@ COMMENT= Python-based toolbox to visualise algorithms on graphs
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LGPL.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
NO_ARCH= yes
PORTEXAMPLES= *
diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile
index 1af249091418..a1408ffb5bf6 100644
--- a/math/py-gmpy/Makefile
+++ b/math/py-gmpy/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Python Extension that Wraps the GMP Library
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
USES= python zip
USE_PYTHON= distutils autoplist
diff --git a/math/py-gnuplot/Makefile b/math/py-gnuplot/Makefile
index ad8e973e5c5b..15cde64b5bb0 100644
--- a/math/py-gnuplot/Makefile
+++ b/math/py-gnuplot/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to gnuplot plotting program
BUILD_DEPENDS= ${PYNUMPY}
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
+RUN_DEPENDS= gnuplot:math/gnuplot \
${PYNUMPY}
USES= python
diff --git a/math/py-gsl/Makefile b/math/py-gsl/Makefile
index a68490a8df9f..a90761d719bd 100644
--- a/math/py-gsl/Makefile
+++ b/math/py-gsl/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl
USES= python
USE_PYTHON= autoplist distutils
diff --git a/math/py-igraph/Makefile b/math/py-igraph/Makefile
index e92903065b27..2d0ce1fbbac4 100644
--- a/math/py-igraph/Makefile
+++ b/math/py-igraph/Makefile
@@ -11,7 +11,7 @@ DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= High performance graph data structures and algorithms
-BUILD_DEPENDS= ${LOCALBASE}/lib/libigraph.so:${PORTSDIR}/math/igraph
+BUILD_DEPENDS= ${LOCALBASE}/lib/libigraph.so:math/igraph
USES= python
USE_PYTHON= distutils autoplist
diff --git a/math/py-mathdom/Makefile b/math/py-mathdom/Makefile
index 3daa7baf5a62..da6665b66193 100644
--- a/math/py-mathdom/Makefile
+++ b/math/py-mathdom/Makefile
@@ -14,7 +14,7 @@ COMMENT= Content MathML in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml
USES= python
USE_PYTHON= autoplist distutils
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 0ae5f729bcb0..216c6e62fc71 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -13,16 +13,16 @@ COMMENT= Plotting library uses a syntax familiar to MATLAB users
LICENSE= PSFL
BUILD_DEPENDS= ${PYNUMPY}
-LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
- libpng.so:${PORTSDIR}/graphics/png \
- libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
- libtcl86.so:${PORTSDIR}/lang/tcl86
+LIB_DEPENDS= libfreetype.so:print/freetype2 \
+ libpng.so:graphics/png \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libtcl86.so:lang/tcl86
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}cycler>0:${PORTSDIR}/devel/py-cycler \
- ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:${PORTSDIR}/devel/py-dateutil \
- ${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
- ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:${PORTSDIR}/devel/py-pyparsing \
- ${PYTHON_PKGNAMEPREFIX}tornado>0:${PORTSDIR}/www/py-tornado
+ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler \
+ ${PYTHON_PKGNAMEPREFIX}dateutil>=1.4:devel/py-dateutil \
+ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz \
+ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \
+ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado
USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs
USE_PYTHON= autoplist distutils
@@ -41,13 +41,13 @@ GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2
GTKAGGBACKEND_VARS= GTKAGG_BACKEND=True
GTKAGGBACKEND_VARS_OFF= GTKAGG_BACKEND=False
QT4AGGBACKEND_DESC= Qt4Agg backend support
-QT4AGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:${PORTSDIR}/x11-toolkits/py-qt4-gui
-QT4AGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:${PORTSDIR}/x11-toolkits/py-qt4-gui
+QT4AGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:x11-toolkits/py-qt4-gui
+QT4AGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:x11-toolkits/py-qt4-gui
QT4AGGBACKEND_VARS= QT4AGG_BACKEND=True
QT4AGGBACKEND_VARS_OFF= QT4AGG_BACKEND=False
TKAGGBACKEND_DESC= TKAgg backend support
-TKAGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
-TKAGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
+TKAGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
+TKAGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
TKAGGBACKEND_USES= tk:run
TKAGGBACKEND_VARS= TKAGG_BACKEND=True
TKAGGBACKEND_VARS_OFF= TKAGG_BACKEND=False
@@ -60,11 +60,11 @@ WXAGGBACKEND_VARS_OFF= WXAGG_BACKEND=False
PORTEXAMPLES= *
.if defined(PACKAGE_BUILDING)
-GTKBACKEND_BUILD_DEPENDS= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
-GTKAGGBACKEND_BUILD_DEPENDS= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
-QT4AGGBACKEND_BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
-TKAGGBACKEND_BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
-WXAGGBACKEND_BUILD_DEPENDS= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
+GTKBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
+GTKAGGBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
+QT4AGGBACKEND_BUILD_DEPENDS+= Xvfb:x11-servers/xorg-vfbserver
+TKAGGBACKEND_BUILD_DEPENDS+= Xvfb:x11-servers/xorg-vfbserver
+WXAGGBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
.endif
post-extract:
diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile
index da7753a05bb5..1bd76ccc1c40 100644
--- a/math/py-mpmath/Makefile
+++ b/math/py-mpmath/Makefile
@@ -12,7 +12,7 @@ COMMENT= Python Library for Arbitrary-precision Floating-point Arithmetic
LICENSE= BSD3CLAUSE
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gmpy.so:${PORTSDIR}/math/py-gmpy
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gmpy.so:math/py-gmpy
USES= python
USE_PYTHON= distutils autoplist
diff --git a/math/py-networkx/Makefile b/math/py-networkx/Makefile
index 9de25ecf720e..d7581678361c 100644
--- a/math/py-networkx/Makefile
+++ b/math/py-networkx/Makefile
@@ -14,10 +14,10 @@ COMMENT= Tools for complex networks
LICENSE= BSD3CLAUSE
-RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:${PORTSDIR}/devel/py-decorator
+RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator
-# ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:${PORTSDIR}/textproc/py-sphinx \
-# ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:${PORTSDIR}/textproc/py-docutils
+# ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:textproc/py-sphinx \
+# ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils
NO_ARCH= yes
USES= python shebangfix
@@ -32,20 +32,20 @@ OPTIONS_GROUP_RENDER= MPL GRAPHVIZ
OPTIONS_DEFAULT= NUMPY SCIPY MPL GRAPHVIZ YAML
NUMPY_DESC= Matrix representation of graphs
-NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:${PORTSDIR}/math/py-numpy
+NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:math/py-numpy
SCIPY_DESC= Sparse matrix representation of graphs
-SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.15.1:${PORTSDIR}/science/py-scipy \
- ${PYTHON_PKGNAMEPREFIX}scikit-sparse>=0.2:${PORTSDIR}/science/py-scikit-sparse
+SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.15.1:science/py-scipy \
+ ${PYTHON_PKGNAMEPREFIX}scikit-sparse>=0.2:science/py-scikit-sparse
MPL_DESC= Flexible graph rendering
-MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:${PORTSDIR}/math/py-matplotlib
+MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.0:math/py-matplotlib
GRAPHVIZ_DESC= Additional graph layout and rendering algorithms
-GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygraphviz>=1.2:${PORTSDIR}/graphics/py-pygraphviz
+GRAPHVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygraphviz>=1.2:graphics/py-pygraphviz
YAML_DESC= Reading and writing YAML files
-YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml
+YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml
.include <bsd.port.pre.mk>
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index c3520c8d8841..b62d9a7aca86 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -40,10 +40,10 @@ GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.
ATLAS_USES= blaslapack:atlas
NETLIB_USES= blaslapack:netlib
-NETLIB_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/cblas
+NETLIB_LIB_DEPENDS= libcblas.so:math/cblas
OPENBLAS_USES= blaslapack:openblas
-SUITESPARSE_LIB_DEPENDS=libumfpack.so:${PORTSDIR}/math/suitesparse
-TESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:${PORTSDIR}/devel/py-nose
+SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse
+TESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose
.include <bsd.port.pre.mk>
diff --git a/math/py-pandas/Makefile b/math/py-pandas/Makefile
index 516b79c6a6a2..e1f78c52b4f9 100644
--- a/math/py-pandas/Makefile
+++ b/math/py-pandas/Makefile
@@ -13,25 +13,25 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS:= ${BUILD_DEPENDS} \
- ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:${PORTSDIR}/devel/py-dateutil \
- ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
- ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
+ ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:devel/py-dateutil \
+ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
TEST_DEPENDS:= ${RUN_DEPENDS} \
- nosetests-${PYTHON_VER}:${PORTSDIR}/devel/py-nose \
- cython:${PORTSDIR}/lang/cython \
- ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy \
- ${PYTHON_PKGNAMEPREFIX}boto>0:${PORTSDIR}/devel/py-boto \
- ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
- ${PYTHON_PKGNAMEPREFIX}tables>=3.0.0:${PORTSDIR}/devel/py-tables \
- ${PYTHON_PKGNAMEPREFIX}bottleneck>0:${PORTSDIR}/math/py-bottleneck \
- ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
- ${PYTHON_PKGNAMEPREFIX}numexpr>=2.1.0:${PORTSDIR}/math/py-numexpr \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy \
- ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.0.0:${PORTSDIR}/textproc/py-openpyxl \
- ${PYTHON_PKGNAMEPREFIX}xlrd>0:${PORTSDIR}/textproc/py-xlrd \
- ${PYTHON_PKGNAMEPREFIX}xlwt>0:${PORTSDIR}/textproc/py-xlwt \
- ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:${PORTSDIR}/www/py-beautifulsoup \
- ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
+ nosetests-${PYTHON_VER}:devel/py-nose \
+ cython:lang/cython \
+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:databases/py-sqlalchemy \
+ ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto \
+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml \
+ ${PYTHON_PKGNAMEPREFIX}tables>=3.0.0:devel/py-tables \
+ ${PYTHON_PKGNAMEPREFIX}bottleneck>0:math/py-bottleneck \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib \
+ ${PYTHON_PKGNAMEPREFIX}numexpr>=2.1.0:math/py-numexpr \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy \
+ ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.0.0:textproc/py-openpyxl \
+ ${PYTHON_PKGNAMEPREFIX}xlrd>0:textproc/py-xlrd \
+ ${PYTHON_PKGNAMEPREFIX}xlwt>0:textproc/py-xlwt \
+ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup \
+ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib
# Note: we cannot include math/py-statsmodels in TEST_DEPENDS because it
# depends upon us for BUILD and RUN.
@@ -60,24 +60,24 @@ STORAGE_DESC= Data Storage Add-ons
HTML_DESC= HTML Parsing Add-ons
EXCEL_DESC= MS Excel I/O Add-ons
-MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib
-SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
-BTLNCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottleneck>0:${PORTSDIR}/math/py-bottleneck
-NUMEXPR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numexpr>=2.1.0:${PORTSDIR}/math/py-numexpr
-BOTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:${PORTSDIR}/devel/py-boto
-TABLES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tables>=3.0.0:${PORTSDIR}/devel/py-tables
-SQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy
+MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib
+SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy
+BTLNCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottleneck>0:math/py-bottleneck
+NUMEXPR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numexpr>=2.1.0:math/py-numexpr
+BOTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto
+TABLES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tables>=3.0.0:devel/py-tables
+SQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:databases/py-sqlalchemy
-LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
-HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
-OPENPYXL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.0.0:${PORTSDIR}/textproc/py-openpyxl
-XLRD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlrd>0:${PORTSDIR}/textproc/py-xlrd
-XLWT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlwt>0:${PORTSDIR}/textproc/py-xlwt
+LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml
+HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib
+OPENPYXL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.0.0:textproc/py-openpyxl
+XLRD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlrd>0:textproc/py-xlrd
+XLWT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlwt>0:textproc/py-xlwt
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLXML} || ${PORT_OPTIONS:MHTML5LIB}
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:${PORTSDIR}/www/py-beautifulsoup
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup
.endif
SUB_FILES= pkg-message
diff --git a/math/py-patsy/Makefile b/math/py-patsy/Makefile
index 261a26225eee..01670f3cc743 100644
--- a/math/py-patsy/Makefile
+++ b/math/py-patsy/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE PSFL
LICENSE_COMB= multi
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
USES= python zip
USE_PYTHON= distutils autoplist
diff --git a/math/py-plastex/Makefile b/math/py-plastex/Makefile
index 305c0a8f68c8..bca443410abb 100644
--- a/math/py-plastex/Makefile
+++ b/math/py-plastex/Makefile
@@ -9,7 +9,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX Document Processing Framework
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:${PORTSDIR}/graphics/py-pillow
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow
USE_GITHUB= yes
GH_ACCOUNT= tiarno
diff --git a/math/py-pybloom/Makefile b/math/py-pybloom/Makefile
index 10254ae2317b..1be5444c82ba 100644
--- a/math/py-pybloom/Makefile
+++ b/math/py-pybloom/Makefile
@@ -11,7 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Probabilistic data structure
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>0:${PORTSDIR}/devel/py-bitarray
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>0:devel/py-bitarray
USES= python
USE_PYTHON= distutils autoplist
diff --git a/math/py-pycosat/Makefile b/math/py-pycosat/Makefile
index 2ff48342ed43..e1ff810d9e2f 100644
--- a/math/py-pycosat/Makefile
+++ b/math/py-pycosat/Makefile
@@ -13,7 +13,7 @@ COMMENT= Bindings to PicoSAT (a SAT solver)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libpicosat.so:${PORTSDIR}/math/picosat
+LIB_DEPENDS= libpicosat.so:math/picosat
USES= python
USE_PYTHON= autoplist distutils
diff --git a/math/py-pyfst/Makefile b/math/py-pyfst/Makefile
index b02682079273..affafb830d42 100644
--- a/math/py-pyfst/Makefile
+++ b/math/py-pyfst/Makefile
@@ -12,7 +12,7 @@ COMMENT= Python interface for the OpenFST library
LICENSE= APACHE20
-LIB_DEPENDS= libfst.so:${PORTSDIR}/math/openfst
+LIB_DEPENDS= libfst.so:math/openfst
BROKEN= does not build
diff --git a/math/py-pymc/Makefile b/math/py-pymc/Makefile
index 1984653458f9..81b7695e2ff2 100644
--- a/math/py-pymc/Makefile
+++ b/math/py-pymc/Makefile
@@ -17,13 +17,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
-LIB_DEPENDS= liblapack.so:${PORTSDIR}/math/lapack \
- libblas.so:${PORTSDIR}/math/blas
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy
+LIB_DEPENDS= liblapack.so:math/lapack \
+ libblas.so:math/blas
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy
USES= python
USE_PYTHON= autoplist distutils
diff --git a/math/py-scientific/Makefile b/math/py-scientific/Makefile
index 1d7aeeb35a29..0af27e389350 100644
--- a/math/py-scientific/Makefile
+++ b/math/py-scientific/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= fmysh@iijmio-mail.jp
COMMENT= Collection of Python modules for scientific computing
BUILD_DEPENDS= ${PYNUMPY}
-LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf
+LIB_DEPENDS= libnetcdf.so:science/netcdf
RUN_DEPENDS= ${PYNUMPY}
USES= python
diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile
index 3330bd4e677d..46c895116735 100644
--- a/math/py-statsmodels/Makefile
+++ b/math/py-statsmodels/Makefile
@@ -13,14 +13,14 @@ COMMENT= Complement to SciPy for statistical computations
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY} \
- cython:${PORTSDIR}/lang/cython \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy \
- ${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \
- ${PYTHON_PKGNAMEPREFIX}patsy>0:${PORTSDIR}/math/py-patsy
+ cython:lang/cython \
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy \
+ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas \
+ ${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy \
- ${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \
- ${PYTHON_PKGNAMEPREFIX}patsy>0:${PORTSDIR}/math/py-patsy
+ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy \
+ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas \
+ ${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/math/py-symeig/Makefile b/math/py-symeig/Makefile
index b4def8e06176..2c2b422e92f8 100644
--- a/math/py-symeig/Makefile
+++ b/math/py-symeig/Makefile
@@ -24,9 +24,9 @@ LDFLAGS+= -shared
OPTIONS_DEFINE= ATLAS
ATLAS_DESC= Use optimized blas library
-ATLAS_LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas
-ATLAS_LIB_DEPENDS_OFF= libblas.so:${PORTSDIR}/math/blas \
- liblapack.so:${PORTSDIR}/math/lapack
+ATLAS_LIB_DEPENDS= libatlas.so:math/atlas
+ATLAS_LIB_DEPENDS_OFF= libblas.so:math/blas \
+ liblapack.so:math/lapack
.include <bsd.port.options.mk>
diff --git a/math/py-sympy/Makefile b/math/py-sympy/Makefile
index 5388a5b0bf64..04c5364c5e52 100644
--- a/math/py-sympy/Makefile
+++ b/math/py-sympy/Makefile
@@ -18,7 +18,7 @@ USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= PYGLET
PYGLET_DESC= Enable plotting support
-PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet
+PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:graphics/py-pyglet
post-patch:
@${REINPLACE_CMD} -e "s#share/man/man1#man/man1#" ${WRKSRC}/setup.py
diff --git a/math/py-theano/Makefile b/math/py-theano/Makefile
index 8a5c24d81e58..c09e6ee984b9 100644
--- a/math/py-theano/Makefile
+++ b/math/py-theano/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= demon@FreeBSD.org
COMMENT= Optimizing compiler for evaluating math expressions on CPUs and GPUs
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>=0.8.0:${PORTSDIR}/science/py-scipy
+ ${PYTHON_PKGNAMEPREFIX}scipy>=0.8.0:science/py-scipy
USES= compiler:openmp python
USE_PYTHON= concurrent distutils autoplist
diff --git a/math/qalculate/Makefile b/math/qalculate/Makefile
index 4dda8dc7ae0c..659efdb34d42 100644
--- a/math/qalculate/Makefile
+++ b/math/qalculate/Makefile
@@ -13,9 +13,9 @@ COMMENT= Multi-purpose desktop calculator (Gnome frontend)
LICENSE= GPLv2
-LIB_DEPENDS= libqalculate.so:${PORTSDIR}/math/libqalculate
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
- wget:${PORTSDIR}/ftp/wget
+LIB_DEPENDS= libqalculate.so:math/libqalculate
+RUN_DEPENDS= gnuplot:math/gnuplot \
+ wget:ftp/wget
USES= gettext gmake
USE_GNOME= intltool libglade2 libgnome
diff --git a/math/qrupdate/Makefile b/math/qrupdate/Makefile
index b3adf6f36395..3b0de2dfad8c 100644
--- a/math/qrupdate/Makefile
+++ b/math/qrupdate/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= SOURCEFORGE/qrupdate/qrupdate/1.2
MAINTAINER= robertjenssen@ozemail.com.au
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
-LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas \
- liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS= libblas.so:math/blas \
+ liblapack.so:math/lapack
USES= fortran gmake
diff --git a/math/qtiplot-doc/Makefile b/math/qtiplot-doc/Makefile
index 7d3989925beb..263613b0429e 100644
--- a/math/qtiplot-doc/Makefile
+++ b/math/qtiplot-doc/Makefile
@@ -10,10 +10,10 @@ PKGNAMESUFFIX= -doc
MAINTAINER= makc@FreeBSD.org
COMMENT= The QtiPlot Handbook
-BUILD_DEPENDS= docbook2html:${PORTSDIR}/textproc/docbook-utils \
- docbook-xml>0:${PORTSDIR}/textproc/docbook-xml \
- ${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
- ${LOCALBASE}/share/sgml/docbook/dsssl/modular/html/docbook.dsl:${PORTSDIR}/textproc/dsssl-docbook-modular
+BUILD_DEPENDS= docbook2html:textproc/docbook-utils \
+ docbook-xml>0:textproc/docbook-xml \
+ ${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:textproc/docbook-xsl \
+ ${LOCALBASE}/share/sgml/docbook/dsssl/modular/html/docbook.dsl:textproc/dsssl-docbook-modular
USES= tar:bzip2
DATADIR= ${PREFIX}/share/qtiplot/manual
diff --git a/math/qtiplot/Makefile b/math/qtiplot/Makefile
index 2dd1e2f42691..004da44c8207 100644
--- a/math/qtiplot/Makefile
+++ b/math/qtiplot/Makefile
@@ -10,12 +10,12 @@ MASTER_SITES= BERLIOS http://soft.proindependent.com/src/
MAINTAINER= makc@FreeBSD.org
COMMENT= Data analysis and scientific plotting
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl \
- libmuparser.so:${PORTSDIR}/math/muparser \
- libpng.so:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libgsl.so:math/gsl \
+ libmuparser.so:math/muparser \
+ libpng.so:graphics/png
# use bundled modified libraries
-# qwt.5:${PORTSDIR}/x11-toolkits/qwt5 \
-# qwtplot3d-qt4:${PORTSDIR}/math/qwtplot3d-qt4
+# qwt.5:x11-toolkits/qwt5 \
+# qwtplot3d-qt4:math/qwtplot3d-qt4
USES= dos2unix gmake qmake tar:bzip2
USE_QT4= gui opengl svg qt3support network assistantclient \
@@ -33,12 +33,12 @@ OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
DOCS_DESC= Install the QtiPlot Handbook
-DOCS_RUN_DEPENDS= qtiplot-doc>=0:${PORTSDIR}/math/qtiplot-doc
+DOCS_RUN_DEPENDS= qtiplot-doc>=0:math/qtiplot-doc
DOCS_USE= QT4=assistant-adp_run
PYTHON_DESC= Python scripting support
PYTHON_USES= python
-PYTHON_BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
+PYTHON_BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:x11-toolkits/py-qt4-gui
PYTHON_RUN_DEPENDS:= ${PYTHON_BUILD_DEPENDS}
PYTHON_CONFIGURE_ENV= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} \
PYTHON_VERSION=${PYTHON_VERSION}
diff --git a/math/qtoctave/Makefile b/math/qtoctave/Makefile
index 8e892ee18c6e..2126755c22fb 100644
--- a/math/qtoctave/Makefile
+++ b/math/qtoctave/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://forja.rediris.es/frs/download.php/2054/
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt 4 frontend for Octave
-RUN_DEPENDS= octave:${PORTSDIR}/math/octave
+RUN_DEPENDS= octave:math/octave
USE_QT4= designer gui network script svg xml \
qmake_build moc_build rcc_build uic_build \
diff --git a/math/reduce/Makefile b/math/reduce/Makefile
index 081bbc92cd27..86c71c3ec27e 100644
--- a/math/reduce/Makefile
+++ b/math/reduce/Makefile
@@ -12,7 +12,7 @@ COMMENT= Portable general-purpose computer algebra system
LICENSE= BSD2CLAUSE
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+RUN_DEPENDS= gnuplot:math/gnuplot
USES= autoreconf:build gmake ncurses tar:bzip2
TARGET_SDIR= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
@@ -39,8 +39,8 @@ OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCSL}
-LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png \
- libtiff.so:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+= libpng.so:graphics/png \
+ libtiff.so:graphics/tiff
USES+= jpeg
CPPFLAGS+= `freetype-config --cflags`
LDFLAGS+= `freetype-config --libs`
diff --git a/math/rkward-kde4/Makefile b/math/rkward-kde4/Makefile
index ed8d40046720..6a554b203fdb 100644
--- a/math/rkward-kde4/Makefile
+++ b/math/rkward-kde4/Makefile
@@ -12,9 +12,9 @@ COMMENT= IDE/GUI for the R-project
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R
-RUN_DEPENDS= ${LOCALBASE}/bin/R:${PORTSDIR}/math/R \
- ${KDE4_PREFIX}/lib/kde4/katepart.so:${PORTSDIR}/editors/kate
+BUILD_DEPENDS= ${LOCALBASE}/bin/R:math/R
+RUN_DEPENDS= ${LOCALBASE}/bin/R:math/R \
+ ${KDE4_PREFIX}/lib/kde4/katepart.so:editors/kate
CONFLICTS= rkward-0.4.*
@@ -45,12 +45,12 @@ PLIST_SUB+= NLS=${NLS}
.if ${PORT_OPTIONS:MRECDEP}
LR_MOD_DIR= ${LOCALBASE}/lib/R/library
-RUN_DEPENDS+= ${LR_MOD_DIR}/R2HTML/INDEX:${PORTSDIR}/textproc/R-cran-R2HTML \
- ${LR_MOD_DIR}/XML/INDEX:${PORTSDIR}/textproc/R-cran-XML \
- ${LR_MOD_DIR}/mvtnorm/INDEX:${PORTSDIR}/math/R-cran-mvtnorm \
- ${LR_MOD_DIR}/outliers/INDEX:${PORTSDIR}/math/R-cran-outliers \
- ${LR_MOD_DIR}/tseries/INDEX:${PORTSDIR}/finance/R-cran-tseries \
- ${LR_MOD_DIR}/car/INDEX:${PORTSDIR}/math/R-cran-car
+RUN_DEPENDS+= ${LR_MOD_DIR}/R2HTML/INDEX:textproc/R-cran-R2HTML \
+ ${LR_MOD_DIR}/XML/INDEX:textproc/R-cran-XML \
+ ${LR_MOD_DIR}/mvtnorm/INDEX:math/R-cran-mvtnorm \
+ ${LR_MOD_DIR}/outliers/INDEX:math/R-cran-outliers \
+ ${LR_MOD_DIR}/tseries/INDEX:finance/R-cran-tseries \
+ ${LR_MOD_DIR}/car/INDEX:math/R-cran-car
.endif
pre-configure:
diff --git a/math/rocs/Makefile b/math/rocs/Makefile
index 4f986142f3de..0e9affa0b6b2 100644
--- a/math/rocs/Makefile
+++ b/math/rocs/Makefile
@@ -10,8 +10,8 @@ DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Graph theory IDE
-LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
- libgrantlee_gui.so:${PORTSDIR}/devel/grantlee
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
+ libgrantlee_gui.so:devel/grantlee
USE_KDE4= kdelibs kdeprefix automoc4
USES= cmake:outsource tar:xz
diff --git a/math/rpcalc/Makefile b/math/rpcalc/Makefile
index 463e0bdc3c60..92f62687fc06 100644
--- a/math/rpcalc/Makefile
+++ b/math/rpcalc/Makefile
@@ -13,8 +13,8 @@ COMMENT= Simple RPN calculator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:x11-toolkits/py-qt4-gui
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:x11-toolkits/py-qt4-gui
USES= python:3.3+
diff --git a/math/rpy/Makefile b/math/rpy/Makefile
index dd254903a782..013a5b7eb6ff 100644
--- a/math/rpy/Makefile
+++ b/math/rpy/Makefile
@@ -14,9 +14,9 @@ LICENSE= GPLv2 LGPL21 MPL
LICENSE_COMB= dual
BUILD_DEPENDS= ${PYNUMPY} \
- R:${PORTSDIR}/math/R
+ R:math/R
RUN_DEPENDS= ${PYNUMPY} \
- R:${PORTSDIR}/math/R
+ R:math/R
USES= python
USE_PYTHON= distutils autoplist
diff --git a/math/rpy2/Makefile b/math/rpy2/Makefile
index 84a73ef6b82e..29fe042d546f 100644
--- a/math/rpy2/Makefile
+++ b/math/rpy2/Makefile
@@ -12,9 +12,9 @@ COMMENT= Python interface to the R Programming Language
LICENSE= GPLv2+
BUILD_DEPENDS= ${PYNUMPY} \
- R:${PORTSDIR}/math/R
+ R:math/R
RUN_DEPENDS= ${PYNUMPY} \
- R:${PORTSDIR}/math/R
+ R:math/R
USES= python readline
USE_GCC= yes
diff --git a/math/rubygem-fftw3/Makefile b/math/rubygem-fftw3/Makefile
index 0e2cf7a89779..c947eb8575b0 100644
--- a/math/rubygem-fftw3/Makefile
+++ b/math/rubygem-fftw3/Makefile
@@ -9,8 +9,8 @@ MASTER_SITES= RG
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Ruby interface to the FFTW ver.3
-RUN_DEPENDS= rubygem-narray>0:${PORTSDIR}/math/rubygem-narray
-LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+RUN_DEPENDS= rubygem-narray>0:math/rubygem-narray
+LIB_DEPENDS= libfftw3.so:math/fftw3
USE_RUBY= yes
USE_RAKE= yes
diff --git a/math/rubygem-narray_miss/Makefile b/math/rubygem-narray_miss/Makefile
index 213620a1e1f6..2c42a0de96f8 100644
--- a/math/rubygem-narray_miss/Makefile
+++ b/math/rubygem-narray_miss/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= RG
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Additional class with processing of missing value to NArray
-RUN_DEPENDS= rubygem-narray>0:${PORTSDIR}/math/rubygem-narray
+RUN_DEPENDS= rubygem-narray>0:math/rubygem-narray
USE_RUBY= yes
USE_RAKE= yes
diff --git a/math/rubygem-numru-misc/Makefile b/math/rubygem-numru-misc/Makefile
index ac44e2c8a7f5..408bef80c44b 100644
--- a/math/rubygem-numru-misc/Makefile
+++ b/math/rubygem-numru-misc/Makefile
@@ -9,8 +9,8 @@ MASTER_SITES= RG
MAINTAINER= murashin@gfd-dennou.org
COMMENT= Miscellaneous functions and classes to help Ruby programming
-RUN_DEPENDS= rubygem-narray>0:${PORTSDIR}/math/rubygem-narray \
- rubygem-narray_miss>0:${PORTSDIR}/math/rubygem-narray_miss
+RUN_DEPENDS= rubygem-narray>0:math/rubygem-narray \
+ rubygem-narray_miss>0:math/rubygem-narray_miss
USE_RUBY= yes
USE_RAKE= yes
diff --git a/math/rubygem-rb-gsl/Makefile b/math/rubygem-rb-gsl/Makefile
index 200a7146f23b..1d57b54f12bf 100644
--- a/math/rubygem-rb-gsl/Makefile
+++ b/math/rubygem-rb-gsl/Makefile
@@ -11,8 +11,8 @@ COMMENT= Ruby extension library for GSL (GNU Scientific Library)
LICENSE= GPLv2
-LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
-RUN_DEPENDS= rubygem-narray>=0.5.9:${PORTSDIR}/math/rubygem-narray
+LIB_DEPENDS= libgsl.so:math/gsl
+RUN_DEPENDS= rubygem-narray>=0.5.9:math/rubygem-narray
USE_RUBY= yes
USE_RUBYGEMS= yes
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 10f23251362c..61c890f6c866 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -13,15 +13,15 @@ COMMENT= System for Automated Geoscientific Analyses
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
-BUILD_DEPENDS= swig3.0:${PORTSDIR}/devel/swig30
-LIB_DEPENDS= libproj.so:${PORTSDIR}/graphics/proj \
- libgdal.so:${PORTSDIR}/graphics/gdal \
- libhpdf.so:${PORTSDIR}/print/libharu \
- libjasper.so:${PORTSDIR}/graphics/jasper \
- libtiff.so:${PORTSDIR}/graphics/tiff \
- libodbc.so:${PORTSDIR}/databases/unixODBC \
- liblas.so:${PORTSDIR}/devel/liblas12 \
- libopencv_ml.so:${PORTSDIR}/graphics/opencv
+BUILD_DEPENDS= swig3.0:devel/swig30
+LIB_DEPENDS= libproj.so:graphics/proj \
+ libgdal.so:graphics/gdal \
+ libhpdf.so:print/libharu \
+ libjasper.so:graphics/jasper \
+ libtiff.so:graphics/tiff \
+ libodbc.so:databases/unixODBC \
+ liblas.so:devel/liblas12 \
+ libopencv_ml.so:graphics/opencv
RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFIGURE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
@@ -53,8 +53,8 @@ OPENMP_LDFLAGS= -pthread
PGSQL_CONFIGURE_OFF= --with-postgresql=no
PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}/bin/pg_config
PGSQL_USES= pgsql
-VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra
-VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra
+VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra
+VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra
.include <bsd.port.pre.mk>
diff --git a/math/sage/Makefile b/math/sage/Makefile
index fac16cd06f94..6fdcf06a5172 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -17,14 +17,14 @@ COMMENT= Open source Mathematics software
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
- convert:${PORTSDIR}/graphics/ImageMagick \
- ffmpeg:${PORTSDIR}/multimedia/ffmpeg \
- automake:${PORTSDIR}/devel/automake \
- autoconf:${PORTSDIR}/devel/autoconf
-LIB_DEPENDS= libatlas.so:${PORTSDIR}/math/atlas \
- liblapack.so:${PORTSDIR}/math/lapack
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= bash:shells/bash \
+ convert:graphics/ImageMagick \
+ ffmpeg:multimedia/ffmpeg \
+ automake:devel/automake \
+ autoconf:devel/autoconf
+LIB_DEPENDS= libatlas.so:math/atlas \
+ liblapack.so:math/lapack
+RUN_DEPENDS= bash:shells/bash
pre-extract:
@${ECHO_MSG}
diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile
index b6af492aad07..65758c3c931f 100644
--- a/math/scalapack/Makefile
+++ b/math/scalapack/Makefile
@@ -45,12 +45,12 @@ DISTFILES+= scalapack_install.ps scalapackqref.ps \
WITH_ATLAS= yes
.endif
.if defined(WITH_ATLAS)
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS= -lf77blas
LAPACK= -lalapack -lcblas
.else
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
+LIB_DEPENDS+= libblas.so:math/blas
+LIB_DEPENDS+= liblapack.so:math/lapack
BLAS= -lblas
LAPACK= -llapack
.endif
@@ -60,12 +60,12 @@ WITH_OPENMPI= yes
.endif
.if defined(WITH_OPENMPI)
-BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
-RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
+BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi
+RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:net/openmpi
.else
-#LIB_DEPENDS+= libmpich.so:${PORTSDIR}/net/mpich2
-BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
-RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
+#LIB_DEPENDS+= libmpich.so:net/mpich2
+BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:net/mpich2
+RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:net/mpich2
.endif
.if ${ARCH} == "sparc64" || ${ARCH} == "amd64"
diff --git a/math/scilab-toolbox-sivp/Makefile b/math/scilab-toolbox-sivp/Makefile
index 3f23c6e16b1c..ccf9d65ab19e 100644
--- a/math/scilab-toolbox-sivp/Makefile
+++ b/math/scilab-toolbox-sivp/Makefile
@@ -10,9 +10,9 @@ PKGNAMEPREFIX= scilab-toolbox-
MAINTAINER= makc@FreeBSD.org
COMMENT= Scilab Image and Video Processing Toolbox
-BUILD_DEPENDS= ${SCILAB_CMD}:${PORTSDIR}/math/scilab
-LIB_DEPENDS= libopencv_legacy.so:${PORTSDIR}/graphics/opencv
-RUN_DEPENDS= ${SCILAB_CMD}:${PORTSDIR}/math/scilab
+BUILD_DEPENDS= ${SCILAB_CMD}:math/scilab
+LIB_DEPENDS= libopencv_legacy.so:graphics/opencv
+RUN_DEPENDS= ${SCILAB_CMD}:math/scilab
USES= dos2unix pkgconfig tar:xz
DOS2UNIX_FILES= etc/SIVP.start \
diff --git a/math/scilab-toolbox-swt/Makefile b/math/scilab-toolbox-swt/Makefile
index 08bf519dded6..4b09c17dd09a 100644
--- a/math/scilab-toolbox-swt/Makefile
+++ b/math/scilab-toolbox-swt/Makefile
@@ -11,7 +11,7 @@ DISTFILES= ${DISTNAME}-3-src${EXTRACT_SUFX}
MAINTAINER= makc@FreeBSD.org
COMMENT= Scilab 1-D and 2-D Wavelet Toolbox
-BUILD_DEPENDS= ${SCILAB_CMD}:${PORTSDIR}/math/scilab
+BUILD_DEPENDS= ${SCILAB_CMD}:math/scilab
RUN_DEPENDS:= ${BUILD_DEPENDS}
SCILAB_CMD= ${LOCALBASE}/bin/scilab-adv-cli
@@ -30,7 +30,7 @@ OPTIONS_SUB= yes
HELP_DESC= Build help files (requires scilab with gui support)
SIVP_DESC= Enable Image and Video support
-SIVP_RUN_DEPENDS= ${LOCALBASE}/${CONTRIBDIR}/sivp/loader.sce:${PORTSDIR}/math/scilab-toolbox-sivp
+SIVP_RUN_DEPENDS= ${LOCALBASE}/${CONTRIBDIR}/sivp/loader.sce:math/scilab-toolbox-sivp
WRKSRC= ${WRKDIR}/swt
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 7388afbc4cc4..b59abf3181d4 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -12,15 +12,15 @@ COMMENT= Scientific software package for numerical computations
# A partial dependencies list can be found at:
# http://wiki.scilab.org/Dependencies_of_Scilab_5.X
-LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
- libpcre.so:${PORTSDIR}/devel/pcre \
- libcurl.so:${PORTSDIR}/ftp/curl \
- libhdf5.so:${PORTSDIR}/science/hdf5 \
- libarpack.so:${PORTSDIR}/math/arpack \
- libfftw3.so:${PORTSDIR}/math/fftw3 \
- libmatio.so:${PORTSDIR}/math/matio \
- libamd.so:${PORTSDIR}/math/suitesparse
-RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
+LIB_DEPENDS= libxml2.so:textproc/libxml2 \
+ libpcre.so:devel/pcre \
+ libcurl.so:ftp/curl \
+ libhdf5.so:science/hdf5 \
+ libarpack.so:math/arpack \
+ libfftw3.so:math/fftw3 \
+ libmatio.so:math/matio \
+ libamd.so:math/suitesparse
+RUN_DEPENDS= xdg-open:devel/xdg-utils
USES= cpe desktop-file-utils fortran gettext gmake iconv \
libtool pathfix pkgconfig shared-mime-info
@@ -52,39 +52,39 @@ GUI_DESC= Java-based Graphical User Interface
OCAML_DESC= Scicos - dynamical system simulator (requires GUI)
# Java dependencies:
-_GUI_DEPENDS+= ${JAVALIBDIR}/flexdock.jar:${PORTSDIR}/devel/flexdock \
- ${JAVALIBDIR}/jogl2.jar:${PORTSDIR}/graphics/jogamp-jogl \
- foprep:${PORTSDIR}/math/jeuclid \
- ${JAVALIBDIR}/jhall.jar:${PORTSDIR}/java/javahelp \
- ${JAVALIBDIR}/jrosetta-api.jar:${PORTSDIR}/java/jrosetta \
- ${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
- ${JAVALIBDIR}/jgraphx.jar:${PORTSDIR}/java/jgraphx \
- ${JAVALIBDIR}/jlatexmath.jar:${PORTSDIR}/math/jlatexmath \
- ${LOCALBASE}/share/java/ecj-4.5.jar:${PORTSDIR}/lang/gcc-ecj45
+_GUI_DEPENDS+= ${JAVALIBDIR}/flexdock.jar:devel/flexdock \
+ ${JAVALIBDIR}/jogl2.jar:graphics/jogamp-jogl \
+ foprep:math/jeuclid \
+ ${JAVALIBDIR}/jhall.jar:java/javahelp \
+ ${JAVALIBDIR}/jrosetta-api.jar:java/jrosetta \
+ ${JAVALIBDIR}/commons-logging.jar:java/jakarta-commons-logging \
+ ${JAVALIBDIR}/jgraphx.jar:java/jgraphx \
+ ${JAVALIBDIR}/jlatexmath.jar:math/jlatexmath \
+ ${LOCALBASE}/share/java/ecj-4.5.jar:lang/gcc-ecj45
# Documentation, graphic export:
-_GUI_DEPENDS+= ${LOCALBASE}/share/java/fop/build/fop.jar:${PORTSDIR}/textproc/fop \
- ${JAVALIBDIR}/jlatexmath-fop.jar:${PORTSDIR}/math/jlatexmath \
- ${LOCALBASE}/share/java/batik/lib/batik-all.jar:${PORTSDIR}/graphics/batik \
- ${JAVALIBDIR}/avalon-framework.jar:${PORTSDIR}/devel/avalon-framework \
- ${JAVALIBDIR}/commons-io.jar:${PORTSDIR}/devel/jakarta-commons-io \
- ${JAVALIBDIR}/xmlgraphics-commons.jar:${PORTSDIR}/graphics/xmlgraphics-commons
+_GUI_DEPENDS+= ${LOCALBASE}/share/java/fop/build/fop.jar:textproc/fop \
+ ${JAVALIBDIR}/jlatexmath-fop.jar:math/jlatexmath \
+ ${LOCALBASE}/share/java/batik/lib/batik-all.jar:graphics/batik \
+ ${JAVALIBDIR}/avalon-framework.jar:devel/avalon-framework \
+ ${JAVALIBDIR}/commons-io.jar:devel/jakarta-commons-io \
+ ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons
# Code quality:
-_GUI_DEPENDS+= ${JAVALIBDIR}/commons-beanutils.jar:${PORTSDIR}/java/jakarta-commons-beanutils \
- ${JAVALIBDIR}/antlr.jar:${PORTSDIR}/devel/antlr \
- ${JAVALIBDIR}/junit4.jar:${PORTSDIR}/java/junit \
- ${LOCALBASE}/bin/splint:${PORTSDIR}/devel/splint
+_GUI_DEPENDS+= ${JAVALIBDIR}/commons-beanutils.jar:java/jakarta-commons-beanutils \
+ ${JAVALIBDIR}/antlr.jar:devel/antlr \
+ ${JAVALIBDIR}/junit4.jar:java/junit \
+ ${LOCALBASE}/bin/splint:devel/splint
# Documentation building:
-_GUI_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:${PORTSDIR}/textproc/docbook-xsl \
- ${JAVALIBDIR}/saxon9he.jar:${PORTSDIR}/textproc/saxon-he \
- ${JAVALIBDIR}/xml-apis-ext.jar:${PORTSDIR}/textproc/xml-commons \
- xsltproc:${PORTSDIR}/textproc/libxslt
+_GUI_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:textproc/docbook-xsl \
+ ${JAVALIBDIR}/saxon9he.jar:textproc/saxon-he \
+ ${JAVALIBDIR}/xml-apis-ext.jar:textproc/xml-commons \
+ xsltproc:textproc/libxslt
# Other gui deps:
-_GUI_DEPENDS+= ${JAVALIBDIR}/looks.jar:${PORTSDIR}/devel/looks \
- ${JAVALIBDIR}/skinlf.jar:${PORTSDIR}/x11-toolkits/skinlf
+_GUI_DEPENDS+= ${JAVALIBDIR}/looks.jar:devel/looks \
+ ${JAVALIBDIR}/skinlf.jar:x11-toolkits/skinlf
# Can't use USE_ANT because it overrides do-build target
GUI_BUILD_DEPENDS= ${_GUI_DEPENDS} \
- ant:${PORTSDIR}/devel/apache-ant
+ ant:devel/apache-ant
GUI_RUN_DEPENDS= ${_GUI_DEPENDS}
GUI_ALL_TARGET= all doc
@@ -100,8 +100,8 @@ GUI_CONFIGURE_OFF= --without-gui \
OCAML_IMPLIES= GUI
OCAML_CONFIGURE_WITH= modelica
-OCAML_BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
-OCAML_RUN_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
+OCAML_BUILD_DEPENDS= ocaml:lang/ocaml
+OCAML_RUN_DEPENDS= ocaml:lang/ocaml
TK_CONFIGURE_OFF= --without-tk
TK_CONFIGURE_ON= --with-tk-library=${LOCALBASE}/lib \
diff --git a/math/sdpara/Makefile b/math/sdpara/Makefile
index 8ffae8d53b94..a025955524de 100644
--- a/math/sdpara/Makefile
+++ b/math/sdpara/Makefile
@@ -13,9 +13,9 @@ COMMENT= SDPARA parallel version of SDPA (math/sdpa)
LICENSE= GPLv2 # (or later)
-LIB_DEPENDS= libblacs.so:${PORTSDIR}/math/blacs \
- libscalapack.so:${PORTSDIR}/math/scalapack \
- libmpich.so:${PORTSDIR}/net/mpich2
+LIB_DEPENDS= libblacs.so:math/blacs \
+ libscalapack.so:math/scalapack \
+ libmpich.so:net/mpich2
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
diff --git a/math/sfft/Makefile b/math/sfft/Makefile
index c60a0db11d36..5398706b1753 100644
--- a/math/sfft/Makefile
+++ b/math/sfft/Makefile
@@ -14,7 +14,7 @@ COMMENT= Optimized Sparse Fast Fourier Transform
LICENSE= GPLv2
-LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+LIB_DEPENDS= libfftw3.so:math/fftw3
USES= uidfix zip
USE_GCC= yes
@@ -49,7 +49,7 @@ appropriately
LIBM= -lm
.if ${OSVERSION} < 1000034
-LIB_DEPENDS+= libmissing.so:${PORTSDIR}/math/libmissing
+LIB_DEPENDS+= libmissing.so:math/libmissing
LIBM+= -lmissing
.endif
diff --git a/math/slgrace/Makefile b/math/slgrace/Makefile
index 896ef0e9a122..eaad7433e0a2 100644
--- a/math/slgrace/Makefile
+++ b/math/slgrace/Makefile
@@ -13,8 +13,8 @@ COMMENT= SLang module to plot graphs with grace
LICENSE= GPLv2
-LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2
-RUN_DEPENDS= grace:${PORTSDIR}/math/grace
+LIB_DEPENDS= libslang.so:devel/libslang2
+RUN_DEPENDS= grace:math/grace
OPTIONS_DEFINE= DOCS
diff --git a/math/snns/Makefile b/math/snns/Makefile
index 9acd7b7469f6..0ac9205e9a8d 100644
--- a/math/snns/Makefile
+++ b/math/snns/Makefile
@@ -11,7 +11,7 @@ DISTNAME= SNNSv${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fully featured neural network simulator
-LIB_DEPENDS= libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
+LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
USE_XORG= x11 xext xt
HAS_CONFIGURE= yes
diff --git a/math/spooles/Makefile b/math/spooles/Makefile
index 14b32347ab23..755372729346 100644
--- a/math/spooles/Makefile
+++ b/math/spooles/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= maho@FreeBSD.org
COMMENT= SParse Object Oriented Linear Equations Solver
.if defined(WITH_MPI)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libmpich.a:${PORTSDIR}/net/mpich2
+BUILD_DEPENDS= ${LOCALBASE}/lib/libmpich.a:net/mpich2
.endif
USES= gmake tar:tgz
diff --git a/math/stp/Makefile b/math/stp/Makefile
index df578ff61dbf..335e7a9fa411 100644
--- a/math/stp/Makefile
+++ b/math/stp/Makefile
@@ -12,8 +12,8 @@ COMMENT= Decision Procedure for Bitvectors and Arrays
LICENSE= MIT
-LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs \
- libboost_system.so:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \
+ libboost_system.so:devel/boost-libs
USES= bison:build cmake perl5 tar:xz
USE_PERL5= build
@@ -22,7 +22,7 @@ CMAKE_ARGS= -DFL_LIBRARY=/usr/lib/libfl.a
.include <bsd.port.pre.mk>
.if (${OSVERSION} < 1000000)
-BUILD_DEPENDS+=flex>=2.5.38:${PORTSDIR}/textproc/flex
+BUILD_DEPENDS+=flex>=2.5.38:textproc/flex
CMAKE_ARGS+= -DFL_LIBRARY=${LOCALBASE}/lib/libfl.a \
-DFLEX_INCLUDE_DIR=${LOCALBASE}/include/flex \
-DFLEX_EXECUTABLE=${LOCALBASE}/bin/flex
diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile
index ab05bcda2e12..f3507a876f62 100644
--- a/math/suitesparse/Makefile
+++ b/math/suitesparse/Makefile
@@ -25,7 +25,7 @@ NETLIB_USES= blaslapack:netlib
ATLAS_USES= blaslapack:atlas
.if defined (WITH_METIS)
-LIB_DEPENDS= libmetis.so:${PORTSDIR}/math/metis4
+LIB_DEPENDS= libmetis.so:math/metis4
RESTRICTED= GPL and METIS licenses are contradictory
.endif
diff --git a/math/superlu_mt/Makefile b/math/superlu_mt/Makefile
index 6ac91cd15e4e..78b81faeb66c 100644
--- a/math/superlu_mt/Makefile
+++ b/math/superlu_mt/Makefile
@@ -30,14 +30,14 @@ WITH_BLAS?= reference
.endif
.if ${WITH_BLAS} == reference
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= libblas.so:math/blas
BLAS= -lblas
.elif ${WITH_BLAS} == gotoblas
-LIB_DEPENDS+= libgoto2.so:${PORTSDIR}/math/gotoblas
+LIB_DEPENDS+= libgoto2.so:math/gotoblas
BLAS= -lgoto2p
BROKEN= Build stops while testing
.elif ${WITH_BLAS} == atlas
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS= -lptf77blas
.endif
diff --git a/math/surf/Makefile b/math/surf/Makefile
index 2cb6a24770e8..4482842ead21 100644
--- a/math/surf/Makefile
+++ b/math/surf/Makefile
@@ -12,8 +12,8 @@ COMMENT= Visualize some real algebraic geometry
LICENSE= GPLv2
-LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
- libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libtiff.so:graphics/tiff \
+ libgmp.so:math/gmp
USES= jpeg
USE_XORG= x11 xmu
diff --git a/math/tablix/Makefile b/math/tablix/Makefile
index 6dfd7d4421cf..1b9a6c91a95d 100644
--- a/math/tablix/Makefile
+++ b/math/tablix/Makefile
@@ -11,8 +11,8 @@ MASTER_SITES= http://www.tablix.org/releases/stable/ \
MAINTAINER= amir.husaini@gmail.com
COMMENT= Free software for solving timetabling problems
-BUILD_DEPENDS= pvm:${PORTSDIR}/net/pvm
-RUN_DEPENDS= pvm:${PORTSDIR}/net/pvm
+BUILD_DEPENDS= pvm:net/pvm
+RUN_DEPENDS= pvm:net/pvm
PVM_ROOT= ${LOCALBASE}/lib/pvm
diff --git a/math/taucs/Makefile b/math/taucs/Makefile
index 2a64cd5a6f2a..5ad86ef1023e 100644
--- a/math/taucs/Makefile
+++ b/math/taucs/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= bf@FreeBSD.org
COMMENT= C library of sparse linear solvers
-LIB_DEPENDS= libmetis.so:${PORTSDIR}/math/metis4
+LIB_DEPENDS= libmetis.so:math/metis4
HAS_CONFIGURE= yes
USES= fortran tar:tgz
@@ -37,12 +37,12 @@ WITH_BLAS?= reference
.endif
.if ${WITH_BLAS} == atlas
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+LIB_DEPENDS+= libatlas.so:math/atlas
BLAS= -lf77blas
LAPACK= -lalapack -lcblas
.elif ${WITH_BLAS} == reference
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+= liblapack.so:math/lapack
+LIB_DEPENDS+= libblas.so:math/blas
BLAS= -lblas
LAPACK= -llapack
.endif
diff --git a/math/testu01/Makefile b/math/testu01/Makefile
index 209c5fe21ba1..107e70c62ea3 100644
--- a/math/testu01/Makefile
+++ b/math/testu01/Makefile
@@ -13,7 +13,7 @@ EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
MAINTAINER= bf@FreeBSD.org
COMMENT= Utilities for statistical testing of uniform random number generators
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake zip libtool
GNU_CONFIGURE= yes
diff --git a/math/timbl/Makefile b/math/timbl/Makefile
index 83b78f29198c..c7b2d56d63b3 100644
--- a/math/timbl/Makefile
+++ b/math/timbl/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://ilk.uvt.nl/downloads/pub/software/
MAINTAINER= yuri@tsoft.com
COMMENT= Tilburg Memory Based Learner
-LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
+LIB_DEPENDS= libxml2.so:textproc/libxml2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/math/trlan/Makefile b/math/trlan/Makefile
index 68382285b015..39c02fabb601 100644
--- a/math/trlan/Makefile
+++ b/math/trlan/Makefile
@@ -71,8 +71,8 @@ do-install:
.if defined(MAINTAINER_MODE)
-BUILD_DEPENDS += ${LOCALBASE}/lib/libblas.so.2:${PORTSDIR}/math/blas \
- ${LOCALBASE}/lib/liblapack.so.4:${PORTSDIR}/math/lapack
+BUILD_DEPENDS += ${LOCALBASE}/lib/libblas.so.2:math/blas \
+ ${LOCALBASE}/lib/liblapack.so.4:math/lapack
BLAS?= -L${LOCALBASE}/lib -lblas
LAPACK?= -L${LOCALBASE}/lib -llapack
diff --git a/math/tvmet/Makefile b/math/tvmet/Makefile
index 0486b3b1ad4c..79e388b6e79c 100644
--- a/math/tvmet/Makefile
+++ b/math/tvmet/Makefile
@@ -22,7 +22,7 @@ CONFIGURE_ARGS= --with-cxx=${CXX}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCPPUNIT}
-LIB_DEPENDS+= libcppunit.so:${PORTSDIR}/devel/cppunit
+LIB_DEPENDS+= libcppunit.so:devel/cppunit
CONFIGURE_ARGS+= --with-cppunit-prefix=${LOCALBASE}
.else
CONFIGURE_ENV+= ac_cv_path_CPPUNIT_CONFIG=no
diff --git a/math/ufc/Makefile b/math/ufc/Makefile
index 70be3c5b11c6..e19453f6e229 100644
--- a/math/ufc/Makefile
+++ b/math/ufc/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= http://launchpad.net/${PORTNAME}/${MMVERSION}.x/${PORTVERSION}/+do
MAINTAINER= bacon4000@gmail.com
COMMENT= Unified framework for finite element assembly
-BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20
-LIB_DEPENDS= libboost_math_c99.so:${PORTSDIR}/devel/boost-libs
+BUILD_DEPENDS= swig2.0:devel/swig20
+LIB_DEPENDS= libboost_math_c99.so:devel/boost-libs
# LICENSE= public domain
diff --git a/math/unuran/Makefile b/math/unuran/Makefile
index 775858da23c9..2a81a3f17848 100644
--- a/math/unuran/Makefile
+++ b/math/unuran/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://statmath.wu-wien.ac.at/unuran/ \
MAINTAINER= bf@FreeBSD.org
COMMENT= Universal Non-Uniform RANdom number generators
-LIB_DEPENDS= librngstreams.so:${PORTSDIR}/math/rngstreams
+LIB_DEPENDS= librngstreams.so:math/rngstreams
LICENSE= GPLv2
USES= gmake libtool
diff --git a/math/vowpal_wabbit/Makefile b/math/vowpal_wabbit/Makefile
index 401b060a0dda..10563e6f51d8 100644
--- a/math/vowpal_wabbit/Makefile
+++ b/math/vowpal_wabbit/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= math
MAINTAINER= demon@FreeBSD.org
COMMENT= Fast out-of-core learning system
-LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
BROKEN_FreeBSD_9= does not build
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index d9daa0d1eeef..bb86d483caf8 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -14,9 +14,9 @@ COMMENT= The Visualization Toolkit
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/Copyright.txt
-LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \
- libpng.so:${PORTSDIR}/graphics/png \
- libtiff.so:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS= libexpat.so:textproc/expat2 \
+ libpng.so:graphics/png \
+ libtiff.so:graphics/tiff
WRKSRC= ${WRKDIR}/VTK${PORTVERSION}
@@ -80,7 +80,7 @@ PLIST_SUB+= SHARED="@comment " \
.endif
.if ${PORT_OPTIONS:MVTKMPEG2}
-LIB_DEPENDS+= libvtkMPEG2Encode.so:${PORTSDIR}/multimedia/vtkmpeg2encode
+LIB_DEPENDS+= libvtkMPEG2Encode.so:multimedia/vtkmpeg2encode
PLIST_SUB+= MPEG=""
CMAKE_ARGS+= -DVTK_USE_PATENTED:BOOL=ON \
-DVTK_USE_MPEG2_ENCODER:BOOL=ON \
@@ -91,8 +91,8 @@ PLIST_SUB+= MPEG="@comment "
.endif
.if ${PORT_OPTIONS:MTHEORA}
-LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg \
- libtheora.so:${PORTSDIR}/multimedia/libtheora
+LIB_DEPENDS+= libogg.so:audio/libogg \
+ libtheora.so:multimedia/libtheora
PLIST_SUB+= THEORA=""
CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON
.else
@@ -101,7 +101,7 @@ CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=OFF
.endif
.if ${PORT_OPTIONS:MGL2PS}
-LIB_DEPENDS+= libgl2ps.so:${PORTSDIR}/print/gl2ps
+LIB_DEPENDS+= libgl2ps.so:print/gl2ps
CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON
PLIST_SUB+= GL2PS=""
.else
@@ -109,7 +109,7 @@ PLIST_SUB+= GL2PS="@comment "
.endif
.if ${PORT_OPTIONS:MOSMESA}
-LIB_DEPENDS+= libOSMesa.so:${PORTSDIR}/graphics/libosmesa
+LIB_DEPENDS+= libOSMesa.so:graphics/libosmesa
CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
-DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \
-DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \
diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile
index b88b7d59de5d..af06336ff382 100644
--- a/math/vtk6/Makefile
+++ b/math/vtk6/Makefile
@@ -14,10 +14,10 @@ COMMENT= The Visualization Toolkit
LICENSE= BSD3CLAUSE
-LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
- libpng.so:${PORTSDIR}/graphics/png \
- libfreetype.so:${PORTSDIR}/print/freetype2 \
- libexpat.so:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libtiff.so:graphics/tiff \
+ libpng.so:graphics/png \
+ libfreetype.so:print/freetype2 \
+ libexpat.so:textproc/expat2
#
# TODO
@@ -99,7 +99,7 @@ CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF
.endfor
.if ${PORT_OPTIONS:MOSMESA}
-LIB_DEPENDS+= libOSMesa.so:${PORTSDIR}/graphics/libosmesa
+LIB_DEPENDS+= libOSMesa.so:graphics/libosmesa
CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
-DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \
-DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \
@@ -118,7 +118,7 @@ CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=ON
.endif
.if ${PORT_OPTIONS:MMPI}
-LIB_DEPENDS+= libmpi.so:${PORTSDIR}/net/openmpi
+LIB_DEPENDS+= libmpi.so:net/openmpi
CMAKE_ARGS+= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec
PLIST_SUB+= MPI=""
.else
@@ -184,7 +184,7 @@ CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=ON \
-DModule_vtkRenderingMatplotlib:BOOL=ON \
-DModule_vtkPythonInterpreter:BOOL=ON
PLIST_SUB+= PYTHON=""
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:${PORTSDIR}/math/py-matplotlib
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib
.else
CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=OFF
PLIST_SUB+= PYTHON="@comment "
@@ -212,7 +212,7 @@ PLIST_SUB+= WRAP="@comment "
.if ${PORT_OPTIONS:MDOCS}
CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON
-BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
+BUILD_DEPENDS+= doxygen:devel/doxygen
.else
CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=OFF
.endif
diff --git a/math/wcalc/Makefile b/math/wcalc/Makefile
index ea570f29de1e..3077ec972417 100644
--- a/math/wcalc/Makefile
+++ b/math/wcalc/Makefile
@@ -11,8 +11,8 @@ COMMENT= Natural-expression command-line calculator
LICENSE= GPLv2
-LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
- libmpfr.so:${PORTSDIR}/math/mpfr
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libmpfr.so:math/mpfr
USES= localbase readline
diff --git a/math/why3-spark/Makefile b/math/why3-spark/Makefile
index 4b6b8ffe87fb..4a271a1b7771 100644
--- a/math/why3-spark/Makefile
+++ b/math/why3-spark/Makefile
@@ -17,13 +17,13 @@ LICENSE_COMB= multi
BROKEN= broken by recent updated to an ocaml dependency
-BUILD_DEPENDS= menhir:${PORTSDIR}/devel/menhir \
- ocaml-zip>1:${PORTSDIR}/archivers/ocaml-zip \
- ocaml-zarith>1.2:${PORTSDIR}/math/ocaml-zarith \
- lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
- ocaml-sqlite3>2:${PORTSDIR}/databases/ocaml-sqlite3 \
- ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph \
- camlp5o:${PORTSDIR}/devel/ocaml-camlp5
+BUILD_DEPENDS= menhir:devel/menhir \
+ ocaml-zip>1:archivers/ocaml-zip \
+ ocaml-zarith>1.2:math/ocaml-zarith \
+ lablgtk2:x11-toolkits/ocaml-lablgtk2 \
+ ocaml-sqlite3>2:databases/ocaml-sqlite3 \
+ ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph \
+ camlp5o:devel/ocaml-camlp5
USES= gmake
USE_OCAML= yes
diff --git a/math/why3/Makefile b/math/why3/Makefile
index 453515dbb17e..b3df4aada4cb 100644
--- a/math/why3/Makefile
+++ b/math/why3/Makefile
@@ -16,11 +16,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= why3-gpl-*
-BUILD_DEPENDS= ocaml-zarith>1.2:${PORTSDIR}/math/ocaml-zarith \
- lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
- ocaml-sqlite3>2:${PORTSDIR}/databases/ocaml-sqlite3 \
- ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph \
- camlp5o:${PORTSDIR}/devel/ocaml-camlp5
+BUILD_DEPENDS= ocaml-zarith>1.2:math/ocaml-zarith \
+ lablgtk2:x11-toolkits/ocaml-lablgtk2 \
+ ocaml-sqlite3>2:databases/ocaml-sqlite3 \
+ ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph \
+ camlp5o:devel/ocaml-camlp5
GNU_CONFIGURE= yes
INSTALL_TARGET= install-all
@@ -48,8 +48,8 @@ OPTIONS_DEFINE= DOCS
# also removed from ALL_TARGET
#
#DOCS_CONFIGURE_ENABLE= doc
-#DOCS_BUILD_DEPENDS= rubber:${PORTSDIR}/textproc/rubber \
-# hevea:${PORTSDIR}/textproc/hevea
+#DOCS_BUILD_DEPENDS= rubber:textproc/rubber \
+# hevea:textproc/hevea
MAKE_JOBS_UNSAFE= yes
diff --git a/math/wxMaxima/Makefile b/math/wxMaxima/Makefile
index 9c155dce8c2c..aaf03183a3e6 100644
--- a/math/wxMaxima/Makefile
+++ b/math/wxMaxima/Makefile
@@ -13,7 +13,7 @@ COMMENT= WxWidgets GUI for the computer algebra system maxima
LICENSE= GPLv2
-RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
+RUN_DEPENDS= maxima:math/maxima
CONFIGURE_ARGS= --program-prefix=
diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile
index 75a9037484a9..9323947c445a 100644
--- a/math/xldlas/Makefile
+++ b/math/xldlas/Makefile
@@ -11,7 +11,7 @@ EXTRACT_SUFX= -source.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= XForms-based statistics package
-LIB_DEPENDS= libforms.so:${PORTSDIR}/x11-toolkits/xforms
+LIB_DEPENDS= libforms.so:x11-toolkits/xforms
WRKSRC= ${WRKDIR}/xldlas
diff --git a/math/xspread/Makefile b/math/xspread/Makefile
index 7aa94f5f1b59..2d2e543e8076 100644
--- a/math/xspread/Makefile
+++ b/math/xspread/Makefile
@@ -29,7 +29,7 @@ PLIST_FILES= bin/pxspread bin/xspread man/man1/pxspread.1.gz \
OPTIONS_DEFINE= X11 DOCS
X11_USE= XORG=x11,xau,xcb,xdmcp,xt
-X11_LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
+X11_LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs
X11_USES= localbase
X11_CONFIGURE_ENV_OFF= ac_cv_header_X11_X_h=no
diff --git a/math/yacas/Makefile b/math/yacas/Makefile
index 1735947f49dc..41ae1330c852 100644
--- a/math/yacas/Makefile
+++ b/math/yacas/Makefile
@@ -12,7 +12,7 @@ COMMENT= Yet Another Computer Algebra System
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-TEST_DEPENDS= bash:${PORTSDIR}/shells/bash
+TEST_DEPENDS= bash:shells/bash
USES= cmake:outsource compiler:c++11-lib
USE_LDCONFIG= yes
diff --git a/math/z3/Makefile b/math/z3/Makefile
index d0ea54b973da..273645320707 100644
--- a/math/z3/Makefile
+++ b/math/z3/Makefile
@@ -28,7 +28,7 @@ GMP_DESC= Use GMP library for AP arithmetic
GMP_CONFIGURE_ON= --gmp
GMP_CXXFLAGS= -I${LOCALBASE}include
GMP_LDFLAGS= -L${LOCALBASE}/lib
-GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+GMP_LIB_DEPENDS= libgmp.so:math/gmp
HAS_CONFIGURE= yes
USE_LDCONFIG= yes