aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 22:26:47 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 22:26:47 +0000
commit008e415ee030e47c95eb4c98289dbdfd59b13dd2 (patch)
tree765b58c2924b1771cad00f1fc1c3631cc824643b /science
parentede1dbd96a8ae3229c90a24b423bd8ca27fb31f9 (diff)
downloadports-008e415ee030e47c95eb4c98289dbdfd59b13dd2.tar.gz
ports-008e415ee030e47c95eb4c98289dbdfd59b13dd2.zip
Fix build with bmake
Notes
Notes: svn path=/head/; revision=317384
Diffstat (limited to 'science')
-rw-r--r--science/euler/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/science/euler/Makefile b/science/euler/Makefile
index de7645f4ed67..16060f1aca4a 100644
--- a/science/euler/Makefile
+++ b/science/euler/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection Makefile for: euler
-# Date created: May 14, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= euler
PORTVERSION= 1.61.0
@@ -19,6 +14,10 @@ COMMENT= A program computes with real and complex numbers and matrices
USE_GNOME= gtk20
GNU_CONFIGURE= yes
+.if defined(.PARSEDIR)
+USE_GMAKE= yes
+.endif
+
.include <bsd.port.pre.mk>
post-patch:
@@ -29,7 +28,7 @@ post-patch:
/-O3/d' ${WRKSRC}/src/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}