1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

cad/feappv: upgrade to v5.1.2e

Also add license.
This commit is contained in:
Thierry Thomas 2024-06-19 18:25:47 +02:00
parent 9cf3e3ebad
commit 7c0cf0ed56
2 changed files with 16 additions and 18 deletions

View File

@ -1,41 +1,41 @@
PORTNAME= feappv
PORTVERSION= 4.1i
PORTREVISION= 5
DISTVERSIONPREFIX=v
DISTVERSION= 5.1.2e
CATEGORIES= cad education science
MASTER_SITES= http://projects.ce.berkeley.edu/feap/${PORTNAME}/:1
DISTFILES= ${PORTDOCS}:1
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Finite element analysis program (personal version)
WWW= http://projects.ce.berkeley.edu/feap/feappv/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= fortran gmake localbase:ldflags xorg
USE_GITHUB= yes
GH_ACCOUNT= sanjayg0
BINARY_ALIAS= make=${GMAKE}
USE_XORG= x11
MAKEFILE= makefile
MAKE_ENV= FEAPPVHOME4_1="${WRKSRC}"
MAKE_ENV= FEAPPVHOME5_1="${WRKSRC}"
ALL_TARGET= install
LDFLAGS+= -lX11 -lm
PLIST_FILES= bin/feappv lib/libfeappv.a
PORTDOCS= manual41.pdf
PORTDOCS= igaman_51.pdf manual_51.pdf
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's| make | $$(MAKE) |' ${WRKSRC}/makefile
@${REINPLACE_CMD} -e \
pre-configure:
${REINPLACE_CMD} -e \
'/^ FF /s|=.*|= ${FC}| ; \
/^ CC /s|=.*|= ${CC}| ; \
/^ FFOPTFLAG /s|=.*|= ${FFLAGS}| ; \
/^ CCOPTFLAG /s|=.*|= ${CFLAGS}| ; \
/^ LDOPTIONS /s|=.*|= ${LDFLAGS}| ; \
s|Feappv.a|libfeappv.a|' ${WRKSRC}/makefile.in
s|Feappv_g.a|libfeappv.a|' ${WRKSRC}/makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${STAGEDIR}${PREFIX}/bin
@ -43,6 +43,6 @@ do-install:
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1529955297
SHA256 (manual41.pdf) = 09bb4b6f0622a1384ad7c52bcd7db0a1b7d190f9849012bf05622b5e7fa3463e
SIZE (manual41.pdf) = 649177
SHA256 (sanjayg0-feappv-v4.1i_GH0.tar.gz) = 49917388a390b5d35e4ac938db8bc67cfe144a4c7127ad7016fcc741e6256f28
SIZE (sanjayg0-feappv-v4.1i_GH0.tar.gz) = 1043692
TIMESTAMP = 1718814127
SHA256 (sanjayg0-feappv-v5.1.2e_GH0.tar.gz) = fae418053cd8c8124881505e8d7af14a84ead4e6852109ab526c779514c0d172
SIZE (sanjayg0-feappv-v5.1.2e_GH0.tar.gz) = 5562386