diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1998-11-16 11:08:34 +0800 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1998-11-16 11:08:34 +0800 |
commit | 2e23665ca99a0fa907799b2f7ad6a8041cb6f9fc (patch) | |
tree | 9a63d2ef07303b02ebbbd38a4948b8e7b3ed58f8 /devel/libU77 | |
parent | 261c0d0d499a3a80a9a6973f7d3f65b59bd58525 (diff) | |
download | freebsd-ports-gnome-2e23665ca99a0fa907799b2f7ad6a8041cb6f9fc.tar.gz freebsd-ports-gnome-2e23665ca99a0fa907799b2f7ad6a8041cb6f9fc.tar.zst freebsd-ports-gnome-2e23665ca99a0fa907799b2f7ad6a8041cb6f9fc.zip |
Import of libU77, a FORTRAN library that adds commonly used
intrinsic functions to allows a greter range for FORTRAN code to
be compiled with the stock f77.
PR: ports/8689
Reviewed by: jkoshy
Submitted by: Glenn Johnson <gljohns@bellsouth.net>
Diffstat (limited to 'devel/libU77')
-rw-r--r-- | devel/libU77/Makefile | 41 | ||||
-rw-r--r-- | devel/libU77/distinfo | 1 | ||||
-rw-r--r-- | devel/libU77/files/makefile.lib | 23 | ||||
-rw-r--r-- | devel/libU77/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libU77/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libU77/pkg-plist | 7 |
6 files changed, 76 insertions, 0 deletions
diff --git a/devel/libU77/Makefile b/devel/libU77/Makefile new file mode 100644 index 000000000000..9626a07a51da --- /dev/null +++ b/devel/libU77/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: libU77 +# Version required: 2.6 +# Date Created: 8 October 1998 +# Whom: Glenn Johnson +# +# $Id$ +# + +DISTNAME= libU77-2.6 +CATEGORIES= devel +MASTER_SITES= http://www.maths.unsw.EDU.AU/~norris/src/ + +MAINTAINER= gjohnson@nola.srrc.usda.gov + +.include <bsd.port.pre.mk> + +pre-build: + ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile + +MAN3= access.3f alarm.3f chdir.3f chmod.3f ctime.3f drand.3f dsecnd.3f \ + dtime.3f etime.3f exit.3f falloc.3f fdate.3f fork.3f free.3f \ + fstat.3f gerror.3f getarg.3f getcwd.3f getenv.3f getgid.3f \ + getlog.3f getpid.3f getuid.3f gmtime.3f hostnm.3f iargc.3f idate.3f \ + ierrno.3f irand.3f itime.3f kill.3f len.3f link.3f lnblnk.3f loc.3f \ + lstat.3f ltime.3f malloc.3f mclock.3f perror.3f qsort.3f rand.3f \ + rename.3f second.3f seterr.3f signal.3f sleep.3f stat.3f symlnk.3f \ + system.3f time.3f unlink.3f wait.3f wclock.3f + +post-install: + ${LDCONFIG} -m ${PREFIX}/lib + if [ "${PORTOBJFORMAT}" = "aout" ]; then \ + ${LN} -sf libU77.so.1.0 ${PREFIX}/lib/libU77.so; \ + fi + ${INSTALL_MAN} ${WRKSRC}/man/*.3f ${PREFIX}/man/man3 + +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/libU77 + ${INSTALL_DATA} ${WRKSRC}/doc/manual.ps ${PREFIX}/share/doc/libU77 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/libU77/distinfo b/devel/libU77/distinfo new file mode 100644 index 000000000000..a4183af5dec3 --- /dev/null +++ b/devel/libU77/distinfo @@ -0,0 +1 @@ +MD5 (libU77-2.6.tar.gz) = 3895f8fc218f7f84ebcfbee467624197 diff --git a/devel/libU77/files/makefile.lib b/devel/libU77/files/makefile.lib new file mode 100644 index 000000000000..3812480d05e7 --- /dev/null +++ b/devel/libU77/files/makefile.lib @@ -0,0 +1,23 @@ +LIBDIR= ${PREFIX}/lib +NOPROFILE= no +CFLAGS+=-D_TIMES +FFLAGS+=-D_TIMES + +SHLIB_MAJOR= 1 +SHLIB_MINOR= 0 + +LIB= U77 + +SRCS = src/access.c src/alarm.c src/bit.c src/chdir.c src/chmod.c \ + src/ctime.c src/drand.c src/dsecnd.c src/dtime.c src/etime.c \ + src/exit.c src/falloc.c src/fdate.c src/fork.c src/free.c \ + src/fstat.f src/gerror.c src/getarg.c src/getcwd.c src/getenv.c \ + src/getgid.c src/getlog.c src/getpid.c src/getuid.c src/gmtime.c \ + src/hostnm.c src/iargc.c src/idate.c src/ierrno.c src/irand.c \ + src/itime.c src/kill.c src/len.c src/link.c src/lnblnk.f src/loc.c \ + src/lstat.c src/ltime.c src/malloc.c src/mclock.c src/perror.c \ + src/qsort.c src/rand.c src/rename.c src/second.c src/seterr.c \ + src/sleep.c src/stat.c src/symlnk.c src/system.c src/time.c \ + src/unlink.c src/util.c src/wait.c src/wclock.c + +.include <bsd.lib.mk> diff --git a/devel/libU77/pkg-comment b/devel/libU77/pkg-comment new file mode 100644 index 000000000000..5251f98f43b6 --- /dev/null +++ b/devel/libU77/pkg-comment @@ -0,0 +1 @@ +adds Fortran intrinsics missing from f2c. diff --git a/devel/libU77/pkg-descr b/devel/libU77/pkg-descr new file mode 100644 index 000000000000..384f9f2fbaca --- /dev/null +++ b/devel/libU77/pkg-descr @@ -0,0 +1,3 @@ +This library adds commonly used Fortran intrinsic functions to +allow a greater range of Fortran code to be compiled with f77, +ie., f2c/gcc. diff --git a/devel/libU77/pkg-plist b/devel/libU77/pkg-plist new file mode 100644 index 000000000000..57cbb4d79540 --- /dev/null +++ b/devel/libU77/pkg-plist @@ -0,0 +1,7 @@ +lib/libU77.a +lib/libU77.so +lib/libU77.so.1 +share/doc/libU77/manual.ps +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@dirrm share/doc/libU77 |