diff --git a/cad/calculix-ccx/Makefile b/cad/calculix-ccx/Makefile index 54329385ef4f..d1ca61401e48 100644 --- a/cad/calculix-ccx/Makefile +++ b/cad/calculix-ccx/Makefile @@ -1,85 +1,85 @@ # Created by: Pedro Giffuni PORTNAME= ccx PORTVERSION= 2.19 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ PKGNAMEPREFIX= CalculiX- DISTFILES= ${DIST_SOURCES} DIST_SUBDIR= calculix EXTRACT_ONLY= ${DIST_SOURCES} -MAINTAINER= pfg@FreeBSD.org +MAINTAINER= rsmith@xs4all.nl COMMENT= Three-Dimensional Structural Finite Element Program LICENSE= GPLv2 LIB_DEPENDS= libarpack.so:math/arpack-ng \ libspooles.so:math/spooles USES= blaslapack fortran gmake perl5 tar:bzip2 USE_PERL5= build DIST_SOURCES= ccx_${PORTVERSION}.src${EXTRACT_SUFX} DIST_HTM= ccx_${PORTVERSION}.htm${EXTRACT_SUFX} DIST_PS= ccx_${PORTVERSION}.ps${EXTRACT_SUFX} DIST_EXAMPLES= ccx_${PORTVERSION}.test${EXTRACT_SUFX} ALL_TARGET= #Empty CCX_VER= ccx_${PORTVERSION} WRKSRC= ${WRKDIR}/CalculiX/${CCX_VER}/src DOCSDIR= ${PREFIX}/share/doc/CalculiX OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${DIST_HTM} ${DIST_PS} EXTRACT_ONLY+= ${DIST_HTM} ${DIST_PS} .endif .if $(PORT_OPTIONS:MEXAMPLES) DISTFILES+= ${DIST_EXAMPLES} EXTRACT_ONLY+= ${DIST_EXAMPLES} .endif .if ${ARCH} == "sparc64" CFLAGS+= -fPIC FFLAGS+= -fPIC .else CFLAGS+= -fpic FFLAGS+= -fpic .endif .if ${GCC_DEFAULT} >= 10 # workaround for Missing actual argument for argument '_formal_15' at (1) FFLAGS+= -fallow-argument-mismatch .endif pre-build: @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%CC%%+${CC}+g ; \ s+%%BLAS_LIBS%%+${BLASLIB}+ ; \ s+%%LAPACK_LIBS%%+${LAPACKLIB}+ ; \ s+%%LOCALBASE%%+${LOCALBASE}+g;' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${CCX_VER} \ ${STAGEDIR}${PREFIX}/bin/ccx do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKDIR}/CalculiX/${CCX_VER}/doc/ccx && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/ccx) ${INSTALL_DATA} ${WRKDIR}/CalculiX/${CCX_VER}/doc/${CCX_VER}.ps \ ${STAGEDIR}${DOCSDIR} @${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/${CCX_VER}.ps do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKDIR}/CalculiX/${CCX_VER}/test && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile index 43b0d08fdcd6..e91413c403a4 100644 --- a/cad/calculix/Makefile +++ b/cad/calculix/Makefile @@ -1,93 +1,93 @@ # Created by: Pedro Giffuni PORTNAME= calculix PORTVERSION= 2.19 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ DISTFILES= ${DIST_SOURCES} DIST_SUBDIR= calculix EXTRACT_ONLY= ${DIST_SOURCES} -MAINTAINER= pfg@FreeBSD.org +MAINTAINER= rsmith@xs4all.nl COMMENT= Three-Dimensional Structural Finite Element Program LICENSE= GPLv2 RUN_DEPENDS= ccx:cad/calculix-ccx USES= gl gmake tar:bzip2 compiler:c++11-lib xorg USE_XORG= ice sm x11 xext xi xmu xt USE_GL= gl glu # uses its own glut DIST_SOURCES= cgx_${PORTVERSION}.all${EXTRACT_SUFX} DIST_HTM= cgx_${PORTVERSION}.htm${EXTRACT_SUFX} DIST_PDF= cgx_${PORTVERSION}.pdf DIST_EXAMPLES= cgx_${PORTVERSION}.exa${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/CalculiX CGX_VER= cgx_${PORTVERSION} CXXFLAGS+= -std=c++98 BROWSER?= firefox PSVIEWER?= gv OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MEXAMPLES} DISTFILES+= ${DIST_EXAMPLES} EXTRACT_ONLY+= ${DIST_EXAMPLES} .endif .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${DIST_HTM} ${DIST_PDF} EXTRACT_ONLY+= ${DIST_HTM} DOCSDIR= ${PREFIX}/share/doc/CalculiX .endif .if ${ARCH} == "sparc64" CFLAGS+= -fPIC FFLAGS+= -fPIC .else CFLAGS+= -fpic FFLAGS+= -fpic .endif pre-build: @${REINPLACE_CMD} -e 's!c++!${CXX}!g;' \ ${WRKSRC}/libSNL/src/makefile @${REINPLACE_CMD} -e 's+%%DOCSDIR%%+${DOCSDIR}+g; \ s+"firefox"+"${BROWSER}"+ ; \ s+"gv"+"${PSVIEWER}"+ ;' \ ${WRKSRC}/${CGX_VER}/src/cgx.h @${REINPLACE_CMD} -e 's!CalculiX/${CGX_VER}/doc!share/doc/CalculiX!g;' \ ${WRKSRC}/${CGX_VER}/src/cgx.h do-build: @(cd ${WRKSRC}/libSNL/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) @(cd ${WRKSRC}/${CGX_VER}/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${CGX_VER}/src/cgx \ ${STAGEDIR}${PREFIX}/bin/cgx .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}/cgx @(cd ${WRKSRC}/${CGX_VER}/doc/cgx && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/cgx) ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DIST_PDF} \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} # Some garbage crept in @${RM} ${WRKSRC}/${CGX_VER}/examples/OpenFOAM/couette/constant/polyMesh/*~ @${RM} ${WRKSRC}/${CGX_VER}/examples/OpenFOAM/couette/constant/*~ @${RM} ${WRKSRC}/${CGX_VER}/examples/OpenFOAM/couette/system/*~ @${RM} ${WRKSRC}/${CGX_VER}/examples/ifwhiledemo/*.*~ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/${CGX_VER}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .endif .include