aboutsummaryrefslogtreecommitdiff
path: root/devel/fpp
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 19:43:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 19:43:06 +0000
commit8c007e93a39ffa22fc18142da7c6e6797192d0a3 (patch)
tree55b879a0da75b850a25572d4966f2b5c50ec4a31 /devel/fpp
parent7347d36e7fa165b1443eef525a63ff53a083f8ec (diff)
downloadports-8c007e93a39ffa22fc18142da7c6e6797192d0a3.tar.gz
ports-8c007e93a39ffa22fc18142da7c6e6797192d0a3.zip
Notes
Diffstat (limited to 'devel/fpp')
-rw-r--r--devel/fpp/Makefile29
-rw-r--r--devel/fpp/distinfo1
-rw-r--r--devel/fpp/files/patch-aa18
-rw-r--r--devel/fpp/files/patch-ab38
-rw-r--r--devel/fpp/pkg-comment2
-rw-r--r--devel/fpp/pkg-descr8
-rw-r--r--devel/fpp/pkg-plist5
7 files changed, 101 insertions, 0 deletions
diff --git a/devel/fpp/Makefile b/devel/fpp/Makefile
new file mode 100644
index 000000000000..981bcf877cf5
--- /dev/null
+++ b/devel/fpp/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Sun fortran preprocessor fpp
+# Version required: ?
+# Date created: 30 January 1996
+# Whom: vazquez@iqm.unicamp.br
+#
+# $Id: Makefile,v 1.1.1.1 1997/02/16 01:24:46 obrien Exp $
+#
+
+DISTNAME= fdfpp
+PKGNAME= fpp-1.0
+CATEGORIES= devel
+MASTER_SITES= ftp://netlib.bell-labs.com/netlib/fortran/
+
+MAINTAINER= vazquez@iqm.unicamp.br
+
+USE_GMAKE= yes
+ALL_TARGET= bsd44
+INSTALL_TARGET= bsd44-install
+MAN1= fpp.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/fpp
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/fpp
+ ${INSTALL_MAN} ${WRKSRC}/fpp_spec ${PREFIX}/share/doc/fpp
+ ${INSTALL_MAN} ${WRKSRC}/fpp_license.ps ${PREFIX}/share/doc/fpp
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/fpp/distinfo b/devel/fpp/distinfo
new file mode 100644
index 000000000000..0cb57d4f75bd
--- /dev/null
+++ b/devel/fpp/distinfo
@@ -0,0 +1 @@
+MD5 (fdfpp.tar.gz) = da4fc7321a9dfcc407540e1fc27e6ab0
diff --git a/devel/fpp/files/patch-aa b/devel/fpp/files/patch-aa
new file mode 100644
index 000000000000..af2ea38f6988
--- /dev/null
+++ b/devel/fpp/files/patch-aa
@@ -0,0 +1,18 @@
+--- Makefile.orig Fri Aug 16 16:31:49 1996
++++ Makefile Fri Feb 14 17:28:49 1997
+@@ -7,3 +7,15 @@
+ else echo Bad platform ; fi
+
+ dummy:
++
++bsd44:
++ @ echo "Making fpp for `uname -a` ..."
++ @ echo "============================="
++ @ echo "Read carefully fpp_license.ps before proceeding to use fpp."
++ @ echo ""
++ mkdir bsd44; cp sparc/Makefile bsd44;
++ cd $@; gmake
++
++bsd44-install:
++ $(BSD_INSTALL_PROGRAM) bsd44/fpp $(PREFIX)/bin
++ $(BSD_INSTALL_MAN) man/man1/fpp.1 $(PREFIX)/man/man1/fpp.1
diff --git a/devel/fpp/files/patch-ab b/devel/fpp/files/patch-ab
new file mode 100644
index 000000000000..23c5d719ea19
--- /dev/null
+++ b/devel/fpp/files/patch-ab
@@ -0,0 +1,38 @@
+*** src/Makefile.common.orig Mon Dec 30 17:31:01 1996
+--- src/Makefile.common Mon Dec 30 17:31:20 1996
+***************
+*** 21,27 ****
+ fpp: $(OBJ) $(OBJ1) $(EXTRA_LIB)
+ $(CC) $(COPTS) -o $@ $(OBJ) $(OBJ1) $(EXTRA_LIB)
+
+! $(OBJ): $$(@:%.o=$(SRC)/%.c)
+ $(CC) -c $(ALL_OPTS) $(@:%.o=$(SRC)/%.c)
+
+ y.tab.o: y.tab.c
+--- 21,27 ----
+ fpp: $(OBJ) $(OBJ1) $(EXTRA_LIB)
+ $(CC) $(COPTS) -o $@ $(OBJ) $(OBJ1) $(EXTRA_LIB)
+
+! $(OBJ): #$$(@:%.o=$(SRC)/%.c)
+ $(CC) -c $(ALL_OPTS) $(@:%.o=$(SRC)/%.c)
+
+ y.tab.o: y.tab.c
+***************
+*** 35,42 ****
+ lint: $(LINTFILES)
+ $(LINT) $(LINTFILES)
+
+! $(LINTFILES): $$(@:%.ln=$(SRC)/%.c)
+! $(LINT) $(LOPTS) $(EXTRA_DEF) $(EXTRA_INC) $(@:%.ln=$(SRC)/%.c)
+
+ clean:
+ $(RM) fpp *.o y.tab.c $(LINTFILES)
+--- 35,42 ----
+ lint: $(LINTFILES)
+ $(LINT) $(LINTFILES)
+
+! #$(LINTFILES): $$(@:%.ln=$(SRC)/%.c)
+! # $(LINT) $(LOPTS) $(EXTRA_DEF) $(EXTRA_INC) $(@:%.ln=$(SRC)/%.c)
+
+ clean:
+ $(RM) fpp *.o y.tab.c $(LINTFILES)
diff --git a/devel/fpp/pkg-comment b/devel/fpp/pkg-comment
new file mode 100644
index 000000000000..af1536fe9412
--- /dev/null
+++ b/devel/fpp/pkg-comment
@@ -0,0 +1,2 @@
+Fortran preprocessor for FORTRAN 77 and Fortran 90 programs.
+
diff --git a/devel/fpp/pkg-descr b/devel/fpp/pkg-descr
new file mode 100644
index 000000000000..bcd7aac4cf7a
--- /dev/null
+++ b/devel/fpp/pkg-descr
@@ -0,0 +1,8 @@
+fpp is a Fortran preprocessor for FORTRAN 77 and Fortran 90 programs.
+
+Historically, the source code preprocessor found in standard C compilers,
+cpp, has been used to provide Fortran programmers with preprocessing
+capabilities. However, cpp is too closely tied into the C language syntax
+and source line format to be used without careful scrutiny. The proposed
+Fortran PreProcessor, fpp, would provide Fortran-specific source code
+capabilities that C programmers have come to expect in UNIX environments.
diff --git a/devel/fpp/pkg-plist b/devel/fpp/pkg-plist
new file mode 100644
index 000000000000..2d6a3044e947
--- /dev/null
+++ b/devel/fpp/pkg-plist
@@ -0,0 +1,5 @@
+bin/fpp
+man/man1/fpp.1.gz
+share/doc/fpp/README
+share/doc/fpp/fpp_spec
+share/doc/fpp/fpp_license.ps