pkgsrc/net/rdesktop/Makefile

31 lines
851 B
Makefile

# $NetBSD: Makefile,v 1.31 2006/12/02 23:14:38 seb Exp $
#
DISTNAME= rdesktop-1.5.0
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rdesktop/}
MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://www.rdesktop.org/
COMMENT= Open-source Remote Desktop Protocol client
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-x=${X11BASE:Q}
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
LDFLAGS+= ${LIBOSSAUDIO}
SUBST_CLASSES+= audio
SUBST_STAGE.audio= pre-configure
SUBST_FILES.audio= rdpsnd_oss.c
SUBST_SED.audio= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.audio= Fixing hardcoded audio device.
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"