1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/math/freefem/Makefile
Kris Kennaway 93872f18cc Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag.  Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.

Pointy hat to:	kris
2003-06-04 22:43:38 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: freefem
# Date created: 20 December 1996
# Whom: Pedro Giffuni
#
# $FreeBSD$
#
PORTNAME= freefem
PORTVERSION= 3.5.4
CATEGORIES= math cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kfem
MAINTAINER= ports@FreeBSD.org
COMMENT= A language for the Finite Element Method
USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-optimization
INSTALLS_SHLIB= yes
MAN1= freefem.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|debian doc freefem|debian 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>