From owner-svn-ports-all@freebsd.org Thu Dec 31 10:58:00 2015 Return-Path: Delivered-To: svn-ports-all@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 5ADEFA56C0F; Thu, 31 Dec 2015 10:58:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2A5DE1FB3; Thu, 31 Dec 2015 10:58:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBVAvwZE065968; Thu, 31 Dec 2015 10:57:58 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBVAvwRw065967; Thu, 31 Dec 2015 10:57:58 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512311057.tBVAvwRw065967@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 31 Dec 2015 10:57:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404923 - head/net/istgt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2015 10:58:00 -0000 Author: amdmi3 Date: Thu Dec 31 10:57:58 2015 New Revision: 404923 URL: https://svnweb.freebsd.org/changeset/ports/404923 Log: - Add LICENSE_FILE - Switch to options helpers Modified: head/net/istgt/Makefile Modified: head/net/istgt/Makefile ============================================================================== --- head/net/istgt/Makefile Thu Dec 31 10:57:57 2015 (r404922) +++ head/net/istgt/Makefile Thu Dec 31 10:57:58 2015 (r404923) @@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= iSCSI target for openSUSE/Debian/NetBSD/FreeBSD LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT GNU_CONFIGURE= yes @@ -18,16 +19,14 @@ DOCFILES= ChangeLog.jp README doc/QUICKS SUB_FILES= pkg-message -OPTIONS_DEFINE= SYMLNKDEV VBOXVD +OPTIONS_DEFINE= SYMLNKDEV VBOXVD DOCS SYMLNKDEV_DESC= Allow symbolic link for device file VBOXVD_DESC= Build with VBox VD support (no X11 required) -.include +SYMLNKDEV_CONFIGURE_ON= --enable-symlink-device -.if ${PORT_OPTIONS:MSYMLNKDEV} -CONFIGURE_ARGS+= --enable-symlink-device -.endif +.include .if ${PORT_OPTIONS:MVBOXVD} VBOX_WRKSRC= `${MAKE} -C ${PORTSDIR}/emulators/virtualbox-ose -V WRKSRC` @@ -39,7 +38,7 @@ CONFIGURE_ARGS+= --with-vbox=${VBOX_WRKS post-extract: @${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}