summaryrefslogtreecommitdiff
path: root/sysutils/tits/Makefile
blob: 8c91be9de78d47dbd52b6422287d278b3794aa1e (plain)
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
# $NetBSD: Makefile,v 1.27 2015/04/26 14:38:10 mef Exp $

DISTNAME=	tits-1.3.0
CATEGORIES=	sysutils
MASTER_SITES=	http://www.mctavish.co.uk/tits/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.mctavish.co.uk/tits/
COMMENT=	Server which provides telnet(1) access to one or more tty ports
LICENSE=	original-bsd

USE_BSD_MAKEFILE=	yes

RCD_SCRIPTS=	tits

INSTALLATION_DIRS=	${PKGMANDIR}/man8 ${PKGMANDIR}/cat8 sbin \
			share/examples/rc.d

INSTALL_MAKE_FLAGS+=	BINDIR=${PREFIX}/sbin

post-patch:
	${MV} ${WRKSRC}/tits.8 ${WRKSRC}/tits.8.in
	${SED} -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g'	\
	   -e 's|/usr/local|${PREFIX}|g'			\
	   ${WRKSRC}/tits.8.in > ${WRKSRC}/tits.8

post-install:
	${INSTALL_DATA} ${WRKSRC}/tits.conf ${DESTDIR}${PREFIX}/share/examples/

.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"