From a369fcbce51d469cc96cc50e71633840e186a4c1 Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 24 Jun 2006 21:04:45 +0000 Subject: - Provide SSE optimized application as an option --- biology/boinc-simap/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'biology/boinc-simap/Makefile') 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 +.ifdef WITH_SSE +MACH= i686 +.else +MACH= i386 +.endif + .if ${ARCH} == amd64 AMD64= "" .else -- cgit