2006-04-03 21:57:24 +02:00
|
|
|
# New ports collection makefile for: FEAPpv
|
|
|
|
# Date created: 29 Feb 2006
|
|
|
|
# Whom: Pedro F. Giffuni
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= feappv
|
|
|
|
PORTVERSION= 2.0
|
2009-09-13 02:08:01 +02:00
|
|
|
PORTREVISION= 5
|
2006-04-03 21:57:24 +02:00
|
|
|
CATEGORIES= cad science
|
|
|
|
MASTER_SITES= http://www.ce.berkeley.edu/~rlt/feappv/
|
|
|
|
MASTER_SITE_SUBDIR= feap
|
|
|
|
DISTFILES= ${PORTNAME}20${EXTRACT_SUFX}
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
DISTFILES+= manual.pdf
|
|
|
|
.endif
|
|
|
|
DIST_SUBDIR= feap
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}20${EXTRACT_SUFX}
|
|
|
|
|
2006-07-01 14:16:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-04-03 21:57:24 +02:00
|
|
|
COMMENT= Finite Element Analysis Program "personal version"
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
EXTRACT_BEFORE_ARGS= -L
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/ver20
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2007-07-12 09:29:27 +02:00
|
|
|
USE_FORTRAN= yes
|
2007-01-12 14:00:06 +01:00
|
|
|
FFLAGS+= -O2
|
2006-04-03 21:57:24 +02:00
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= install
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g; s+%%CC%%+${CC}+g; \
|
|
|
|
s+%%FFLAGS%%+${FFLAGS}+g; s+%%CFLAGS%%+${CFLAGS}+g; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
s+/usr/X11R6+${LOCALBASE}+g; s+%%WRKSRC%%+${WRKSRC}+;' \
|
2006-04-03 21:57:24 +02:00
|
|
|
${WRKSRC}/makefile.in
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin/feappv
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Feappv.a ${PREFIX}/lib/libfeappv.a
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|