1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/net/freenx/Makefile
Antoine Brodin f7ecc1701f Chase nxserver expiration
Noticed by:	gahr
2014-02-28 18:35:25 +00:00

51 lines
1.3 KiB
Makefile

# Created by: Lauri Watts <lauri@kde.org>
# $FreeBSD$
PORTNAME= freenx
PORTVERSION= 0.6.0
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= BERLIOS
MAINTAINER= freenx@deweyonline.com
COMMENT= Frontend (auth/session management) for nxserver libraries
DEPRECATED= Depends on expiring net/nxserver
EXPIRATION_DATE= 2014-03-10
RUN_DEPENDS= ${NXPREFIX}/bin/nxagent:${PORTSDIR}/net/nxserver \
bash:${PORTSDIR}/shells/bash \
expect:${PORTSDIR}/lang/expect \
gls:${PORTSDIR}/sysutils/coreutils \
xauth:${PORTSDIR}/x11/xauth
USES= perl5
USE_PERL5= run
BUILD_WRKSRC= ${WRKSRC}/nxserver-helper
NXPREFIX?= ${PREFIX}/NX
NO_STAGE= yes
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|/usr/local/|${PREFIX}/|" \
-e "s|!/bin/bash|!${LOCALBASE}/bin/bash|" \
-e "s|/usr/bin/expect|${LOCALBASE}/bin/expect|" \
-e "s|/usr/NX|${NXPREFIX}|" \
node.conf.sample nxclient nxkeygen nxloadconfig nxnode \
nxnode-login nxprint nxserver nxsetup
do-install:
${MKDIR} ${NXPREFIX}/bin
${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
${MKDIR} ${NXPREFIX}/etc/nxserver
${INSTALL_SCRIPT} ${WRKSRC}/node.conf.sample ${NXPREFIX}/etc/nxserver
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>