2012-08-04 10:49:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2012/08/04 14:49:09 ajacoutot Exp $
|
2008-06-13 13:14:42 -04:00
|
|
|
|
2012-05-30 16:38:32 -04:00
|
|
|
COMMENT= OSS replacement for the Nomachine nxclient
|
2008-06-13 13:14:42 -04:00
|
|
|
|
2012-05-30 16:38:32 -04:00
|
|
|
DISTNAME= opennx-0.16.0.709
|
2012-08-04 10:49:09 -04:00
|
|
|
REVISION= 1
|
2009-12-21 15:46:00 -05:00
|
|
|
|
2008-06-13 13:14:42 -04:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
2010-03-20 12:44:47 -04:00
|
|
|
HOMEPAGE= http://opennx.sourceforge.net/
|
2008-06-13 13:14:42 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennx/}
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
2011-03-02 01:57:08 -05:00
|
|
|
WANTLIB += GL ICE SDL SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xmu Xrandr Xrender Xt Xxf86vm
|
2012-01-03 14:27:30 -05:00
|
|
|
WANTLIB += atk-1.0 c cairo crypto curl drm expat ffi fontconfig
|
|
|
|
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 idn
|
|
|
|
WANTLIB += jpeg m mspack pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
|
|
WANTLIB += pcre pixman-1 png pthread pthread-stubs sndio ssl stdc++
|
|
|
|
WANTLIB += tiff usbhid 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 xcb xcb-render xcb-shm z
|
2008-06-13 13:14:42 -04:00
|
|
|
|
2011-05-22 13:05:30 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2012-01-03 14:27:30 -05:00
|
|
|
LIB_DEPENDS= x11/wxWidgets \
|
|
|
|
net/curl
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS= archivers/zip \
|
|
|
|
devel/bison \
|
2012-08-04 10:49:09 -04:00
|
|
|
net/samba
|
|
|
|
|
|
|
|
# configure checks for cupsd(8)
|
|
|
|
BUILD_DEPENDS += print/cups
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
2012-01-03 11:46:36 -05:00
|
|
|
x11/nx/nxproxy \
|
2010-11-22 03:36:47 -05:00
|
|
|
x11/nx/nxssh
|
2008-06-13 13:14:42 -04:00
|
|
|
|
2012-01-03 11:46:36 -05:00
|
|
|
WRKDIST = ${WRKDIR}/opennx-0.16
|
2008-06-13 13:14:42 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
|
2012-01-03 11:46:36 -05:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
|
2008-06-13 13:14:42 -04:00
|
|
|
|
2011-03-02 08:57:06 -05:00
|
|
|
pre-configure:
|
2012-01-03 11:46:36 -05:00
|
|
|
${SUBST_CMD} ${WRKSRC}/opennxApp.cpp \
|
|
|
|
${WRKSRC}/Makefile.in
|
2012-02-17 12:22:08 -05:00
|
|
|
perl -pi -e 's,/usr/NX,${PREFIX}/NX,g' \
|
|
|
|
${WRKSRC}/extres/xdg/innovidata-opennx*.desktop
|
2008-06-13 13:14:42 -04:00
|
|
|
|
|
|
|
post-install:
|
2011-03-02 01:57:08 -05:00
|
|
|
ln -s ${TRUEPREFIX}/NX/bin/opennx ${PREFIX}/bin/opennx
|
2012-01-18 06:57:50 -05:00
|
|
|
rm ${PREFIX}/share/applications/innovidata-opennx.directory
|
2008-06-13 13:14:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|