openbsd-ports/x11/nx/opennx/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.11 2010/10/24 21:15:33 ajacoutot Exp $
COMMENT= OSS replacement for Nomachine's nxclient
DISTNAME= opennx-0.16
2010-07-30 05:23:28 -04:00
REVISION= 3
CATEGORIES= sysutils
2010-03-20 12:44:47 -04:00
HOMEPAGE= http://opennx.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennx/}
USE_LIBTOOL= Yes
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xmu Xt c m pthread pthread-stubs
2010-07-30 05:23:28 -04:00
WANTLIB += stdc++ xcb wx_base wx_base_net wx_base_xml wx_gtk2_adv
WANTLIB += wx_gtk2_core wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext
WANTLIB += wx_gtk2_xrc
2010-07-30 05:23:28 -04:00
LIB_DEPENDS= ::x11/wxWidgets
2008-10-13 09:05:18 -04:00
BUILD_DEPENDS= ::archivers/zip \
::devel/bison \
::net/samba \
::print/cups \
::security/opensc
RUN_DEPENDS= ::devel/desktop-file-utils \
::print/cups \
::security/opensc \
::x11/nx/nxssh
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
DOT_DESKTOP= opennx-admin-gnome.desktop \
opennx-wizard-gnome.desktop \
opennx-gnome.desktop
post-build:
cd ${WRKSRC}/share/applnk/network-gnome && ${SUBST_CMD} ${DOT_DESKTOP}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
.for file in ${DOT_DESKTOP}
${INSTALL_DATA} ${WRKSRC}/share/applnk/network-gnome/${file} \
${PREFIX}/share/applications
.endfor
.include <bsd.port.mk>