diff options
author | miwi <miwi@FreeBSD.org> | 2012-08-05 13:07:01 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-08-05 13:07:01 +0800 |
commit | f8d21d374505d4b05ee8609e6c853fb1d775dd7d (patch) | |
tree | 7a4452c4df23bc6c573bb2a06af5cb9bbfbcad22 /cad/feappv | |
parent | 4fc6235de7c25453cf1275d311edeb8370185f7d (diff) | |
download | freebsd-ports-gnome-f8d21d374505d4b05ee8609e6c853fb1d775dd7d.tar.gz freebsd-ports-gnome-f8d21d374505d4b05ee8609e6c853fb1d775dd7d.tar.zst freebsd-ports-gnome-f8d21d374505d4b05ee8609e6c853fb1d775dd7d.zip |
- Update to 3.1
PR: 170137
Submitted by: Ports Fury
Diffstat (limited to 'cad/feappv')
-rw-r--r-- | cad/feappv/Makefile | 38 | ||||
-rw-r--r-- | cad/feappv/distinfo | 8 |
2 files changed, 29 insertions, 17 deletions
diff --git a/cad/feappv/Makefile b/cad/feappv/Makefile index 2d47af5918eb..29fc44fdd60e 100644 --- a/cad/feappv/Makefile +++ b/cad/feappv/Makefile @@ -6,20 +6,18 @@ # PORTNAME= feappv -PORTVERSION= 2.2 +PORTVERSION= 3.1 CATEGORIES= cad science MASTER_SITES= http://www.ce.berkeley.edu/projects/feap/feappv/ -MASTER_SITE_SUBDIR= feap -DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} -.if !defined(NOPORTDOCS) -DISTFILES+= manual.pdf -.endif -DIST_SUBDIR= feap +DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} ${PDF_MANUAL} +DIST_SUBDIR= ${PORTNAME}${PORTVERSION:S/.//} EXTRACT_ONLY= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Finite Element Analysis Program "personal version" +OPTIONS_DEFINE= DOCS + WRKSRC= ${WRKDIR}/ver${PORTVERSION:S/.//} USE_ZIP= yes @@ -27,23 +25,37 @@ USE_XORG= x11 USE_FORTRAN= yes USE_GMAKE= yes MAKEFILE= makefile -MAKE_ARGS= FF="${FC}" CC="${CC}" FFOPTFLAG="${FFLAGS}" \ - CCOPTFLAG="${CFLAGS} -I{LOCALBASE}/include" \ - LDOPTIONS="-L${LOCALBASE}/lib -lX11 -lm" \ - FINCLUDE="${WRKSRC}/include" ARFEAP="${WRKSRC}/libfeappv.a" +MAKE_ENV= FEAPPVHOME3_1="${WRKSRC}" ALL_TARGET= install MAKE_JOBS_SAFE= yes +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lm + PORTDOCS= * PLIST_FILES= bin/feappv lib/libfeappv.a +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +PDF_MANUAL= manual.pdf +.endif + post-patch: - @${REINPLACE_CMD} -e 's| make | $$(MAKE) |g' ${WRKSRC}/makefile + @${REINPLACE_CMD} -e \ + 's| make | $$(MAKE) |' ${WRKSRC}/makefile + @${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 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${PREFIX}/lib -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR} .endif diff --git a/cad/feappv/distinfo b/cad/feappv/distinfo index 51b98137c788..9b4ed3029e86 100644 --- a/cad/feappv/distinfo +++ b/cad/feappv/distinfo @@ -1,4 +1,4 @@ -SHA256 (feap/feappv22.zip) = 77533818d2ebd0dc226c5b3b95cb230cf9951cf0b0f3f6ec2c6a194efc9ef391 -SIZE (feap/feappv22.zip) = 587829 -SHA256 (feap/manual.pdf) = bfd89050c0bf35140afe00c3c31cfe9f1dfd75386d9cb4407ca331fc52bbc2dc -SIZE (feap/manual.pdf) = 647945 +SHA256 (feappv31/feappv31.zip) = 906b340cb8d9abf53785e4c282ed4b4440d89ed913d36b51dec84ed74f7a7262 +SIZE (feappv31/feappv31.zip) = 611951 +SHA256 (feappv31/manual.pdf) = f3c6d5ac9c310852dfcde0c74c22df7388fcc6230e30630f70d591c50fd93832 +SIZE (feappv31/manual.pdf) = 649124 |