aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-02-06 14:45:27 +0800
committerthierry <thierry@FreeBSD.org>2006-02-06 14:45:27 +0800
commitd325bd3b45e419428495a0dfeacb9fea3efbb2d7 (patch)
tree77d50f357cb458ecc89fd28cb61c66d53fd223af /cad
parent1acc1b4894cbf19f7e76a60eb980fe710e494b33 (diff)
downloadfreebsd-ports-gnome-d325bd3b45e419428495a0dfeacb9fea3efbb2d7.tar.gz
freebsd-ports-gnome-d325bd3b45e419428495a0dfeacb9fea3efbb2d7.tar.zst
freebsd-ports-gnome-d325bd3b45e419428495a0dfeacb9fea3efbb2d7.zip
The tarball has been rerolled to include our patches.
Diffstat (limited to 'cad')
-rw-r--r--cad/scotch/Makefile16
-rw-r--r--cad/scotch/distinfo6
-rw-r--r--cad/scotch/files/patch-src_Make.inc_Makefile.inc.FreeBSD18
-rw-r--r--cad/scotch/pkg-plist1
4 files changed, 7 insertions, 34 deletions
diff --git a/cad/scotch/Makefile b/cad/scotch/Makefile
index 454201a7b989..cf40dff9dab3 100644
--- a/cad/scotch/Makefile
+++ b/cad/scotch/Makefile
@@ -7,8 +7,9 @@
PORTNAME= scotch
PORTVERSION= 4.0.0
+PORTREVISION= 1
CATEGORIES= cad science
-MASTER_SITES= http://gforge.inria.fr/frs/download.php/453/
+MASTER_SITES= http://gforge.inria.fr/frs/download.php/464/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
@@ -25,23 +26,14 @@ F77?= f77
BINS= acpl amk_ccc amk_fft2 amk_grf amk_hy amk_m2 amk_p2 atst \
gcv gmap gmk_hy gmk_m2 gmk_m3 gmk_msh gmk_ub2 gmtst gord\
gotst gout gtst mcv mmk_m2 mmk_m3 mord mtst
-INCS= common.h common_integer.h scotch.h scotchf.h
+INCS= common.h scotch.h scotchf.h
LIBS= libcommon.a libscotch.a libscotcherr.a libscotcherrcom.a
PORTDOCS= scotch_user4.0.pdf
EXAMPLES= scotch_example.f
-MALLOC2FIX= common/common.h libscotch/common.h
-
-post-extract:
- ${CP} -p ${BUILD_WRKSRC}/Make.inc/Makefile.inc.i686_pc_linux2 \
- ${BUILD_WRKSRC}/Make.inc/Makefile.inc.FreeBSD
-
pre-configure:
- ${LN} -sf ${WRKSRC}/src/Make.inc/Makefile.inc.FreeBSD \
+ ${LN} -sf ${WRKSRC}/src/Make.inc/Makefile.inc.freebsd \
${WRKSRC}/src/Makefile.inc
- ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
- ${MALLOC2FIX:S|^|${BUILD_WRKSRC}/|}
- ${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${BUILD_WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${BINS:S|^|${INSTALL_WRKSRC}/|} ${PREFIX}/bin
diff --git a/cad/scotch/distinfo b/cad/scotch/distinfo
index d9ccf3fbd19c..5d68f5235a19 100644
--- a/cad/scotch/distinfo
+++ b/cad/scotch/distinfo
@@ -1,3 +1,3 @@
-MD5 (scotch_4.0.0.tar.gz) = f1fb5b453f5df20c7b29c30817d584e0
-SHA256 (scotch_4.0.0.tar.gz) = ac9fafdf5ee51a139f707b8948199cb9abed17dcd4148c92462bbc7b878bcb95
-SIZE (scotch_4.0.0.tar.gz) = 2534197
+MD5 (scotch_4.0.0.tar.gz) = b7c38940040de6025b7906285cf0e899
+SHA256 (scotch_4.0.0.tar.gz) = 29c23fed8992c9872208190838c60dbeb7e4abd083fcf898e53510daa4993fa8
+SIZE (scotch_4.0.0.tar.gz) = 2534269
diff --git a/cad/scotch/files/patch-src_Make.inc_Makefile.inc.FreeBSD b/cad/scotch/files/patch-src_Make.inc_Makefile.inc.FreeBSD
deleted file mode 100644
index ff75b777ab33..000000000000
--- a/cad/scotch/files/patch-src_Make.inc_Makefile.inc.FreeBSD
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./src/Make.inc/Makefile.inc.FreeBSD.orig Tue Jan 31 17:15:20 2006
-+++ ./src/Make.inc/Makefile.inc.FreeBSD Thu Feb 2 21:34:48 2006
-@@ -4,11 +4,11 @@
-
- AR = ar
- CAT = cat
--CC = gcc
--CFLAGS = -O3 -I. -I../../bin -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME
--LDFLAGS = -L../../bin -lm
-+#CC = gcc
-+CFLAGS += -I. -I../../bin -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME
-+LDFLAGS+= -L../../bin -lm
- CP = cp
- LEX = flex
- MV = mv
- RANLIB = ranlib
--YACC = bison -y
-+#YACC = bison -y
diff --git a/cad/scotch/pkg-plist b/cad/scotch/pkg-plist
index 635ca4ade04c..a36c29399f63 100644
--- a/cad/scotch/pkg-plist
+++ b/cad/scotch/pkg-plist
@@ -24,7 +24,6 @@ bin/mmk_m3
bin/mord
bin/mtst
include/common.h
-include/common_integer.h
include/scotch.h
include/scotchf.h
lib/libcommon.a