aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-31 10:57:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-31 10:57:58 +0000
commitd3be5ca56101892f0cb76f7d9c9c7c8cfdb6de65 (patch)
treece3b34575de21ddcd6ded546ca430dfffe4a7f60 /net
parent00dc6d41c53aebf0dcce20ddeb52630498780496 (diff)
downloadports-d3be5ca56101892f0cb76f7d9c9c7c8cfdb6de65.tar.gz
ports-d3be5ca56101892f0cb76f7d9c9c7c8cfdb6de65.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/istgt/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/istgt/Makefile b/net/istgt/Makefile
index 91c1c94199fc..db3db9c857d8 100644
--- a/net/istgt/Makefile
+++ b/net/istgt/Makefile
@@ -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/QUICKSTART doc/QUICKSTART.jp
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_WRKSRC}/include
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}