mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Fix build after DESTDIR patch.
Submitted by: gabor
This commit is contained in:
parent
f5fd13c7cd
commit
06873780ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169714
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user