aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-08-05 17:54:43 +0800
committererwin <erwin@FreeBSD.org>2006-08-05 17:54:43 +0800
commit2323406776cce4dd97a19987a9fe539f4ad83bd8 (patch)
treefe3a8075888358bfc15354745a0c6820d063f9c7 /net
parentfbced2623382c2657a611337bf64924239a73dcf (diff)
downloadfreebsd-ports-graphics-2323406776cce4dd97a19987a9fe539f4ad83bd8.tar.gz
freebsd-ports-graphics-2323406776cce4dd97a19987a9fe539f4ad83bd8.tar.zst
freebsd-ports-graphics-2323406776cce4dd97a19987a9fe539f4ad83bd8.zip
Fix build after DESTDIR patch.
Submitted by: gabor
Diffstat (limited to 'net')
-rw-r--r--net/mopd/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/mopd/Makefile b/net/mopd/Makefile
index 9052837a65d..45f48218640 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 <bsd.port.pre.mk>
-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 <bsd.port.post.mk>