Restore the catman page installation. This reverts the fix for PR#42533,
and ensures that the manual pages can now be read on SunOS, however it should not affect HP-UX support as this package now pulls in nroff as a tool to correctly generate the catman page. Bump PKGREVISION.
This commit is contained in:
parent
bf0239968f
commit
1b1a7827c6
3 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.63 2013/04/06 11:39:25 rodent Exp $
|
||||
# $NetBSD: Makefile,v 1.64 2013/09/12 11:26:30 jperkin Exp $
|
||||
|
||||
DISTNAME= f2c-20100903 # see notes below
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
|
||||
|
@ -14,8 +15,8 @@ WRKSRC= ${WRKDIR}/f2c
|
|||
|
||||
BUILD_DIRS= src
|
||||
USE_BSD_MAKEFILE= yes
|
||||
MAKE_ENV+= MKCATPAGES=no
|
||||
INSTALLATION_DIRS= bin share/doc/f2c ${PKGMANDIR}/man1
|
||||
USE_TOOLS= nroff
|
||||
INSTALLATION_DIRS= bin share/doc/f2c ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
|
@ -44,6 +45,11 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/src/f2c ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/f2c-f77 ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/f2c.1t ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/f2c.1
|
||||
.if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
|
||||
${INSTALL_DATA} ${WRKSRC}/f2c.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/f2c.1
|
||||
.else
|
||||
${INSTALL_DATA} ${WRKSRC}/f2c.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/f2c.0
|
||||
.endif
|
||||
.for f in changes f2c.ps f2c.pdf
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/f2c/${f}
|
||||
.endfor
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.9 2011/11/29 19:01:41 darcy Exp $
|
||||
@comment $NetBSD: PLIST,v 1.10 2013/09/12 11:26:30 jperkin Exp $
|
||||
bin/f2c
|
||||
bin/f2c-f77
|
||||
man/cat1/f2c.0
|
||||
man/man1/f2c.1
|
||||
share/doc/f2c/changes
|
||||
share/doc/f2c/f2c.pdf
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Makefile for f2c, a Fortran 77 to C converter
|
||||
|
||||
PROG= f2c
|
||||
MAN= f2c.1
|
||||
SRCS= main.c init.c gram.c lex.c proc.c equiv.c data.c format.c \
|
||||
expr.c exec.c intr.c io.c misc.c error.c mem.c names.c \
|
||||
output.c p1output.c pread.c put.c putpcc.c vax.c formatdata.c \
|
||||
|
|
Loading…
Reference in a new issue