2011-01-10 13:31:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2011/01/10 12:31:41 obache Exp $
|
2001-02-09 15:25:48 +01:00
|
|
|
#
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= tits-1.2.2
|
2006-09-28 09:07:15 +02:00
|
|
|
PKGREVISION= 1
|
2001-02-09 15:25:48 +01:00
|
|
|
CATEGORIES= sysutils
|
2007-02-22 20:26:05 +01:00
|
|
|
MASTER_SITES= http://www.mctavish.co.uk/tits/
|
2001-02-09 15:25:48 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= scw@NetBSD.org
|
2011-01-10 13:31:41 +01:00
|
|
|
HOMEPAGE= http://www.mctavish.co.uk/tits/
|
2003-07-21 19:24:16 +02:00
|
|
|
COMMENT= Server which provides telnet(1) access to one or more tty ports
|
2011-01-10 13:15:13 +01:00
|
|
|
LICENSE= original-bsd
|
2001-02-09 15:25:48 +01:00
|
|
|
|
2008-12-18 15:48:01 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
|
2006-09-28 09:07:15 +02:00
|
|
|
RCD_SCRIPTS= tits
|
2001-02-09 15:25:48 +01:00
|
|
|
|
2008-12-18 15:48:01 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 ${PKGMANDIR}/cat8 sbin \
|
|
|
|
share/examples/rc.d
|
2001-02-09 15:25:48 +01:00
|
|
|
|
2008-12-18 15:48:01 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= BINDIR=${PREFIX}/sbin
|
2006-09-28 09:07:15 +02:00
|
|
|
|
2001-02-09 15:25:48 +01:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/tits.8 ${WRKSRC}/tits.8.in
|
2002-06-04 11:08:32 +02:00
|
|
|
${SED} -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g' \
|
|
|
|
-e 's|/usr/local|${PREFIX}|g' \
|
|
|
|
${WRKSRC}/tits.8.in > ${WRKSRC}/tits.8
|
2001-02-09 15:25:48 +01:00
|
|
|
|
|
|
|
post-install:
|
2008-12-18 15:48:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tits.conf ${DESTDIR}${PREFIX}/share/examples/
|
2001-02-09 15:25:48 +01:00
|
|
|
|
2011-01-10 13:28:12 +01:00
|
|
|
.include "../../security/tcp_wrappers/buildlink3.mk"
|
2001-02-09 15:25:48 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|