aboutsummaryrefslogtreecommitdiffstats
path: root/biology/boinc-simap/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-06-25 05:04:45 +0800
committerpav <pav@FreeBSD.org>2006-06-25 05:04:45 +0800
commita369fcbce51d469cc96cc50e71633840e186a4c1 (patch)
tree821c2a65c1dd4ab574a59c989b29dff1d82a6c15 /biology/boinc-simap/Makefile
parentde402bbe8779a5fd5c791bf2ab585d36e9e6cda7 (diff)
downloadfreebsd-ports-graphics-a369fcbce51d469cc96cc50e71633840e186a4c1.tar.gz
freebsd-ports-graphics-a369fcbce51d469cc96cc50e71633840e186a4c1.tar.zst
freebsd-ports-graphics-a369fcbce51d469cc96cc50e71633840e186a4c1.zip
- Provide SSE optimized application as an option
Diffstat (limited to 'biology/boinc-simap/Makefile')
-rw-r--r--biology/boinc-simap/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/biology/boinc-simap/Makefile b/biology/boinc-simap/Makefile
index a6fdaa3fda2..63a099dfa6b 100644
--- a/biology/boinc-simap/Makefile
+++ b/biology/boinc-simap/Makefile
@@ -8,7 +8,7 @@ PORTNAME= boinc-simap
PORTVERSION= 5.08
CATEGORIES= biology
MASTER_SITES= http://boinc.bio.wzw.tum.de/boincsimap/download/
-DISTNAME= simap_${PORTVERSION}_i386-pc-freebsd_dyn
+DISTNAME= simap_${PORTVERSION}_${MACH}-pc-freebsd_dyn
EXTRACT_SUFX= #
MAINTAINER= pav@FreeBSD.org
@@ -34,8 +34,16 @@ PLIST_SUB= SIMAP_BINARY=${SIMAP_BINARY} SIMAP_SITE=${SIMAP_SITE} \
ONLY_FOR_ARCHS= i386 amd64
+OPTIONS= SSE "SSE optimized app (warning! your CPU must support SSE)" off
+
.include <bsd.port.pre.mk>
+.ifdef WITH_SSE
+MACH= i686
+.else
+MACH= i386
+.endif
+
.if ${ARCH} == amd64
AMD64= ""
.else