mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
40 lines
923 B
Makefile
40 lines
923 B
Makefile
# Created by: Pedro Giffuni
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= freefem
|
|
PORTVERSION= 3.5.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= math science
|
|
MASTER_SITES= SF/kfem/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A language for the Finite Element Method
|
|
|
|
DEPRECATED= Unmaintained since 2000
|
|
EXPIRATION_DATE= 2014-04-11
|
|
USE_XORG= ice sm x11 xt
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= freefem.1
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|admin doc freefem|admin freefem|g ; \
|
|
s|^install-data-am:|install-data-am: #|g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ChangeLog NEWS README TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.pde ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|