diff options
author | jperkin <jperkin> | 2013-09-12 13:10:19 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-09-12 13:10:19 +0000 |
commit | 88898bb8df65601a7ea7aec86bbcaae7c21179aa (patch) | |
tree | 235054fc8243863a463c19346e103762c0886e92 /lang/f2c | |
parent | 1e19cad872d36a00a2e5e72a5005e096c702514f (diff) | |
download | pkgsrc-88898bb8df65601a7ea7aec86bbcaae7c21179aa.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} |