pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/f2c get rid of the catpage. Should close PR 42533.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce103363fd97
branches:  trunk
changeset: 568936:ce103363fd97
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Dec 28 11:42:19 2009 +0000

description:
get rid of the catpage. Should close PR 42533.

diffstat:

 lang/f2c/Makefile     |  11 ++++++-----
 lang/f2c/PLIST        |   3 +--
 lang/f2c/files/f2c.mk |   1 -
 3 files changed, 7 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r 9342d81cb4ab -r ce103363fd97 lang/f2c/Makefile
--- a/lang/f2c/Makefile Mon Dec 28 11:26:17 2009 +0000
+++ b/lang/f2c/Makefile Mon Dec 28 11:42:19 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2009/12/20 12:27:57 jmmv Exp $
+# $NetBSD: Makefile,v 1.52 2009/12/28 11:42:19 tnn Exp $
 
 DISTNAME=      f2c-20090411    # see notes below
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 
@@ -17,8 +17,9 @@
 
 BUILD_DIRS=    src
 USE_BSD_MAKEFILE=      yes
+MAKE_ENV+=             MKCATPAGES=no
 USE_TOOLS+=            yacc
-INSTALLATION_DIRS=     bin share/doc/f2c ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
+INSTALLATION_DIRS=     bin share/doc/f2c ${PKGMANDIR}/man1
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -42,10 +43,10 @@
          -e "s;@SHELL@;${TOOLS_PLATFORM.sh:Q};g" \
         ${FILESDIR}/f2c-f77.in > ${WRKSRC}/f2c-f77
 
-post-install:
+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
-       ${INSTALL_DATA} ${WRKSRC}/f2c.1  ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/f2c.0
 .for f in changes f2c.ps f2c.pdf
        ${INSTALL_DATA} ${WRKSRC}/$f ${DESTDIR}${PREFIX}/share/doc/f2c/$f
 .endfor
diff -r 9342d81cb4ab -r ce103363fd97 lang/f2c/PLIST
--- a/lang/f2c/PLIST    Mon Dec 28 11:26:17 2009 +0000
+++ b/lang/f2c/PLIST    Mon Dec 28 11:42:19 2009 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.6 2009/12/03 12:39:59 asau Exp $
+@comment $NetBSD: PLIST,v 1.7 2009/12/28 11:42:19 tnn Exp $
 bin/f2c
 bin/f2c-f77
-man/cat1/f2c.0
 man/man1/f2c.1
 share/doc/f2c/changes
 share/doc/f2c/f2c.pdf
diff -r 9342d81cb4ab -r ce103363fd97 lang/f2c/files/f2c.mk
--- a/lang/f2c/files/f2c.mk     Mon Dec 28 11:26:17 2009 +0000
+++ b/lang/f2c/files/f2c.mk     Mon Dec 28 11:42:19 2009 +0000
@@ -1,7 +1,6 @@
 # Makefile for f2c, a Fortran 77 to C converter
 
 PROG=  f2c
-MAN=   f2c.1
 SRCS=  main.c init.c gram.y 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 \



Home | Main Index | Thread Index | Old Index