aboutsummaryrefslogtreecommitdiff
path: root/graphics/raster3d/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-10-06 08:58:06 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-10-06 08:58:06 +0000
commit0d9b04e6719c60d1fdcf80145ba0b3e48c9d3150 (patch)
tree81de0564c16cc48eabbb3c68c68535802f670b6f /graphics/raster3d/Makefile
parent826f2c57d74b5ff4b739b5b7a4beaa1d19df25e2 (diff)
downloadports-0d9b04e6719c60d1fdcf80145ba0b3e48c9d3150.tar.gz
ports-0d9b04e6719c60d1fdcf80145ba0b3e48c9d3150.zip
Notes
Diffstat (limited to 'graphics/raster3d/Makefile')
-rw-r--r--graphics/raster3d/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/raster3d/Makefile b/graphics/raster3d/Makefile
index 57eb26660323..d82128415bfa 100644
--- a/graphics/raster3d/Makefile
+++ b/graphics/raster3d/Makefile
@@ -3,6 +3,7 @@
PORTNAME= raster3d
DISTVERSION= 3.0.3
+PORTREVISION= 1
CATEGORIES= graphics biology
MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/
DISTNAME= Raster3D_${DISTVERSION:R}-${DISTVERSION:E}
@@ -19,7 +20,6 @@ USES= fortran
MAKE_ARGS= INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \
CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \
RM="${RM}" OS="${OPSYS}"
-ALL_TARGET= linux all
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -DLINUX -DNETWORKBYTEORDER -Dgfortran
@@ -34,6 +34,9 @@ OPTIONS_SUB= yes
IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick
+pre-build: # generation of Makefile.incl has to be separate from 'make all', otherwise the generated Makefile.incl isn't read by 'make all'
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} linux
+
do-install:
.for f in avs2ps balls normal3d rastep render ribbon rings3d rods
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin