diff options
author | jschauma <jschauma> | 2004-04-11 18:14:53 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2004-04-11 18:14:53 +0000 |
commit | a6e712f646717d6783320b26f2ee0287953a2495 (patch) | |
tree | 26587b1ff40a5b52b9b072211178f24eb1dae9ee /security | |
parent | d28bc99a3864ea2ab0052970e42961c1817e4fde (diff) | |
download | pkgsrc-a6e712f646717d6783320b26f2ee0287953a2495.tar.gz |
Rethink the nroff dilemma:
only regen on SunOS or AIX - the pre-generated pages _are_ mandoc type
pages, so we can use them on more platforms than just Irix.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/Makefile | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index ea6b4cdf9eb..d21ca2ee4e9 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2004/04/09 16:06:59 jschauma Exp $ +# $NetBSD: Makefile,v 1.46 2004/04/11 18:14:53 jschauma Exp $ DISTNAME= audit-packages-1.29 CATEGORIES= security pkgtools @@ -20,14 +20,6 @@ INSTALLATION_DIRS= man/cat8 man/man8 sbin .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" -# This doesn't create readable manual pages. "mandoc" should be added -# to zoularis. -NROFF= nroff -man -.else -NROFF= nroff -mandoc -.endif - do-build: @for f in audit-packages audit-packages.0 audit-packages.8 \ download-vulnerability-list; do \ @@ -46,10 +38,10 @@ do-build: -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \ ${FILESDIR}/$$f > ${WRKSRC}/$$f; \ done -.if ${OPSYS} == "IRIX" - ${CP} ${FILESDIR}/audit-packages.0 ${WRKSRC}/audit-packages.0 -.else - ${NROFF} ${WRKSRC}/audit-packages.8 >${WRKSRC}/audit-packages.0 +.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" + # pre-created man-pages are "mandoc" pages, these OS need "man", + # so regen the .0 page + nroff -man ${WRKSRC}/audit-packages.8 >${WRKSRC}/audit-packages.0 .endif do-install: |