summaryrefslogtreecommitdiff
path: root/net/mopd/Makefile
blob: 2c1c494a09e0e5c09993b95a9102487fffe51ae8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ex:ts=8
# Ports collection makefile for:  mopd
# Date created:			  Sun Nov 14, 1999
# Whom:				  David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=	mopd
PORTVERSION=	2.5.3
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.stacken.kth.se/pub/OS/NetBSD/mopd/  		\
		http://world.std.com/~bdc/projects/vaxen/netboot/	\
		http://world.std.com/~bdc/projects/vaxen/		\
		http://world.std.com/~bdc/projects/vaxen/docs/
.if !defined(NOPORTDOCS)
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		VAX-netboot-HOWTO VS3100-console-cmds.txt
.endif

MAINTAINER=	obrien@FreeBSD.org
COMMENT=	MOP Loader Daemon for netbooting DEC machines

BROKEN=		"distfile unavaible since July 2004"
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=	2005-12-11

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
USE_REINPLACE=	yes
.if ${OSVERSION} >= 502126
USE_GCC=	3.3
.endif
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
	@${INSTALL_MAN} ${DISTDIR}/VAX-netboot-HOWTO  \
		${DISTDIR}/VS3100-console-cmds.txt  ${PREFIX}/share/doc/mopd
.endif

.include <bsd.port.post.mk>