aboutsummaryrefslogtreecommitdiff
path: root/cad/salome/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-12 22:17:21 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-12 22:17:21 +0000
commitd307af92dc33143925c089c296efab37b8ef1f08 (patch)
treea6c29fec021f5ca8611bb057faa6d00f6b95f1f4 /cad/salome/Makefile
parent376d6d03621d8c1551797493580c9a75e8f39268 (diff)
Notes
Diffstat (limited to 'cad/salome/Makefile')
-rw-r--r--cad/salome/Makefile80
1 files changed, 80 insertions, 0 deletions
diff --git a/cad/salome/Makefile b/cad/salome/Makefile
new file mode 100644
index 000000000000..7ae6b98fe36e
--- /dev/null
+++ b/cad/salome/Makefile
@@ -0,0 +1,80 @@
+# New ports collection makefile for: cad/salome
+# Date created: 16 Oct 2009
+# Whom: Stas Timokhin <devel@stasyan.com>
+#
+# $FreeBSD$
+
+PORTNAME= salome
+PORTVERSION= 5.1.3
+CATEGORIES= cad science
+MASTER_SITES= http://www.stasyan.com/devel/distfiles/
+DISTNAME= src5.1.3
+DIST_SUBDIR= ${PORTNAME}
+.if !defined(PKGNAMESUFFIX)
+EXTRACT_ONLY= #none
+.endif
+
+MAINTAINER= devel@stasyan.com
+
+OPTIONS= \
+ GEOM "GEOM module" on \
+ MED "MED module" on \
+ SMESH "SMESH module (require MED & GEOM)" on \
+ VISU "VISU module (require MED)" on \
+ LIGHT "LIGHT module" on \
+ YACS "Yacs module" on \
+ MULTIPR "Multipr module" on \
+ RANDOMIZER "Randomizer module" on \
+ SIERPINSKY "Sierpinsky module" on \
+ CPPUNIT "build with C++ unit testing framework" off \
+ MPI "build with support parrallel calculation" off
+
+RESOURCEDIR= ${DATADIR}/resources
+
+.include <bsd.port.options.mk>
+
+.if !defined(PKGNAMESUFFIX)
+COMMENT= Metaport for cad/salome
+
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+RUN_DEPENDS+= ${RESOURCEDIR}/kernel:${PORTSDIR}/cad/salome-kernel \
+ ${RESOURCEDIR}/gui:${PORTSDIR}/cad/salome-gui
+
+.if defined(WITH_GEOM)
+RUN_DEPENDS+= ${RESOURCEDIR}/geom:${PORTSDIR}/cad/salome-geom
+.endif
+.if defined(WITH_LIGHT)
+RUN_DEPENDS+= ${RESOURCEDIR}/light:${PORTSDIR}/cad/salome-light
+.endif
+.if defined(WITH_YACS)
+RUN_DEPENDS+= ${RESOURCEDIR}/yacs:${PORTSDIR}/cad/salome-yacs
+.endif
+.if defined(WITH_RANDOMIZER)
+RUN_DEPENDS+= ${RESOURCEDIR}/randomizer:${PORTSDIR}/cad/salome-randomizer
+.endif
+.if defined(WITH_VISU)
+RUN_DEPENDS+= ${RESOURCEDIR}/visu:${PORTSDIR}/cad/salome-visu
+.endif
+.if defined(WITH_MED)
+RUN_DEPENDS+= ${RESOURCEDIR}/med:${PORTSDIR}/cad/salome-med
+.endif
+.if defined(WITH_SIERPINSKY)
+RUN_DEPENDS+= ${RESOURCEDIR}/sierpinsky:${PORTSDIR}/cad/salome-sierpinsky
+.endif
+.if defined(WITH_SMESH)
+RUN_DEPENDS+= ${RESOURCEDIR}/smesh:${PORTSDIR}/cad/salome-smesh
+.endif
+.if defined(WITH_MULTIPR)
+RUN_DEPENDS+= ${RESOURCEDIR}/multipr:${PORTSDIR}/cad/salome-multipr
+.endif
+
+do-install:
+ ${DO_NADA}
+
+.include <bsd.port.post.mk>
+.else
+.include "${MASTERDIR}/Makefile.ext"
+.endif