freebsd-ports/math/freefem/Makefile
Ying-Chieh Liao a53cbce47a upgrade to 3.4.5
PR:		36293
Submitted by:	Ports Fury
2002-03-25 12:24:20 +00:00

40 lines
937 B
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
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-optimization
INSTALLS_SHLIB= yes
MAN1= freefem.1
post-patch:
@${PERL} -pi -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
@${PERL} -pi -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.mk>