From 06873780ac490d731422c8735b0aab30dc3b01d0 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Sat, 5 Aug 2006 09:54:43 +0000 Subject: [PATCH] Fix build after DESTDIR patch. Submitted by: gabor --- net/mopd/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/net/mopd/Makefile b/net/mopd/Makefile index 9052837a65d8..45f482186406 100644 --- a/net/mopd/Makefile +++ b/net/mopd/Makefile @@ -15,28 +15,25 @@ MASTER_SITE_SUBDIR= obrien DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ VAX-netboot-HOWTO VS3100-console-cmds.txt .endif +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= obrien@FreeBSD.org COMMENT= MOP Loader Daemon for netbooting DEC machines -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -# MANDIR is concetenated to DESTDIR which all forms the man install dir... - .include -MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man NOMANCOMPRESS=true +MAKE_ENV= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man NOMANCOMPRESS=true MAN1= mopprobe.1 moptrace.1 mopchk.1 mopa.out.1 MAN8= mopd.8 do-configure: - @${REINPLACE_CMD} -e 's:/usr/sbin:/sbin:' ${WRKSRC}/Makefile.inc @${REINPLACE_CMD} -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/mopd + @${MKDIR} ${DOCSDIR} @${INSTALL_MAN} ${DISTDIR}/VAX-netboot-HOWTO \ - ${DISTDIR}/VS3100-console-cmds.txt ${PREFIX}/share/doc/mopd + ${DISTDIR}/VS3100-console-cmds.txt ${DOCSDIR} .endif .include