aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-25 12:41:50 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-25 12:41:50 +0000
commit3bcf60e0030c304131ff3aa1ccf5a8309a93ce2b (patch)
tree614abba9da70b93b3ecf8760520dd122f6730a0d /cad
parent636df1c02df7a6efa73aa486eae7af84812ec6e8 (diff)
downloadports-3bcf60e0030c304131ff3aa1ccf5a8309a93ce2b.tar.gz
ports-3bcf60e0030c304131ff3aa1ccf5a8309a93ce2b.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/feappv/Makefile36
-rw-r--r--cad/feappv/distinfo4
-rw-r--r--cad/feappv/pkg-descr6
3 files changed, 19 insertions, 27 deletions
diff --git a/cad/feappv/Makefile b/cad/feappv/Makefile
index 90b6d551ba40..b939c8ecb964 100644
--- a/cad/feappv/Makefile
+++ b/cad/feappv/Makefile
@@ -1,45 +1,37 @@
-# New ports collection makefile for: FEAPpv
-# Date created: 29 Feb 2006
-# Whom: Pedro F. Giffuni
-#
+# Created by: Pedro F. Giffuni <giffunip@asme.org>
# $FreeBSD$
-#
PORTNAME= feappv
PORTVERSION= 3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad science
MASTER_SITES= http://www.ce.berkeley.edu/projects/feap/feappv/
-DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} ${PDF_MANUAL}
+DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} ${PORTDOCS}
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/.//}
+MAINTAINER= mexas@bris.ac.uk
+COMMENT= Finite element analysis program (personal version)
+USES= gmake
USE_ZIP= yes
USE_XORG= x11
USE_FORTRAN= yes
-USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ENV= FEAPPVHOME3_1="${WRKSRC}"
ALL_TARGET= install
+WRKSRC= ${WRKDIR}/ver${PORTVERSION:S/.//}
+
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lm
-PORTDOCS= *
-PLIST_FILES= bin/feappv lib/Feappv_gnu.a
+PLIST_FILES= bin/feappv lib/libfeappv.a
+PORTDOCS= manual.pdf
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
-.if ${PORT_OPTIONS:MDOCS}
-PDF_MANUAL= manual.pdf
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
@@ -54,10 +46,10 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/Feappv_gnu.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${PREFIX}/lib
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR}
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/cad/feappv/distinfo b/cad/feappv/distinfo
index a808fec2a61a..b0a546e847b1 100644
--- a/cad/feappv/distinfo
+++ b/cad/feappv/distinfo
@@ -1,4 +1,4 @@
-SHA256 (feappv31/feappv31.zip) = cfd38f80c27d8010db1d270e13846e9b68d84bf77ee71659278b2b207b4b71e5
-SIZE (feappv31/feappv31.zip) = 613363
+SHA256 (feappv31/feappv31.zip) = e1edbced934474b0839857ce799a6cc6b31961b7c0acae8ee70ce2f1efa26791
+SIZE (feappv31/feappv31.zip) = 615732
SHA256 (feappv31/manual.pdf) = f3c6d5ac9c310852dfcde0c74c22df7388fcc6230e30630f70d591c50fd93832
SIZE (feappv31/manual.pdf) = 649124
diff --git a/cad/feappv/pkg-descr b/cad/feappv/pkg-descr
index 5c5fcfb0ec43..e761ba3358a4 100644
--- a/cad/feappv/pkg-descr
+++ b/cad/feappv/pkg-descr
@@ -5,9 +5,9 @@ references:
The Finite Element Method, 6th ed., Vols. 1 and 2, by O.C. Zienkiewicz and
R.L. Taylor, Elsevier, Oxford, 2005.
-FEAPpv is designed to be compatible for compilation in UNIX/LINUX and
+FEAPpv is designed to be compatible for compilation in Unix/Linux and
Windows PC environments.
-WWW: http://www.ce.berkeley.edu/projects/feap/feappv/
-
No support on use of the program will be provided.
+
+WWW: http://www.ce.berkeley.edu/projects/feap/feappv/