From owner-svn-ports-head@FreeBSD.ORG Mon May 6 06:18:19 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E70B5B65; Mon, 6 May 2013 06:18:19 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C0CEB24B; Mon, 6 May 2013 06:18:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r466IJOj049041; Mon, 6 May 2013 06:18:19 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r466IJ9Z049039; Mon, 6 May 2013 06:18:19 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201305060618.r466IJ9Z049039@svn.freebsd.org> From: Hiroki Sato Date: Mon, 6 May 2013 06:18:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317465 - in head/security/openssh-askpass: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 06:18:20 -0000 Author: hrs Date: Mon May 6 06:18:19 2013 New Revision: 317465 URL: http://svnweb.freebsd.org/changeset/ports/317465 Log: - Fix dependency. - Remove USE_IMAKE and USE_GCC=any. Added: head/security/openssh-askpass/files/ head/security/openssh-askpass/files/Makefile.in (contents, props changed) Modified: head/security/openssh-askpass/Makefile Modified: head/security/openssh-askpass/Makefile ============================================================================== --- head/security/openssh-askpass/Makefile Mon May 6 06:06:49 2013 (r317464) +++ head/security/openssh-askpass/Makefile Mon May 6 06:18:19 2013 (r317465) @@ -3,6 +3,7 @@ PORTNAME= OpenSSH-askpass PORTVERSION= 1.2.4.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.jmknoble.net/software/x11-ssh-askpass/ DISTNAME= x11-ssh-askpass-${PORTVERSION} @@ -10,10 +11,7 @@ DISTNAME= x11-ssh-askpass-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Graphical password applet for entering SSH passphrase -USE_IMAKE= yes -USE_GCC= any -USE_XORG= x11 xt - +USE_XORG= x11 xt sm ice DOCSDIR= ${PREFIX}/share/doc/ssh-askpass PLIST_FILES= bin/x11-ssh-askpass \ bin/ssh-askpass \ @@ -27,8 +25,8 @@ OPTIONS_DEFINE= DOCS .include -pre-configure: - cd ${WRKSRC} && ./configure --libexecdir=${PREFIX}/bin +post-extract: + ${INSTALL_DATA} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile .if ${PORT_OPTIONS:MDOCS} post-install: Added: head/security/openssh-askpass/files/Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/openssh-askpass/files/Makefile.in Mon May 6 06:18:19 2013 (r317465) @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PREFIX?= /usr/local +LOCALBASE?= /usr/local +BINDIR?= ${PREFIX}/bin +MANDIR?= ${PREFIX}/man/man +NO_MANCOMPRESS= + +CLASS= SshAskpass +FILES= ${CLASS} +FILESDIR?= ${PREFIX}/lib/X11/app-defaults + +PROG= x11-ssh-askpass + +SRCS= drawing.c dynlist.c resources.c x11-ssh-askpass.c +LDADD= -lXt -lX11 -lSM -lICE -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib +CFLAGS+=-I${LOCALBASE}/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO +MAN= ${PROG}.1 + +${PROG}.1: x11-ssh-askpass.man.in + sed -e 's|@NAME@|${PROG}|' \ + -e 's|@DATE@|September 17, 2001|'\ + -e 's|@VERSION@|1.2.4.1|'\ + < $? > $@ + +${CLASS}: ${CLASS}.ad + cp $? $@ + +${CLASS}.ad: ${CLASS}-default.ad + cp $? $@ + +${CLASS}_ad.h: ${CLASS}.ad + sed -n '/^[^!]/s/.*/"&",/p' < $? >$@.tmp + mv $@.tmp $@ + +${PROG}: ${CLASS}_ad.h +CLEANFILES+= ${CLASS}_ad.h + +ssh-askpass: ${PROG} + ln -s -f $? $@ + +beforeinstall: + mkdir -p ${FILESDIR} + +afterinstall: + ln -s -f ${PROG} ${BINDIR}/ssh-askpass + ln -s -f ${PROG}.1 ${MANDIR}1/ssh-askpass.1 + +.include