blob: ad0737ea367f5823b8d817e7312f9e369204dd94 (
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
32
33
34
|
# $NetBSD: Makefile,v 1.20 2008/01/05 14:12:40 rillig Exp $
#
DISTNAME= tits-1.2.2
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.mctavish.co.uk/tits/
MAINTAINER= scw@NetBSD.org
COMMENT= Server which provides telnet(1) access to one or more tty ports
BINDIR= ${PREFIX}/sbin
MANDIR= ${PREFIX}/man
MAKE_ENV+= BINDIR=${BINDIR:Q} MANDIR=${MANDIR:Q}
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP}
RCD_SCRIPTS= tits
MANCOMPRESSED_IF_MANZ= yes
AUTO_MKDIRS= yes
pre-install:
${INSTALL_MAN_DIR} ${MANDIR}/cat8
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 ${PREFIX}/share/examples/
.include "../../mk/bsd.pkg.mk"
|