summaryrefslogtreecommitdiff
path: root/net/rdesktop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/rdesktop/Makefile')
-rw-r--r--net/rdesktop/Makefile36
1 files changed, 6 insertions, 30 deletions
diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile
index a7e3491322b..0fd9bd6fdd8 100644
--- a/net/rdesktop/Makefile
+++ b/net/rdesktop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/02/14 00:58:06 grant Exp $
+# $NetBSD: Makefile,v 1.9 2003/03/06 19:08:10 jlam Exp $
#
DISTNAME= rdesktop-1.2.0
@@ -9,37 +9,13 @@ MAINTAINER= grant@netbsd.org
HOMEPAGE= http://www.rdesktop.org/
COMMENT= Open-source Remote Desktop Protocol client
-USE_GMAKE= YES
USE_BUILDLINK2= YES
-NO_CONFIGURE= YES
-CONFIGURE_ARGS= --prefix=${LOCALBASE}
-
-ALL_TARGET= rdesktop
-
USE_X11= YES
-
-DATADIR= ${PREFIX}/share/rdesktop
-KEYMAP_PATH= ${DATADIR}/keymaps/
-
-CFLAGS+= -DWITH_OPENSSL
-CFLAGS+= -DKEYMAP_PATH=\\\"${KEYMAP_PATH}\\\"
-LDFLAGS+= -lX11 -lcrypto
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+= -lnsl -lsocket
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rdesktop ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/doc/rdesktop.1 ${PREFIX}/man/man1
- ${INSTALL_DATA_DIR} ${DATADIR}
- ${INSTALL_DATA_DIR} ${KEYMAP_PATH}
- ${INSTALL_DATA} ${WRKSRC}/keymaps/?? ${KEYMAP_PATH}
- ${INSTALL_DATA} ${WRKSRC}/keymaps/??-?? ${KEYMAP_PATH}
- ${INSTALL_DATA} ${WRKSRC}/keymaps/common ${KEYMAP_PATH}
- ${INSTALL_DATA} ${WRKSRC}/keymaps/modifiers ${KEYMAP_PATH}
+HAS_CONFIGURE= YES
+CONFIGURE_ARGS= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-x=${X11BASE}
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+ALL_TARGET= rdesktop
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"