aboutsummaryrefslogtreecommitdiffstats
path: root/net/mpich2
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-05-21 06:06:01 +0800
committerthierry <thierry@FreeBSD.org>2005-05-21 06:06:01 +0800
commit18c1bdcf2e39e43ecf86724f1ade4314f84f8d8e (patch)
treefd39e29e7c6b6144fd9bd034cb6395f3b73a98e2 /net/mpich2
parentb7e3b5843d01d3984a69c9e588ac83c997d30ff9 (diff)
downloadfreebsd-ports-gnome-18c1bdcf2e39e43ecf86724f1ade4314f84f8d8e.tar.gz
freebsd-ports-gnome-18c1bdcf2e39e43ecf86724f1ade4314f84f8d8e.tar.zst
freebsd-ports-gnome-18c1bdcf2e39e43ecf86724f1ade4314f84f8d8e.zip
Add a link for ports still using mpiCC. [1]
Since I'm there, prune empty directories. Reported by: Kris via pointyhat [1] Approved by: maintainer [1]
Diffstat (limited to 'net/mpich2')
-rw-r--r--net/mpich2/Makefile3
-rw-r--r--net/mpich2/pkg-plist4
2 files changed, 5 insertions, 2 deletions
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index 098d8bbd8651..18ccfa50fe41 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mpich
PORTVERSION= 1.2.6
+PORTREVISION= 1
CATEGORIES= net parallel
MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/
DIST_SUBDIR= mpich
@@ -193,6 +194,8 @@ post-install:
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/mpich/bin ${PREFIX}/mpich/lib
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mpich/doc ${PREFIX}/mpich/include \
${PREFIX}/mpich/share
+ ${LN} -sf ${PREFIX}/mpich/bin/mpicxx ${PREFIX}/mpich/bin/mpiCC
+ @${RMDIR} ${PREFIX}/mpich/lib/shared ${PREFIX}/mpich/examples/MPI-2-C++
.if ! defined(WITHOUT_JAVA) && ! defined(PACKAGE_BUILDING)
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mpich/logfiles
.endif
diff --git a/net/mpich2/pkg-plist b/net/mpich2/pkg-plist
index f3f5566b826b..ba82ed95fcad 100644
--- a/net/mpich2/pkg-plist
+++ b/net/mpich2/pkg-plist
@@ -9,6 +9,8 @@ mpich/bin/clog_print
mpich/bin/mpicc
mpich/bin/mpichversion
mpich/bin/mpicxx
+@exec ln -sf %D/%F %B/mpiCC
+@unexec rm -f %D/mpich/bin/mpiCC
mpich/bin/mpif77
mpich/bin/mpif90
mpich/bin/mpiman
@@ -610,11 +612,9 @@ mpich/www/www4/index.html
@dirrm mpich/man/man1
@dirrm mpich/man
%%JAVA%%@dirrm mpich/logfiles
-@dirrm mpich/lib/shared
@dirrm mpich/lib
@dirrm mpich/include/mpi2c++
@dirrm mpich/include
-@dirrm mpich/examples/MPI-2-C++
@dirrm mpich/examples
@dirrm mpich/etc
@dirrm mpich/doc