mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
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>
This commit is contained in:
parent
4c2819e4a9
commit
094654f659
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14547
41
devel/libU77/Makefile
Normal file
41
devel/libU77/Makefile
Normal file
@ -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>
|
1
devel/libU77/distinfo
Normal file
1
devel/libU77/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libU77-2.6.tar.gz) = 3895f8fc218f7f84ebcfbee467624197
|
23
devel/libU77/files/makefile.lib
Normal file
23
devel/libU77/files/makefile.lib
Normal file
@ -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>
|
1
devel/libU77/pkg-comment
Normal file
1
devel/libU77/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
adds Fortran intrinsics missing from f2c.
|
3
devel/libU77/pkg-descr
Normal file
3
devel/libU77/pkg-descr
Normal file
@ -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.
|
7
devel/libU77/pkg-plist
Normal file
7
devel/libU77/pkg-plist
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user