aboutsummaryrefslogtreecommitdiff
path: root/net/latd/Makefile
blob: 33d14127b9cb74f8ae54cf7873d4a19289108867 (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
# Created by: Tillman Hodgson <tillman@seekingfire.com>
# $FreeBSD$

PORTNAME=	latd
PORTVERSION=	1.31
CATEGORIES=	net
MASTER_SITES=	SF/linux-decnet/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Linux-DECnet project LAT protocol suite

LICENSE=	GPLv2

USES=		alias
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/llogin etc/latd.conf.sample \
		man/man1/llogin.1.gz man/man5/latd.conf.5.gz \
		man/man8/latd.8.gz man/man8/latcp.8.gz man/man8/moprc.8.gz \
		sbin/latcp sbin/latd sbin/moprc

post-extract:
	@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh

post-patch:
	@${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -e \
		'/<utmp.h>/s|^|// | ; \
		 s| \(setiosflags\)| std::\1| ; \
		 s| \(resetiosflags\)| std::\1|'

.include <bsd.port.mk>