summaryrefslogtreecommitdiff
path: root/comms/xisp/Makefile
blob: c8223c5b83fbc559aaf5dbdb844354f487663925 (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
35
36
37
# $NetBSD: Makefile,v 1.38 2017/09/06 09:03:00 wiz Exp $
#

DISTNAME=		xisp-2.7p4
PKGREVISION=		3
CATEGORIES=		comms x11
MASTER_SITES=		https://xisp.hellug.gr/release/
MASTER_SITES+=		${MASTER_SITE_SUNSITE:=system/network/serial/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://xisp.hellug.gr/
COMMENT=		User-friendly X11 interface to pppd/chat

BUILD_DEFS+=		VARBASE
PKG_GROUPS=		${DIALER_GROUP}
PKG_GROUPS_VARS+=	DIALER_GROUP
MAKE_ENV+=		DIALER_GROUP="${DIALER_GROUP}"
MAKE_ENV+=		VARBASE=${VARBASE:Q}
MAKE_ENV+=		INSTALL=${TOOLS_PATH.install:Q}
MESSAGE_SUBST+=		DIALER_GROUP=${DIALER_GROUP}
# XXX TODO: maybe do MODEM_DEV also?

INSTALLATION_DIRS+=	share/doc/xisp
PKG_DESTDIR_SUPPORT=	destdir
NOT_FOR_UNPRIVILEGED=	yes

CFLAGS.SunOS+=		-DSUNOS5x
LDFLAGS.SunOS+=		-lsocket -lnsl

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xisp/
	${INSTALL_DATA} ${WRKSRC}/SECURITY ${DESTDIR}${PREFIX}/share/doc/xisp/

.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/xforms/buildlink3.mk"

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