From 0b9569e477ac1a8defb7241d55e3025e03deccc2 Mon Sep 17 00:00:00 2001 From: adrianp Date: Sat, 16 Sep 2006 21:39:30 +0000 Subject: If we're installing the man files we need perl and texi2html to generate them. This will finish off the following commit: http://mail-index.netbsd.org/pkgsrc-changes/2006/09/16/0029.html --- emulators/qemu/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'emulators/qemu') diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 27cbfc5a58d..caa52951419 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2006/09/16 12:09:09 hira Exp $ +# $NetBSD: Makefile,v 1.41 2006/09/16 21:39:30 adrianp Exp $ # DISTNAME= qemu-0.8.2 @@ -13,9 +13,11 @@ COMMENT= CPU emulator using dynamic translation CONFLICTS+= qemu-bin-* NOT_FOR_PLATFORM= NetBSD-1.[0-6]*-* -USE_TOOLS+= gmake +USE_TOOLS+= gmake perl:build HAS_CONFIGURE= yes +BUILD_DEPENDS+= texi2html-[0-9]*:../../textproc/texi2html + .include "../../mk/bsd.prefs.mk" GCC_REQD+= 3.0 @@ -40,6 +42,8 @@ SUBST_FILES.smbd= vl.c SUBST_SED.smbd= -e s,/usr/sbin/smbd,${PREFIX:Q}/sbin/smbd,g SUBST_MESSAGE.smbd= Fixing hardcoded paths. +REPLACE_PERL+= texi2pod.pl + # Remove -march/-mcpu from CFLAGS, otherwise it will fail # to build in the SSE code. BUILDLINK_TRANSFORM+= rm-optarg:-march rm-optarg:-mcpu @@ -55,6 +59,9 @@ post-install: ${INSTALL_DATA} ${FILESDIR:Q}/Makefile.multinode-NetBSD \ ${PREFIX:Q}/share/doc/qemu/ + ${INSTALL_MAN} ${WRKSRC}/qemu.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/qemu-img.1 ${PREFIX}/${PKGMANDIR}/man1 + .include "../../devel/SDL/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" -- cgit v1.2.3