svn commit: r317323 - head/security/openssh-askpass
Hiroki Sato
hrs at FreeBSD.org
Sat May 4 14:46:57 UTC 2013
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 at FreeBSD.org>
-#
+# Created by: Kris Kennaway <kris at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= OpenSSH-askpass
PORTVERSION= 1.2.4.1
@@ -15,23 +11,28 @@ MAINTAINER= hrs at 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
More information about the svn-ports-head
mailing list