aboutsummaryrefslogtreecommitdiff
path: root/net/mopd
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-08-11 19:32:37 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-08-11 19:32:37 +0000
commit1d9f02eb2f7cbf53a000b5df9e7097a2281b3415 (patch)
tree3a0e66819cf7b735ac305a7a4f4dbe4c67e864c8 /net/mopd
parent636904cbfad15b6360363b089b57d0512d3ca8ff (diff)
downloadports-1d9f02eb2f7cbf53a000b5df9e7097a2281b3415.tar.gz
ports-1d9f02eb2f7cbf53a000b5df9e7097a2281b3415.zip
Notes
Diffstat (limited to 'net/mopd')
-rw-r--r--net/mopd/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/net/mopd/Makefile b/net/mopd/Makefile
index 34a72a428f0d..ae7f73f66278 100644
--- a/net/mopd/Makefile
+++ b/net/mopd/Makefile
@@ -24,15 +24,19 @@ 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...
-USE_PERL5_BUILD= yes
+.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:
- @${PERL} -pi.orig -e 's:/usr/sbin:/sbin:' ${WRKSRC}/Makefile.inc
- @${PERL} -pi.orig -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile
+ @${REINPLACE_CMD} -e 's:/usr/sbin:/sbin:' ${WRKSRC}/Makefile.inc
+ @${REINPLACE_CMD} -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile
post-install:
.if !defined(NOPORTDOCS)
@@ -41,4 +45,4 @@ post-install:
${DISTDIR}/VS3100-console-cmds.txt ${PREFIX}/share/doc/mopd
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>