move man pages to section 3f

This commit is contained in:
steven 2007-09-05 15:32:19 +00:00
parent 6eecbb1f12
commit b06c6c7b4b
8 changed files with 1488 additions and 1487 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2006/11/03 08:29:00 steven Exp $
# $OpenBSD: Makefile,v 1.7 2007/09/05 15:32:19 steven Exp $
COMMENT= "Basic Linear Algebra Subprograms"
VERSION= 1.0
DISTNAME= blas
PKGNAME= ${DISTNAME}-${VERSION}p0
PKGNAME= ${DISTNAME}-${VERSION}p1
SHARED_LIBS= blas 1.0
CATEGORIES= math
@ -37,10 +37,10 @@ MANSRC= ${WRKDIR}/${DISTNAME}/man/manl
post-build:
@rm -f ${MANSRC}/{lsame,xerbla}.l
@perl -pi -e 's/(\.TH\s+\w+)\s+l(.*)/\1 3\2/' ${MANSRC}/*.l
@cd ${MANSRC} && for m in *.l; do mv $$m $${m%\.l}.3; done
@perl -pi -e 's/(\.TH\s+\w+)\s+l(.*)/\1 3f\2/' ${MANSRC}/*.l
@cd ${MANSRC} && for m in *.l; do mv $$m $${m%\.l}.3f; done
post-install:
${INSTALL_MAN} ${MANSRC}/*.3 ${PREFIX}/man/man3
${INSTALL_MAN} ${MANSRC}/*.3f ${PREFIX}/man/man3f
.include <bsd.port.mk>

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-blas_man_manl_cscal_l,v 1.1 2006/04/01 19:02:24 steven Exp $
$OpenBSD: patch-blas_man_manl_cscal_l,v 1.2 2007/09/05 15:32:19 steven Exp $
--- blas/man/manl/cscal.l.orig Sat Apr 1 19:54:03 2006
+++ blas/man/manl/cscal.l Sat Apr 1 19:54:11 2006
@@ -1,4 +1,4 @@
-.SH NAME
+.TH CSCAL 3
+.TH CSCAL 3f
.SH SYNOPSIS
.TP 31

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-blas_man_manl_dcabs1_l,v 1.1 2006/04/01 19:02:24 steven Exp $
$OpenBSD: patch-blas_man_manl_dcabs1_l,v 1.2 2007/09/05 15:32:19 steven Exp $
--- blas/man/manl/dcabs1.l.orig Sat Apr 1 19:54:21 2006
+++ blas/man/manl/dcabs1.l Sat Apr 1 19:54:33 2006
@@ -1,4 +1,4 @@
-.SH NAME
+.TH DCABS1 3
+.TH DCABS1 3f
.SH SYNOPSIS
.TP 17

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-blas_man_manl_zrotg_l,v 1.1 2006/04/01 19:02:24 steven Exp $
$OpenBSD: patch-blas_man_manl_zrotg_l,v 1.2 2007/09/05 15:32:19 steven Exp $
--- blas/man/manl/zrotg.l.orig Sat Apr 1 19:54:40 2006
+++ blas/man/manl/zrotg.l Sat Apr 1 19:54:47 2006
@@ -1,4 +1,4 @@
-.SH NAME
+.TH ZROTG 3
+.TH ZROTG 3f
.SH SYNOPSIS
.TP 28

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-blas_man_manl_zscal_l,v 1.1 2006/04/01 19:02:24 steven Exp $
$OpenBSD: patch-blas_man_manl_zscal_l,v 1.2 2007/09/05 15:32:19 steven Exp $
--- blas/man/manl/zscal.l.orig Sat Apr 1 19:54:57 2006
+++ blas/man/manl/zscal.l Sat Apr 1 19:55:17 2006
@@ -1,4 +1,4 @@
-.SH NAME
+.TH ZSCAL 3
+.TH ZSCAL 3f
.SH SYNOPSIS
.TP 31

View File

@ -1,105 +1,105 @@
@comment $OpenBSD: PLIST,v 1.2 2006/04/01 19:02:24 steven Exp $
@comment $OpenBSD: PLIST,v 1.3 2007/09/05 15:32:19 steven Exp $
%%SHARED%%
lib/libblas.a
lib/libblas_p.a
lib/libblas_pic.a
@man man/man3/cgbmv.3
@man man/man3/cgemm.3
@man man/man3/cgemv.3
@man man/man3/cgerc.3
@man man/man3/cgeru.3
@man man/man3/chbmv.3
@man man/man3/chemm.3
@man man/man3/chemv.3
@man man/man3/cher.3
@man man/man3/cher2.3
@man man/man3/cher2k.3
@man man/man3/cherk.3
@man man/man3/chpmv.3
@man man/man3/chpr.3
@man man/man3/chpr2.3
@man man/man3/cscal.3
@man man/man3/csymm.3
@man man/man3/csyr2k.3
@man man/man3/csyrk.3
@man man/man3/ctbmv.3
@man man/man3/ctbsv.3
@man man/man3/ctpmv.3
@man man/man3/ctpsv.3
@man man/man3/ctrmm.3
@man man/man3/ctrmv.3
@man man/man3/ctrsm.3
@man man/man3/ctrsv.3
@man man/man3/dcabs1.3
@man man/man3/dgbmv.3
@man man/man3/dgemm.3
@man man/man3/dgemv.3
@man man/man3/dger.3
@man man/man3/dsbmv.3
@man man/man3/dspmv.3
@man man/man3/dspr.3
@man man/man3/dspr2.3
@man man/man3/dsymm.3
@man man/man3/dsymv.3
@man man/man3/dsyr.3
@man man/man3/dsyr2.3
@man man/man3/dsyr2k.3
@man man/man3/dsyrk.3
@man man/man3/dtbmv.3
@man man/man3/dtbsv.3
@man man/man3/dtpmv.3
@man man/man3/dtpsv.3
@man man/man3/dtrmm.3
@man man/man3/dtrmv.3
@man man/man3/dtrsm.3
@man man/man3/dtrsv.3
@man man/man3/sgbmv.3
@man man/man3/sgemm.3
@man man/man3/sgemv.3
@man man/man3/sger.3
@man man/man3/ssbmv.3
@man man/man3/sspmv.3
@man man/man3/sspr.3
@man man/man3/sspr2.3
@man man/man3/ssymm.3
@man man/man3/ssymv.3
@man man/man3/ssyr.3
@man man/man3/ssyr2.3
@man man/man3/ssyr2k.3
@man man/man3/ssyrk.3
@man man/man3/stbmv.3
@man man/man3/stbsv.3
@man man/man3/stpmv.3
@man man/man3/stpsv.3
@man man/man3/strmm.3
@man man/man3/strmv.3
@man man/man3/strsm.3
@man man/man3/strsv.3
@man man/man3/zgbmv.3
@man man/man3/zgemm.3
@man man/man3/zgemv.3
@man man/man3/zgerc.3
@man man/man3/zgeru.3
@man man/man3/zhbmv.3
@man man/man3/zhemm.3
@man man/man3/zhemv.3
@man man/man3/zher.3
@man man/man3/zher2.3
@man man/man3/zher2k.3
@man man/man3/zherk.3
@man man/man3/zhpmv.3
@man man/man3/zhpr.3
@man man/man3/zhpr2.3
@man man/man3/zrotg.3
@man man/man3/zscal.3
@man man/man3/zsymm.3
@man man/man3/zsyr2k.3
@man man/man3/zsyrk.3
@man man/man3/ztbmv.3
@man man/man3/ztbsv.3
@man man/man3/ztpmv.3
@man man/man3/ztpsv.3
@man man/man3/ztrmm.3
@man man/man3/ztrmv.3
@man man/man3/ztrsm.3
@man man/man3/ztrsv.3
@man man/man3f/cgbmv.3f
@man man/man3f/cgemm.3f
@man man/man3f/cgemv.3f
@man man/man3f/cgerc.3f
@man man/man3f/cgeru.3f
@man man/man3f/chbmv.3f
@man man/man3f/chemm.3f
@man man/man3f/chemv.3f
@man man/man3f/cher.3f
@man man/man3f/cher2.3f
@man man/man3f/cher2k.3f
@man man/man3f/cherk.3f
@man man/man3f/chpmv.3f
@man man/man3f/chpr.3f
@man man/man3f/chpr2.3f
@man man/man3f/cscal.3f
@man man/man3f/csymm.3f
@man man/man3f/csyr2k.3f
@man man/man3f/csyrk.3f
@man man/man3f/ctbmv.3f
@man man/man3f/ctbsv.3f
@man man/man3f/ctpmv.3f
@man man/man3f/ctpsv.3f
@man man/man3f/ctrmm.3f
@man man/man3f/ctrmv.3f
@man man/man3f/ctrsm.3f
@man man/man3f/ctrsv.3f
@man man/man3f/dcabs1.3f
@man man/man3f/dgbmv.3f
@man man/man3f/dgemm.3f
@man man/man3f/dgemv.3f
@man man/man3f/dger.3f
@man man/man3f/dsbmv.3f
@man man/man3f/dspmv.3f
@man man/man3f/dspr.3f
@man man/man3f/dspr2.3f
@man man/man3f/dsymm.3f
@man man/man3f/dsymv.3f
@man man/man3f/dsyr.3f
@man man/man3f/dsyr2.3f
@man man/man3f/dsyr2k.3f
@man man/man3f/dsyrk.3f
@man man/man3f/dtbmv.3f
@man man/man3f/dtbsv.3f
@man man/man3f/dtpmv.3f
@man man/man3f/dtpsv.3f
@man man/man3f/dtrmm.3f
@man man/man3f/dtrmv.3f
@man man/man3f/dtrsm.3f
@man man/man3f/dtrsv.3f
@man man/man3f/sgbmv.3f
@man man/man3f/sgemm.3f
@man man/man3f/sgemv.3f
@man man/man3f/sger.3f
@man man/man3f/ssbmv.3f
@man man/man3f/sspmv.3f
@man man/man3f/sspr.3f
@man man/man3f/sspr2.3f
@man man/man3f/ssymm.3f
@man man/man3f/ssymv.3f
@man man/man3f/ssyr.3f
@man man/man3f/ssyr2.3f
@man man/man3f/ssyr2k.3f
@man man/man3f/ssyrk.3f
@man man/man3f/stbmv.3f
@man man/man3f/stbsv.3f
@man man/man3f/stpmv.3f
@man man/man3f/stpsv.3f
@man man/man3f/strmm.3f
@man man/man3f/strmv.3f
@man man/man3f/strsm.3f
@man man/man3f/strsv.3f
@man man/man3f/zgbmv.3f
@man man/man3f/zgemm.3f
@man man/man3f/zgemv.3f
@man man/man3f/zgerc.3f
@man man/man3f/zgeru.3f
@man man/man3f/zhbmv.3f
@man man/man3f/zhemm.3f
@man man/man3f/zhemv.3f
@man man/man3f/zher.3f
@man man/man3f/zher2.3f
@man man/man3f/zher2k.3f
@man man/man3f/zherk.3f
@man man/man3f/zhpmv.3f
@man man/man3f/zhpr.3f
@man man/man3f/zhpr2.3f
@man man/man3f/zrotg.3f
@man man/man3f/zscal.3f
@man man/man3f/zsymm.3f
@man man/man3f/zsyr2k.3f
@man man/man3f/zsyrk.3f
@man man/man3f/ztbmv.3f
@man man/man3f/ztbsv.3f
@man man/man3f/ztpmv.3f
@man man/man3f/ztpsv.3f
@man man/man3f/ztrmm.3f
@man man/man3f/ztrmv.3f
@man man/man3f/ztrsm.3f
@man man/man3f/ztrsv.3f

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2007/03/24 14:06:54 steven Exp $
# $OpenBSD: Makefile,v 1.7 2007/09/05 15:33:35 steven Exp $
COMMENT= "library of Fortran 77 linear algebra subroutines"
DISTNAME= lapack-3.1.1
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= lapack 5.0
@ -39,14 +40,14 @@ WRKSRC= ${WRKDIST}/SRC
# avoid 'unknown manpage type' errors and move manpages to section 3
pre-configure:
cd ${WRKDIST}/manpages/man/manl && \
perl -pi -e 's/(\.TH\s+\w+)\s+1(.*)/\1 3\2/' *.l && \
perl -pi -e 's/(\.TH\s+\w+)\s+1(.*)/\1 3f\2/' *.l && \
for m in *.l ; do if ! egrep '^\.TH' $$m >/dev/null ; then \
perl -pi -e "s/(.SH NAME)/.TH \U$${m%\.l} 3\n\1/" $$m ; fi ; \
mv $$m $${m%\.l}.3 ; done
perl -pi -e "s/(.SH NAME)/.TH \U$${m%\.l} 3f\n\1/" $$m ; fi ; \
mv $$m $${m%\.l}.3f ; done
cp ${WRKDIST}/make.inc.example ${WRKDIST}/make.inc
post-install:
${INSTALL_MAN} ${WRKDIST}/manpages/man/manl/*.3 ${PREFIX}/man/man3/
${INSTALL_MAN} ${WRKDIST}/manpages/man/manl/*.3f ${PREFIX}/man/man3f/
do-regress:
cd ${WRKDIST}/TESTING/MATGEN && ${MAKE} ${REGRESS_FLAGS}

File diff suppressed because it is too large Load Diff