2005-04-09 12:09:09 +00:00
|
|
|
# New ports collection makefile for: freenx
|
|
|
|
# Date created: Sat 11 Sep 2004
|
|
|
|
# Whom: Lauri Watts <lauri@kde.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freenx
|
2008-04-10 10:24:15 +00:00
|
|
|
PORTVERSION= 0.6.0
|
2010-02-05 11:46:55 +00:00
|
|
|
PORTREVISION= 2
|
2005-04-09 12:09:09 +00:00
|
|
|
CATEGORIES= net
|
2008-04-10 10:24:15 +00:00
|
|
|
MASTER_SITES= BERLIOS
|
2005-04-09 12:09:09 +00:00
|
|
|
|
|
|
|
MAINTAINER= freenx@deweyonline.com
|
2005-07-28 08:51:50 +00:00
|
|
|
COMMENT= Frontend (auth/session management) for nxserver libraries
|
2005-04-09 12:09:09 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${NXPREFIX}/bin/nxagent:${PORTSDIR}/net/nxserver \
|
2005-07-28 08:51:50 +00:00
|
|
|
bash:${PORTSDIR}/shells/bash \
|
|
|
|
expect:${PORTSDIR}/lang/expect \
|
2008-04-10 10:24:15 +00:00
|
|
|
gls:${PORTSDIR}/sysutils/coreutils \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
xauth:${PORTSDIR}/x11/xauth
|
2008-04-10 10:24:15 +00:00
|
|
|
USE_PERL5_RUN= yes
|
2005-04-09 12:09:09 +00:00
|
|
|
|
2008-04-10 10:24:15 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/nxserver-helper
|
2005-04-09 12:09:09 +00:00
|
|
|
|
|
|
|
NXPREFIX?= ${PREFIX}/NX
|
2008-04-10 10:24:15 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 601101
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-freenx-nxserver \
|
|
|
|
${PATCHDIR}/extra-patch-freenx-nxsetup
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|/usr/local/|${PREFIX}/|" \
|
|
|
|
-e "s|!/bin/bash|!${PREFIX}/bin/bash|" \
|
|
|
|
-e "s|/usr/bin/expect|${PREFIX}/bin/expect|" \
|
|
|
|
-e "s|/usr/NX|${NXPREFIX}|" \
|
|
|
|
node.conf.sample nxclient nxkeygen nxloadconfig nxnode \
|
|
|
|
nxnode-login nxprint nxserver nxsetup
|
2005-04-09 12:09:09 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${NXPREFIX}/bin
|
2008-04-10 10:24:15 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nxserver-helper/nxserver-helper \
|
|
|
|
${NXPREFIX}/bin
|
|
|
|
.for i in nxnode nxserver nxsetup nxkeygen nxnode-login nxloadconfig nxprint nxclient
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${NXPREFIX}/bin
|
|
|
|
.endfor
|
2005-06-30 14:58:24 +00:00
|
|
|
${MKDIR} ${NXPREFIX}/etc/nxserver
|
2008-04-10 10:24:15 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/node.conf.sample ${NXPREFIX}/etc/nxserver
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2005-04-09 12:09:09 +00:00
|
|
|
|
2008-04-10 10:24:15 +00:00
|
|
|
.include <bsd.port.post.mk>
|