diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-04-11 21:35:21 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-04-11 21:35:21 +0000 |
commit | 3740c3715e7385508a3f22fbb6944b38d407c9af (patch) | |
tree | fb564918d5e622b5a83f559d3e966eca60e0fa7e /pkgtools/pkgdiff/Makefile | |
parent | ed1ca38b6e41fc772582126241923b18543dcb8d (diff) | |
download | pkgsrc-3740c3715e7385508a3f22fbb6944b38d407c9af.tar.gz |
Add pre-generated .0 manpages; only regen under SunOS or AIX.
Diffstat (limited to 'pkgtools/pkgdiff/Makefile')
-rw-r--r-- | pkgtools/pkgdiff/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile index 10886f86eaf..bf0002e9a65 100644 --- a/pkgtools/pkgdiff/Makefile +++ b/pkgtools/pkgdiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2004/02/10 23:53:33 jlam Exp $ +# $NetBSD: Makefile,v 1.48 2004/04/11 21:35:21 jschauma Exp $ # DISTNAME= pkgdiff-0.113 @@ -33,7 +33,6 @@ DEPENDS+= diffutils-[0-9]*:../../devel/diffutils DIFF?= gdiff MANINSTALL= .else -NROFF= nroff DIFF?= diff .endif @@ -60,7 +59,11 @@ do-build: ${CP} ${FILESDIR}/pkgvi ${WRKSRC} .if !empty(MANINSTALL:Mcatinstall) . for FILE in mkpatches patchdiff pkgdiff pkgvi - ${NROFF} -mandoc ${FILESDIR}/${FILE}.1 >${WRKSRC}/${FILE}.0 +. if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" + nroff -man ${FILESDIR}/${FILE}.1 >${WRKSRC}/${FILE}.0 +. else + ${CP} ${FILESDIR}/${FILE}.0 ${WRKSRC}/${FILE}.0 +. endif . endfor .endif |