diff options
author | wg <wg@FreeBSD.org> | 2013-07-17 23:25:01 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-07-17 23:25:01 +0800 |
commit | 90e6d6699cf5b8a6def3e876a2f385bf543a4431 (patch) | |
tree | a2fa65a7bda2cc990cda6b72e2ae819c1bd75ddd | |
parent | ffeaf6a7f9fc55f95df5b0ba52c51788635a5561 (diff) | |
download | freebsd-ports-graphics-90e6d6699cf5b8a6def3e876a2f385bf543a4431.tar.gz freebsd-ports-graphics-90e6d6699cf5b8a6def3e876a2f385bf543a4431.tar.zst freebsd-ports-graphics-90e6d6699cf5b8a6def3e876a2f385bf543a4431.zip |
devel/fpp: minor fixes
- Trim Makefile header
- NOPORTDOCS -> PORT_OPTIONS:MDOCS
- Do not use GMAKE
- Use PLIST_FILES instead of pkg-plist
PR: ports/180578
Submitted by: Anton Shterenlikht <mexas bris.ac.uk>
-rw-r--r-- | devel/fpp/Makefile | 26 | ||||
-rw-r--r-- | devel/fpp/files/patch-Makefile | 11 | ||||
-rw-r--r-- | devel/fpp/files/patch-aa | 18 | ||||
-rw-r--r-- | devel/fpp/files/patch-sparc-Makefile (renamed from devel/fpp/files/patch-sparc::Makefile) | 0 | ||||
-rw-r--r-- | devel/fpp/files/patch-src-Makefile.common (renamed from devel/fpp/files/patch-ab) | 0 | ||||
-rw-r--r-- | devel/fpp/pkg-descr | 2 | ||||
-rw-r--r-- | devel/fpp/pkg-plist | 5 |
7 files changed, 27 insertions, 35 deletions
diff --git a/devel/fpp/Makefile b/devel/fpp/Makefile index 52364ce7591..1efec5237fb 100644 --- a/devel/fpp/Makefile +++ b/devel/fpp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: Sun fortran preprocessor fpp -# Date created: 30 January 1996 -# Whom: vazquez@iqm.unicamp.br -# +# Created by: vazquez@iqm.unicamp.br # $FreeBSD$ -# PORTNAME= fpp PORTVERSION= 1.1 @@ -17,17 +13,23 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Fortran preprocessor for FORTRAN 77 and Fortran 90 programs -USE_GMAKE= yes ALL_TARGET= bsd44 -INSTALL_TARGET= bsd44-install MAN1= fpp.1 -post-install: -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS +PORTDOCS= README fpp_spec fpp_license.ps + +PLIST_FILES= bin/fpp + +.include <bsd.port.options.mk> + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bsd44/fpp ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/man1/fpp.1 ${MANPREFIX}/man/man1 + +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/fpp_spec ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/fpp_license.ps ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/devel/fpp/files/patch-Makefile b/devel/fpp/files/patch-Makefile new file mode 100644 index 00000000000..7ed9dd4778c --- /dev/null +++ b/devel/fpp/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Fri Aug 16 16:31:49 1996 ++++ Makefile Fri Feb 14 17:28:49 1997 +@@ -7,3 +7,8 @@ + else echo Bad platform ; fi + + dummy: ++ ++bsd44: ++ @ echo "Making fpp for `uname -a` ..." ++ @ echo "Read carefully fpp_license.ps before proceeding to use fpp." ++ mkdir bsd44; cp sparc/Makefile bsd44; cd $@; $(MAKE) diff --git a/devel/fpp/files/patch-aa b/devel/fpp/files/patch-aa deleted file mode 100644 index af2ea38f698..00000000000 --- a/devel/fpp/files/patch-aa +++ /dev/null @@ -1,18 +0,0 @@ ---- 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-sparc::Makefile b/devel/fpp/files/patch-sparc-Makefile index f42a2962ba1..f42a2962ba1 100644 --- a/devel/fpp/files/patch-sparc::Makefile +++ b/devel/fpp/files/patch-sparc-Makefile diff --git a/devel/fpp/files/patch-ab b/devel/fpp/files/patch-src-Makefile.common index 9ed4e15daca..9ed4e15daca 100644 --- a/devel/fpp/files/patch-ab +++ b/devel/fpp/files/patch-src-Makefile.common diff --git a/devel/fpp/pkg-descr b/devel/fpp/pkg-descr index bcd7aac4cf7..f6de140a1b8 100644 --- a/devel/fpp/pkg-descr +++ b/devel/fpp/pkg-descr @@ -6,3 +6,5 @@ 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. + +WWW: http://netlib.org/fortran/ diff --git a/devel/fpp/pkg-plist b/devel/fpp/pkg-plist deleted file mode 100644 index 2c19c0497c8..00000000000 --- a/devel/fpp/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/fpp -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/fpp_spec -%%PORTDOCS%%%%DOCSDIR%%/fpp_license.ps -%%PORTDOCS%%@dirrm %%DOCSDIR%% |