6207fc7a96
render.f:971:28: 971 | BKGND(3) = iand(XBG,X'00FF') | 1 Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see '-fno-allow-invalid-boz'] render.f:972:28: 972 | BKGND(2) = iand(XBG,X'FF00')/256 | 1 Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see '-fno-allow-invalid-boz'] render.f:973:28: 973 | BKGND(1) = iand(XBG,X'FF0000')/65536 | 1 Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see '-fno-allow-invalid-boz'] Error: More actual than formal arguments in procedure call at (1) render.f:1079:22: 1077 | IERR = LOCAL(5, IBKGND(1), IBKGND(2), IBKGND(3)) | 2 1078 | IERR = LOCAL(1, NAX, NAY, OTMODE, QUALITY) 1079 | IERR = LOCAL(4, TITLE) | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(132)/INTEGER(4)). render.f:4402:22: 1077 | IERR = LOCAL(5, IBKGND(1), IBKGND(2), IBKGND(3)) | 2 ...... 4402 | IERR = LOCAL(2, OUTBUF(K+1,1), OUTBUF(K+1,2), OUTBUF(K+1,3), | 1 Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(2)/INTEGER(4)). render.f:4430:13: 4430 | IERR = LOCAL(3) | 1 Error: Missing actual argument for argument '_formal_4' at (1) http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/raster3d-3.0.3_7.log PR: 246700
71 lines
2.1 KiB
Makefile
71 lines
2.1 KiB
Makefile
# Created by: Shaun Amott <shaun@inerd.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= raster3d
|
|
DISTVERSION= 3.0.3
|
|
PORTREVISION= 7
|
|
CATEGORIES= graphics biology
|
|
MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/
|
|
DISTNAME= Raster3D_${DISTVERSION:R}-${DISTVERSION:E}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Set of tools for generating raster images of proteins and molecules
|
|
|
|
LICENSE= ART20
|
|
|
|
LIB_DEPENDS= libgd.so:graphics/gd \
|
|
libtiff.so:graphics/tiff
|
|
|
|
USES= fortran
|
|
MAKE_ARGS= INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \
|
|
CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \
|
|
RM="${RM}" OS="${OPSYS}"
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CFLAGS+= -DLINUX -DNETWORKBYTEORDER -Dgfortran
|
|
FFLAGS+= -std=legacy -fno-range-check -ffixed-line-length-132
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= IMAGEMAGICK DOCS EXAMPLES
|
|
OPTIONS_DEFAULT=IMAGEMAGICK
|
|
OPTIONS_SUB= yes
|
|
|
|
IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
|
|
FFLAGS+= -fallow-invalid-boz
|
|
.endif
|
|
|
|
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
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/worms ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/*.l ${STAGEDIR}${MANLPREFIX}/man/manl
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/materials
|
|
${INSTALL_DATA} ${WRKSRC}/materials/* ${STAGEDIR}${DATADIR}/materials
|
|
|
|
do-install-IMAGEMAGICK-on:
|
|
.for f in label3d stereo3d
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
${INSTALL_DATA} ${WRKSRC}/doc/R3D_manual.pdf ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
@${RM} -r ${STAGEDIR}${EXAMPLESDIR}/msms/CVS
|
|
|
|
.include <bsd.port.mk>
|