diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-09-12 13:10:19 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-09-12 13:10:19 +0000 |
commit | 0a1387624419d744fd8d38a67a27922b7a12d64b (patch) | |
tree | 235054fc8243863a463c19346e103762c0886e92 /lang/f2c | |
parent | f02504f2d793e6c33e1b0452aa80fe69eb8c692d (diff) | |
download | pkgsrc-0a1387624419d744fd8d38a67a27922b7a12d64b.tar.gz |
Only install catman page if catinstall is set.
Diffstat (limited to 'lang/f2c')
-rw-r--r-- | lang/f2c/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index 121ac35f360..43dd6a0f57c 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.64 2013/09/12 11:26:30 jperkin Exp $ +# $NetBSD: Makefile,v 1.65 2013/09/12 13:10:19 jperkin Exp $ DISTNAME= f2c-20100903 # see notes below PKGREVISION= 1 @@ -45,10 +45,12 @@ 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]) +.if !empty(MANINSTALL:Mcatinstall) +. 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 +. else ${INSTALL_DATA} ${WRKSRC}/f2c.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/f2c.0 +. endif .endif .for f in changes f2c.ps f2c.pdf ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/f2c/${f} |