summaryrefslogtreecommitdiff
path: root/net/qadsl/Makefile
blob: 73c401ab0367b2d4b81f3c1c74b561a22d1f6185 (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
# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:31 joerg Exp $
#
# qadsl is now GNU Alive (wip/alive)

DISTNAME=	qadsl-final-1.2
PKGNAME=	qadsl-1.2
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Login software for Swedish Telia ADSL/Comhem cable Internet users

PKG_DESTDIR_SUPPORT=	user-destdir

LIBS.SunOS+=	-lnsl -lsocket

MANCOMPRESSED=	yes

MAKE_ENV+=	LIBS=${LIBS:M*:Q}
MAKE_ENV+=	PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}

INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin share/examples

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/qadsl ${DESTDIR}${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/qadsl.conf \
		${DESTDIR}${PREFIX}/share/examples/qadsl.conf.sample
	${INSTALL_MAN} ${WRKSRC}/qadsl.8.gz ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

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