aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-05 06:26:47 +0800
committerbapt <bapt@FreeBSD.org>2013-05-05 06:26:47 +0800
commit3b83a2f6409c64269fea88528df60356632ca01a (patch)
tree765b58c2924b1771cad00f1fc1c3631cc824643b /science
parentbbe0337272b5a25c830a72aa4d0bec8da0566651 (diff)
downloadfreebsd-ports-gnome-3b83a2f6409c64269fea88528df60356632ca01a.tar.gz
freebsd-ports-gnome-3b83a2f6409c64269fea88528df60356632ca01a.tar.zst
freebsd-ports-gnome-3b83a2f6409c64269fea88528df60356632ca01a.zip
Fix build with bmake
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}