summaryrefslogtreecommitdiff
path: root/comms/modemd/Makefile
blob: bd6cb0f7b714711b719ae22a4ee56967c1110c5e (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
# $NetBSD: Makefile,v 1.23 2013/09/10 14:15:11 joerg Exp $

DISTNAME=	modemd-970221
PKGNAME=	modemd-19970221
PKGREVISION=	2
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.vix.com/pub/modemd/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Replacement getty for dialup ttys and a modem server

USE_TOOLS+=	nroff

MAKE_JOBS_SAFE=		no

MANCOMPRESSED_IF_MANZ=	yes

MAKE_ENV+=	LIBS=${LIBS:Q}
USE_BSD_MAKEFILE=	yes

INSTALLATION_DIRS=	${PKGMANDIR}/cat5 ${PKGMANDIR}/man5 \
			${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 \
			sbin share/examples/modemd

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "SunOS"
LIBS+=		-lutil
.endif

LIBS.SunOS+=	-lsocket -lnsl
CFLAGS.SunOS+=	-DFILIO_H -DNO_STRING_H -DNTELOPTS=40

.include "../../mk/bsd.pkg.mk"