diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-01-19 06:24:11 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-01-19 06:24:11 +0000 |
commit | 1d7897bbedfe401a3c2ccd6adffadfa14aeb0060 (patch) | |
tree | 5465cd03d5d258a8036478554a2981616f03cb6e /graphics | |
parent | 076be9c48b91dee6f4d922391c8acbb596c4aa20 (diff) | |
download | ports-1d7897bbedfe401a3c2ccd6adffadfa14aeb0060.tar.gz ports-1d7897bbedfe401a3c2ccd6adffadfa14aeb0060.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cimg/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index 6a423d1a95da..e63892c2ba73 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -7,6 +7,7 @@ PORTNAME= cimg DISTVERSION= 1-17 +PORTREVISION= 1 CATEGORIES= graphics devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -37,17 +38,23 @@ NOBUILD= yes RUN_DEPENDS+= ${LOCALBASE}/lib/libMagick.so.10:${PORTSDIR}/graphics/ImageMagick .endif .if !defined(WITHOUT_LAPACK) -LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas -LAPACK_LIB= -L${LOCALBASE}/lib -lalapack -lcblas -lf77blas -lg2c -latlas +LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +LAPACK_LIB= -L${LOCALBASE}/lib -lalapack -lcblas -lf77blas -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. -lgfortran -latlas LAPACK_DEF= -Dcimg_lapack .endif +WANT_FORTRAN= yes #dummy but future use +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +FC= gfortran42 +F77= gfortran42 + #post-extract: + +post-patch: + ${DIRNAME} `${LOCALBASE}/bin/${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR # @${CP} ${WRKSRC}/CImg.h ${WRKSRC}/CImg.h.dos # @${TR} -d '\r' < ${WRKSRC}/CImg.h.dos > ${WRKSRC}/CImg.h - .if !defined(NOPORTDOCS) -post-patch: @${GREP} -lR 'img/' ${BUILD_WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e 's|img/|${EXAMPLESDIR}/img/|g' .endif |