mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
c06e7d552e
Pass maintainership of urlview to Zsolt Udvari
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# Created by: Pedro F. Giffuni <giffunip@asme.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= feappv
|
|
PORTVERSION= 3.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= cad science
|
|
MASTER_SITES= http://www.ce.berkeley.edu/projects/feap/feappv/
|
|
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)
|
|
|
|
USES= fortran gmake zip
|
|
USE_XORG= x11
|
|
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
|
|
|
|
PLIST_FILES= bin/feappv lib/libfeappv.a
|
|
PORTDOCS= manual.pdf
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${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 ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${STAGEDIR}${PREFIX}/lib
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|