1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/cad/feappv/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: FEAPpv
# Date created: 29 Feb 2006
# Whom: Pedro F. Giffuni
#
# $FreeBSD$
#
PORTNAME= feappv
PORTVERSION= 2.0
PORTREVISION= 2
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}
MAINTAINER= ports@FreeBSD.org
COMMENT= Finite Element Analysis Program "personal version"
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -L
WRKSRC= ${WRKDIR}/ver20
USE_XLIB= yes
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
FFLAGS+= -O2
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; \
s+/usr/X11R6+${X11BASE}+g; s+%%WRKSRC%%+${WRKSRC}+;' \
${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>