aboutsummaryrefslogtreecommitdiffstats
path: root/math/freefem/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-25 20:24:20 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-25 20:24:20 +0800
commit51ea599cd9cba5a771a482c491431800468e709f (patch)
treeccfed942339c8694482e6cf890239d6121342270 /math/freefem/Makefile
parent7be129467d1206ae19952868faa8a15c5eba8f1d (diff)
downloadfreebsd-ports-gnome-51ea599cd9cba5a771a482c491431800468e709f.tar.gz
freebsd-ports-gnome-51ea599cd9cba5a771a482c491431800468e709f.tar.zst
freebsd-ports-gnome-51ea599cd9cba5a771a482c491431800468e709f.zip
upgrade to 3.4.5
PR: 36293 Submitted by: Ports Fury
Diffstat (limited to 'math/freefem/Makefile')
-rw-r--r--math/freefem/Makefile27
1 files changed, 16 insertions, 11 deletions
diff --git a/math/freefem/Makefile b/math/freefem/Makefile
index 393bc6796cab..8cb4e13fdcbf 100644
--- a/math/freefem/Makefile
+++ b/math/freefem/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= freefem
-PORTVERSION= 3.5.1
+PORTVERSION= 3.5.4
CATEGORIES= math cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kfem
@@ -14,21 +14,26 @@ MASTER_SITE_SUBDIR= kfem
MAINTAINER= ports@FreeBSD.org
USE_X_PREFIX= yes
-USE_LIBTOOL= yes
-CONFIGURE_ARGS= --enable-adapt --with-optimization
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-optimization
+INSTALLS_SHLIB= yes
MAN1= freefem.1
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/freefem/freefem ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/debian/freefem.1 ${MANPREFIX}/man/man1
- @${MKDIR} ${PREFIX}/share/examples/freefem
- ${INSTALL_DATA} ${WRKSRC}/examples/*.pde ${PREFIX}/share/examples/freefem
+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} ${PREFIX}/share/doc/freefem
-.for file in ChangeLog NEWS README
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/freefem
+ @${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>