diff options
Diffstat (limited to 'cad/calculix/Makefile')
-rw-r--r-- | cad/calculix/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile index 4e989ec35d27..aded4a7fff36 100644 --- a/cad/calculix/Makefile +++ b/cad/calculix/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= calculix -PORTVERSION= 2.16.1 +PORTVERSION= 2.17 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ DISTFILES= ${DIST_SOURCES} @@ -22,7 +22,7 @@ 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_2.16.pdf +DIST_PDF= cgx_${PORTVERSION}.pdf DIST_EXAMPLES= cgx_${PORTVERSION}.exa${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/CalculiX @@ -63,6 +63,8 @@ pre-build: 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} ) |