summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-07 21:17:41 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-12-07 21:17:41 +0000
commit320e5ece0968c27d075ca4804aa77e3e68f94484 (patch)
tree21795551873634f3939e4c9715a12d6c52cce8cd
parentThe software's www page has been moved. (diff)
Tells you how to link C programs with Fortran subroutines.
Required by the new pgperl version.
Notes
Notes: svn path=/head/; revision=23645
-rw-r--r--lang/p5-ExtUtils-F77/Makefile36
-rw-r--r--lang/p5-ExtUtils-F77/distinfo1
-rw-r--r--lang/p5-ExtUtils-F77/pkg-comment1
-rw-r--r--lang/p5-ExtUtils-F77/pkg-descr4
-rw-r--r--lang/p5-ExtUtils-F77/pkg-plist3
-rw-r--r--lang/p5-F77/Makefile36
-rw-r--r--lang/p5-F77/distinfo1
-rw-r--r--lang/p5-F77/pkg-comment1
-rw-r--r--lang/p5-F77/pkg-descr4
-rw-r--r--lang/p5-F77/pkg-plist3
10 files changed, 90 insertions, 0 deletions
diff --git a/lang/p5-ExtUtils-F77/Makefile b/lang/p5-ExtUtils-F77/Makefile
new file mode 100644
index 000000000000..2cdd62f51934
--- /dev/null
+++ b/lang/p5-ExtUtils-F77/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-ExtUtils-F77
+# Version required: 1.12
+# Date created: December 7 1999
+# Whom: jmz
+#
+# $FreeBSD$
+#
+
+DISTNAME= ExtUtils-F77-1.12
+PKGNAME= p5-ExtUtils-F77-1.12
+CATEGORIES= lang perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ExtUtils
+
+MAINTAINER= jmz@FreeBSD.org
+
+USE_PERL5= YES
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= ExtUtils::F77.3
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 400005
+F2CLIB= -lg2c
+.else
+F2CLIB= -lf2c
+.endif
+
+post-patch:
+ @(cd ${WRKSRC}; ${MV} -f F77.pm F77.pm~; \
+ ${PERL5} -e 'while(<>){s/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/;print $$_;}' < F77.pm~ > F77.pm)
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/lang/p5-ExtUtils-F77/distinfo b/lang/p5-ExtUtils-F77/distinfo
new file mode 100644
index 000000000000..3fe0a1c158f5
--- /dev/null
+++ b/lang/p5-ExtUtils-F77/distinfo
@@ -0,0 +1 @@
+MD5 (ExtUtils-F77-1.12.tar.gz) = 9efd00c32885a5886bf9e6f045e40d23
diff --git a/lang/p5-ExtUtils-F77/pkg-comment b/lang/p5-ExtUtils-F77/pkg-comment
new file mode 100644
index 000000000000..10fe97d84e7d
--- /dev/null
+++ b/lang/p5-ExtUtils-F77/pkg-comment
@@ -0,0 +1 @@
+Tells you how to link C programs with Fortran subroutines.
diff --git a/lang/p5-ExtUtils-F77/pkg-descr b/lang/p5-ExtUtils-F77/pkg-descr
new file mode 100644
index 000000000000..cf76985ec461
--- /dev/null
+++ b/lang/p5-ExtUtils-F77/pkg-descr
@@ -0,0 +1,4 @@
+This module tries to figure out how to link C programs with
+Fortran subroutines on your system. Basically one must add a list
+of Fortran runtime libraries. The problem is their location
+and name varies with each OS/compiler combination!
diff --git a/lang/p5-ExtUtils-F77/pkg-plist b/lang/p5-ExtUtils-F77/pkg-plist
new file mode 100644
index 000000000000..0fdf1e187184
--- /dev/null
+++ b/lang/p5-ExtUtils-F77/pkg-plist
@@ -0,0 +1,3 @@
+lib/perl5/site_perl/%%PERL_VER%%/ExtUtils/F77.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ExtUtils/F77/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ExtUtils/F77
diff --git a/lang/p5-F77/Makefile b/lang/p5-F77/Makefile
new file mode 100644
index 000000000000..2cdd62f51934
--- /dev/null
+++ b/lang/p5-F77/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-ExtUtils-F77
+# Version required: 1.12
+# Date created: December 7 1999
+# Whom: jmz
+#
+# $FreeBSD$
+#
+
+DISTNAME= ExtUtils-F77-1.12
+PKGNAME= p5-ExtUtils-F77-1.12
+CATEGORIES= lang perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ExtUtils
+
+MAINTAINER= jmz@FreeBSD.org
+
+USE_PERL5= YES
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= ExtUtils::F77.3
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 400005
+F2CLIB= -lg2c
+.else
+F2CLIB= -lf2c
+.endif
+
+post-patch:
+ @(cd ${WRKSRC}; ${MV} -f F77.pm F77.pm~; \
+ ${PERL5} -e 'while(<>){s/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/;print $$_;}' < F77.pm~ > F77.pm)
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/lang/p5-F77/distinfo b/lang/p5-F77/distinfo
new file mode 100644
index 000000000000..3fe0a1c158f5
--- /dev/null
+++ b/lang/p5-F77/distinfo
@@ -0,0 +1 @@
+MD5 (ExtUtils-F77-1.12.tar.gz) = 9efd00c32885a5886bf9e6f045e40d23
diff --git a/lang/p5-F77/pkg-comment b/lang/p5-F77/pkg-comment
new file mode 100644
index 000000000000..10fe97d84e7d
--- /dev/null
+++ b/lang/p5-F77/pkg-comment
@@ -0,0 +1 @@
+Tells you how to link C programs with Fortran subroutines.
diff --git a/lang/p5-F77/pkg-descr b/lang/p5-F77/pkg-descr
new file mode 100644
index 000000000000..cf76985ec461
--- /dev/null
+++ b/lang/p5-F77/pkg-descr
@@ -0,0 +1,4 @@
+This module tries to figure out how to link C programs with
+Fortran subroutines on your system. Basically one must add a list
+of Fortran runtime libraries. The problem is their location
+and name varies with each OS/compiler combination!
diff --git a/lang/p5-F77/pkg-plist b/lang/p5-F77/pkg-plist
new file mode 100644
index 000000000000..0fdf1e187184
--- /dev/null
+++ b/lang/p5-F77/pkg-plist
@@ -0,0 +1,3 @@
+lib/perl5/site_perl/%%PERL_VER%%/ExtUtils/F77.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ExtUtils/F77/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/ExtUtils/F77