Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2015 10:57:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404923 - head/net/istgt
Message-ID:  <201512311057.tBVAvwRw065967@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
+SYMLNKDEV_CONFIGURE_ON=	--enable-symlink-device
 
-.if ${PORT_OPTIONS:MSYMLNKDEV}
-CONFIGURE_ARGS+=	--enable-symlink-device
-.endif
+.include <bsd.port.options.mk>
 
 .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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512311057.tBVAvwRw065967>