GARNAME = nx nxversion = 3.2.0 GARVERSION = $(nxversion)-20080913 CATEGORIES = nx MASTER_SITES = http://web04.nomachine.com/download/$(nxversion)/sources/ DISTFILES = \ nx-X11-3.2.0-2.tar.gz \ nxagent-3.2.0-10.tar.gz \ nxauth-3.2.0-1.tar.gz \ nxcomp-3.2.0-7.tar.gz \ nxcompext-3.2.0-1.tar.gz \ nxcompshad-3.2.0-3.tar.gz \ nxproxy-3.2.0-1.tar.gz \ nxssh-3.2.0-1.tar.gz LIBDEPS = x11/xlib media/jpeg media/libpng comp/zlib WORKSRC = $(WORKDIR) DESCRIPTION = The NX compression system for X HOME_URL = http://www.nomachine.com/ CONFIGURE_SCRIPTS = none BUILD_SCRIPTS = nxcomp nxcompshad nxproxy x11 nxcompext nxssh INSTALL_SCRIPTS = none CONFIGURE_ARGS = \ --prefix=$(nxprefix) \ --sysconfdir=$(sysconfdir)/NX include ../nx.mk # This is an oddball case where we have CONFIGURE_ARGS but no # CONFIGURE_SCRIPTS, so put a dummy rule here to keep gar-lint happy. configure-none: $(MAKECOOKIE) build-nxcomp: @cd $(WORKSRC)/nxcomp && \ ./configure $(CONFIGURE_ARGS) && \ make $(MAKECOOKIE) build-nxcompshad: @cd $(WORKSRC)/nxcompshad && \ ./configure $(CONFIGURE_ARGS) && \ make $(MAKECOOKIE) build-nxproxy: @cd $(WORKSRC)/nxproxy && \ ./configure $(CONFIGURE_ARGS) && \ make $(MAKECOOKIE) build-x11: @cd $(WORKSRC)/nx-X11 && \ make World $(MAKECOOKIE) build-nxcompext: @cd $(WORKSRC)/nxcompext && \ ./configure $(CONFIGURE_ARGS) && \ make $(MAKECOOKIE) build-nxssh: @cd $(WORKSRC)/nxssh && \ ./configure $(CONFIGURE_ARGS) && \ make $(MAKECOOKIE) install-none: @cd $(WORKSRC) && $(NX_INSTALL_BIN) \ nx-X11/programs/Xserver/nxagent \ nx-X11/programs/nxauth/nxauth \ nxproxy/nxproxy \ nxssh/nxssh @cd $(WORKSRC) && \ $(NX_INSTALL_LIB) \ nx-X11/lib/X11/libX11.so.*.* \ nx-X11/lib/Xext/libXext.so.*.* \ nx-X11/lib/Xrender/libXrender.so.*.* \ nxcomp/libXcomp.so.*.* \ nxcompext/libXcompext.so.*.* \ nxcompshad/libXcompshad.so.*.* @ldconfig -n $(nxpackageprefix)/lib $(MAKECOOKIE)