From 660e1552191a1e8650f479efa4193edae8c9b116 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sat, 4 May 2013 14:46:56 +0000 Subject: - Add a workaround when CC=clang [*]. - Trim old-style header. - Use OPTIONS_DEFINE. Pointed out by: sbruno [*] PR: ports/177615 [*] --- security/openssh-askpass/Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/security/openssh-askpass/Makefile b/security/openssh-askpass/Makefile index 987396b73eed..b5c38a216646 100644 --- a/security/openssh-askpass/Makefile +++ b/security/openssh-askpass/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: OpenSSH-askpass -# Date created: 27 February 2000 -# Whom: Kris Kennaway -# +# Created by: Kris Kennaway # $FreeBSD$ -# PORTNAME= OpenSSH-askpass PORTVERSION= 1.2.4.1 @@ -15,23 +11,28 @@ MAINTAINER= hrs@FreeBSD.org COMMENT= Graphical password applet for entering SSH passphrase USE_IMAKE= yes +USE_GCC= any USE_XORG= x11 xt -MAN1= x11-ssh-askpass.1 -MLINKS= x11-ssh-askpass.1 ssh-askpass.1 - DOCSDIR= ${PREFIX}/share/doc/ssh-askpass PLIST_FILES= bin/x11-ssh-askpass \ bin/ssh-askpass \ lib/X11/app-defaults/SshAskpass PORTDOCS= README TODO ChangeLog +MAN1= x11-ssh-askpass.1 +MLINKS= x11-ssh-askpass.1 ssh-askpass.1 + +OPTIONS_DEFINE= DOCS + +.include + pre-configure: cd ${WRKSRC} && ./configure --libexecdir=${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -- cgit v1.2.3