freebsd-ports/net/mopd/Makefile
Maxim Sobolev 499f6035b3 Use USE_PERL5_BUILD where appropriate, instead of hardcoding
${PORTSDIR}/lang/perl5 as a dependency.

Sponsored by:	Porta Software Ltd
Approved by:	portmgr
2002-11-28 18:05:49 +00:00

44 lines
1.2 KiB
Makefile

# 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
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
# MANDIR is concetenated to DESTDIR which all forms the man install dir...
USE_PERL5_BUILD= yes
MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man NOMANCOMPRESS=true
MAN1= mopprobe.1 moptrace.1 mopchk.1 mopa.out.1
MAN8= mopd.8
do-configure:
@${PERL} -pi.orig -e 's:/usr/sbin:/sbin:' ${WRKSRC}/Makefile.inc
@${PERL} -pi.orig -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.mk>