summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-05-04 14:46:56 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-05-04 14:46:56 +0000
commit660e1552191a1e8650f479efa4193edae8c9b116 (patch)
treedc69a548a6cf39b45d856a3507cd5d9aa5fa4c7e
parentdeskutils/taskjuggler: Update to 3.4.0 (diff)
- Add a workaround when CC=clang [*].
- Trim old-style header. - Use OPTIONS_DEFINE. Pointed out by: sbruno [*] PR: ports/177615 [*]
Notes
Notes: svn path=/head/; revision=317323
-rw-r--r--security/openssh-askpass/Makefile21
1 files 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 <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