From owner-svn-ports-head@freebsd.org Thu Jul 30 10:48:13 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32D2A9AE589; Thu, 30 Jul 2015 10:48:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2357F1470; Thu, 30 Jul 2015 10:48:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6UAmDFK076115; Thu, 30 Jul 2015 10:48:13 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6UAmCWI076114; Thu, 30 Jul 2015 10:48:12 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201507301048.t6UAmCWI076114@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 30 Jul 2015 10:48:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393230 - head/misc/iselect 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.20 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: Thu, 30 Jul 2015 10:48:13 -0000 Author: amdmi3 Date: Thu Jul 30 10:48:12 2015 New Revision: 393230 URL: https://svnweb.freebsd.org/changeset/ports/393230 Log: - Add LICENSE - Fix shebangs - Use options helpers Modified: head/misc/iselect/Makefile Modified: head/misc/iselect/Makefile ============================================================================== --- head/misc/iselect/Makefile Thu Jul 30 10:30:00 2015 (r393229) +++ head/misc/iselect/Makefile Thu Jul 30 10:48:12 2015 (r393230) @@ -3,27 +3,33 @@ PORTNAME= iselect PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= OSSP/tool/iselect MAINTAINER= ports@FreeBSD.org COMMENT= Interactive Selection Tool -OPTIONS_DEFINE= SLANG EXAMPLES -SLANG_DESC= Link with slang +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING +USES= shebangfix +SHEBANG_FILES= example/gotourl/gotourl \ + example/ilogin/ilogin \ + example/melm/melm \ + example/mtin/mtin \ + example/scvs/scvs +perl_OLD_CMD= /sw/bin/perl GNU_CONFIGURE= yes PLIST_FILES= bin/iselect man/man1/iselect.1.gz PORTEXAMPLES= * -.include - -.if ${PORT_OPTIONS:MSLANG} -LIB_DEPENDS+= libslang.so:${PORTSDIR}/devel/libslang2 -CONFIGURE_ARGS+= --with-incdir=${LOCALBASE}/include \ +OPTIONS_DEFINE= SLANG EXAMPLES +SLANG_DESC= Link with slang +SLANG_LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2 +SLANG_CONFIGURE_ON= --with-incdir=${LOCALBASE}/include \ --with-libdir=${LOCALBASE}/lib -.endif post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure