From 0447a5363773e0856eae269c88252078c638a781 Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Sat, 6 Nov 1999 19:43:18 +0000 Subject: Correct PLIST for the non-X11 case. (This was OK'ed by the maintainer quite some time ago). --- security/ssh/Makefile | 8 ++++++++ security/ssh/pkg-plist | 2 -- security/ssh/pkg-plist.x11 | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 security/ssh/pkg-plist.x11 (limited to 'security/ssh') diff --git a/security/ssh/Makefile b/security/ssh/Makefile index 46ae6feeae7c..b637269eebea 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -143,4 +143,12 @@ LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5" --with-socks5 .endif +# Include extra files if X11 is installed +.if exists(${X11BASE}/lib/libX11.a) +PLIST:= ${WRKDIR}/PLIST +pre-install: + @${CAT} ${PKGDIR}/PLIST.X11 > ${PLIST} + @${CAT} ${PKGDIR}/PLIST >> ${PLIST} +.endif + .include diff --git a/security/ssh/pkg-plist b/security/ssh/pkg-plist index 64badc208448..555641cdf8ef 100644 --- a/security/ssh/pkg-plist +++ b/security/ssh/pkg-plist @@ -8,8 +8,6 @@ bin/ssh-add1 bin/ssh-add bin/ssh-agent1 bin/ssh-agent -bin/ssh-askpass1 -bin/ssh-askpass bin/ssh-keygen1 bin/ssh-keygen bin/make-ssh-known-hosts1 diff --git a/security/ssh/pkg-plist.x11 b/security/ssh/pkg-plist.x11 new file mode 100644 index 000000000000..ffe3a0b71ee0 --- /dev/null +++ b/security/ssh/pkg-plist.x11 @@ -0,0 +1,2 @@ +bin/ssh-askpass1 +bin/ssh-askpass -- cgit v1.2.3