2015-02-14 14:16:39 +01:00
|
|
|
# $NetBSD: Makefile,v 1.45 2015/02/14 13:16:39 bad Exp $
|
2001-09-25 14:45:59 +02:00
|
|
|
|
2015-02-14 14:16:39 +01:00
|
|
|
DISTNAME= rdesktop-1.8.3
|
2003-11-22 04:34:51 +01:00
|
|
|
CATEGORIES= net
|
2001-10-02 12:22:21 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rdesktop/}
|
2001-09-25 14:45:59 +02:00
|
|
|
|
2010-03-21 17:29:38 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-10-02 12:22:21 +02:00
|
|
|
HOMEPAGE= http://www.rdesktop.org/
|
2001-09-25 14:45:59 +02:00
|
|
|
COMMENT= Open-source Remote Desktop Protocol client
|
2011-05-04 16:47:18 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2001-09-25 14:45:59 +02:00
|
|
|
|
2005-03-23 16:24:11 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2011-05-04 16:47:18 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
2012-04-26 16:54:28 +02:00
|
|
|
CONFIGURE_ARGS+= --with-x=${X11BASE}
|
2014-01-02 16:12:16 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-credssp
|
|
|
|
CONFIGURE_ARGS+= --disable-smartcard
|
2003-11-20 05:46:08 +01:00
|
|
|
|
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
2003-02-14 00:25:05 +01:00
|
|
|
|
2005-02-15 21:20:06 +01:00
|
|
|
SUBST_CLASSES+= audio
|
|
|
|
SUBST_STAGE.audio= pre-configure
|
|
|
|
SUBST_FILES.audio= rdpsnd_oss.c
|
|
|
|
SUBST_SED.audio= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.audio= Fixing hardcoded audio device.
|
2005-02-15 21:20:06 +01:00
|
|
|
|
2008-06-08 18:29:28 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
CONFIGURE_ARGS+= --with-sound=oss
|
|
|
|
.endif
|
|
|
|
|
2014-11-30 04:17:49 +01:00
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
CONFIGURE_ARGS+= --with-sound=alsa
|
|
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2011-05-04 16:47:18 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2006-11-06 12:00:24 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2001-09-25 14:45:59 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|