summaryrefslogtreecommitdiffstats
path: root/net/freenx/Makefile
blob: 5f69e398cc899ec6ed6c0b8ebd0dec93c7906cac (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
38
39
40
41
42
# New ports collection makefile for:    freenx
# Date created:                         Sat 11 Sep 2004
# Whom:                                 Lauri Watts <lauri@kde.org>
#
# $FreeBSD$
#

PORTNAME=	freenx
PORTVERSION=	0.4.4
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://download.berlios.de/freenx/ \
		http://debian.tu-bs.de/knoppix/nx/

MAINTAINER=	freenx@deweyonline.com
COMMENT=	Frontend (auth/session management) for nxserver libraries

RUN_DEPENDS=	${NXPREFIX}/bin/nxagent:${PORTSDIR}/net/nxserver \
		bash:${PORTSDIR}/shells/bash \
		expect:${PORTSDIR}/lang/expect \
		xauth:${X_CLIENTS_PORT}

NO_BUILD=	yes

USE_X_PREFIX=	yes
NXPREFIX?=	${PREFIX}/NX
WRKSRC=		${WRKDIR}

do-install:
	${MKDIR} ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxclient ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxnode ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxnode-login ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxserver ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxsetup ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxkeygen ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxloadconfig ${NXPREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/nxprint ${NXPREFIX}/bin
	${MKDIR} ${NXPREFIX}/etc/nxserver
	${INSTALL_SCRIPT} ${WRKSRC}/freenx-0.4.4/node.conf.sample ${NXPREFIX}/etc/nxserver

.include <bsd.port.mk>
OpenPOWER on IntegriCloud