diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-03-10 06:39:16 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-03-10 06:39:16 +0000 |
commit | d24ccc17006da0e918a610b5899dc2e240af0dde (patch) | |
tree | d40dab5e3bea92fca36479bf80192769f271fce9 | |
parent | d6c0cb4ef655503322f1bd5d230226eedad47b3e (diff) | |
download | ports-d24ccc17006da0e918a610b5899dc2e240af0dde.tar.gz ports-d24ccc17006da0e918a610b5899dc2e240af0dde.zip |
Notes
-rw-r--r-- | lang/crossgo32-f77/Makefile | 61 | ||||
-rw-r--r-- | lang/crossgo32-f77/distinfo | 2 | ||||
-rw-r--r-- | lang/crossgo32-f77/pkg-comment | 1 | ||||
-rw-r--r-- | lang/crossgo32-f77/pkg-descr | 13 | ||||
-rw-r--r-- | lang/crossgo32-f77/pkg-plist | 4 |
5 files changed, 81 insertions, 0 deletions
diff --git a/lang/crossgo32-f77/Makefile b/lang/crossgo32-f77/Makefile new file mode 100644 index 000000000000..1431bca6b078 --- /dev/null +++ b/lang/crossgo32-f77/Makefile @@ -0,0 +1,61 @@ +# Ports collection makefile for: crossgo32-f77 +# Date created: 19 September 2000 +# Whom: Huidae Cho <hdcho@geni.knu.ac.kr> +# +# $FreeBSD$ +# + +PORTNAME= crossgo32-f77 +PORTVERSION= 2.95.2 +CATEGORIES= lang +MASTER_SITES= ftp://troutmask.apl.washington.edu/pub/ \ + ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu +DISTNAME= f77-freebsd.0.3 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} g772952b.zip +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= hdcho@geni.knu.ac.kr + +BUILD_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip +.if !defined(GNU_CPP) +RUN_DEPENDS+= ${LOCALBASE}/bin/fpp:${PORTSDIR}/devel/fpp +.endif +RUN_DEPENDS+= ${LOCALBASE}/bin/f2c:${PORTSDIR}/lang/f2c \ + ${LOCALBASE}/i386-go32/bin/gcc:${PORTSDIR}/devel/crossgo32-djgpp2 + +# Set F77NAME to the name of the Fortran 77 wrapper. +F77NAME= ftn77 +GCCVERSION= 2.952 +ONLY_FOR_ARCHS= i386 + +MAKE_ARGS+= CFLAGS+=" -DPP_COMMAND='\"/usr/bin/cpp\"' \ + -DF2C_COMMAND='\"${LOCALBASE}/bin/f2c\"'" +.if !defined(GNU_CPP) +MAKE_ARGS+= CFLAGS+=" -DSUN_FPP" +.endif +MAKE_ARGS+= -DF2C_INCLUDEDIR='\"-I${LOCALBASE}/i386-go32/include\"' \ + -DF2C_LIBDIR='\"-I${LOCALBASE}/i386-go32/lib\"' \ + -DCC_COMMAND='\"${LOCALBASE}/bin/i386-go32-gcc\"' + +ALL_TARGET= depend all + +post-extract: + if ! (cd ${WRKDIR} && \ + unzip -q ${_DISTDIR}g772952b.zip -d ${WRKDIR} \ + lib/gcc-lib/djgpp/${GCCVERSION}/libg2c.a \ + lib/gcc-lib/djgpp/${GCCVERSION}/include/g2c.h);\ + then \ + exit 1; \ + fi + +do-install: + ${INSTALL_DATA} \ + ${WRKDIR}/lib/gcc-lib/djgpp/${GCCVERSION}/libg2c.a \ + ${PREFIX}/i386-go32/lib/libf2c.a + ${INSTALL_DATA} \ + ${WRKDIR}/lib/gcc-lib/djgpp/${GCCVERSION}/include/g2c.h \ + ${PREFIX}/i386-go32/include/f2c.h + ${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/i386-go32/bin/f77 + ${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/bin/i386-go32-f77 + +.include <bsd.port.mk> diff --git a/lang/crossgo32-f77/distinfo b/lang/crossgo32-f77/distinfo new file mode 100644 index 000000000000..f683ebb67973 --- /dev/null +++ b/lang/crossgo32-f77/distinfo @@ -0,0 +1,2 @@ +MD5 (f77-freebsd.0.3.tar.gz) = c5b7cc72f120c1ae2fe01e6628116f1a +MD5 (g772952b.zip) = 66eaf1479778aa0aebaea882a914b286 diff --git a/lang/crossgo32-f77/pkg-comment b/lang/crossgo32-f77/pkg-comment new file mode 100644 index 000000000000..694210c86be1 --- /dev/null +++ b/lang/crossgo32-f77/pkg-comment @@ -0,0 +1 @@ +G2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler diff --git a/lang/crossgo32-f77/pkg-descr b/lang/crossgo32-f77/pkg-descr new file mode 100644 index 000000000000..561d0b818cc4 --- /dev/null +++ b/lang/crossgo32-f77/pkg-descr @@ -0,0 +1,13 @@ +This package installs g2c libraries and f77 wrapper for DJGPP V2 +crossgo32 crosscompiler. + +Simple usage: + i386-go32-f77 -o fortran.exe fortran.f + +The above command creates the MS-DOS executable fortran.exe file from +fortran.f fortran77 source file. + +Enjoy. + +Huidae Cho +hdcho@geni.knu.ac.kr diff --git a/lang/crossgo32-f77/pkg-plist b/lang/crossgo32-f77/pkg-plist new file mode 100644 index 000000000000..d5ef6c20e4cb --- /dev/null +++ b/lang/crossgo32-f77/pkg-plist @@ -0,0 +1,4 @@ +bin/i386-go32-f77 +i386-go32/bin/f77 +i386-go32/include/f2c.h +i386-go32/lib/libf2c.a |