Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2013 14:46:56 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317323 - head/security/openssh-askpass
Message-ID:  <201305041446.r44Eku6x011224@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat May  4 14:46:56 2013
New Revision: 317323
URL: http://svnweb.freebsd.org/changeset/ports/317323

Log:
  - Add a workaround when CC=clang [*].
  - Trim old-style header.
  - Use OPTIONS_DEFINE.
  
  Pointed out by:	sbruno [*]
  PR:		ports/177615 [*]

Modified:
  head/security/openssh-askpass/Makefile

Modified: head/security/openssh-askpass/Makefile
==============================================================================
--- head/security/openssh-askpass/Makefile	Sat May  4 14:29:12 2013	(r317322)
+++ head/security/openssh-askpass/Makefile	Sat May  4 14:46:56 2013	(r317323)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	OpenSSH-askpass
-# Date created:		27 February 2000
-# Whom:			Kris Kennaway <kris@FreeBSD.org>
-#
+# Created by: Kris Kennaway <kris@FreeBSD.org>
 # $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 <bsd.port.options.mk>
+
 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305041446.r44Eku6x011224>