mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
fpp is a Fortran preprocessor for FORTRAN 77 and Fortran 90 programs.
Closes PR: ports/2329 Submitted by: vazquez@iqm.unicamp.br
This commit is contained in:
parent
7347d36e7f
commit
8c007e93a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5654
29
devel/fpp/Makefile
Normal file
29
devel/fpp/Makefile
Normal file
@ -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>
|
1
devel/fpp/distinfo
Normal file
1
devel/fpp/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (fdfpp.tar.gz) = da4fc7321a9dfcc407540e1fc27e6ab0
|
18
devel/fpp/files/patch-aa
Normal file
18
devel/fpp/files/patch-aa
Normal file
@ -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
|
38
devel/fpp/files/patch-ab
Normal file
38
devel/fpp/files/patch-ab
Normal file
@ -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)
|
2
devel/fpp/pkg-comment
Normal file
2
devel/fpp/pkg-comment
Normal file
@ -0,0 +1,2 @@
|
||||
Fortran preprocessor for FORTRAN 77 and Fortran 90 programs.
|
||||
|
8
devel/fpp/pkg-descr
Normal file
8
devel/fpp/pkg-descr
Normal file
@ -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.
|
5
devel/fpp/pkg-plist
Normal file
5
devel/fpp/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user