aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2012-08-20 01:02:42 +0800
committerak <ak@FreeBSD.org>2012-08-20 01:02:42 +0800
commit5d3022fb38669b953040dda1ed42fd93ba5466c8 (patch)
tree46cc82c5ca5949d41cd6a455d25d948f3c3dbbc2 /net
parented1379c213f88e18e6b33b4230265b8442dfe71a (diff)
downloadfreebsd-ports-gnome-5d3022fb38669b953040dda1ed42fd93ba5466c8.tar.gz
freebsd-ports-gnome-5d3022fb38669b953040dda1ed42fd93ba5466c8.tar.zst
freebsd-ports-gnome-5d3022fb38669b953040dda1ed42fd93ba5466c8.zip
- Update to 20120811
- Add optional support for symlink for device and VBOX VirtualDisk - Convert to new options framework PR: ports/170540 Submitted by: Daisuke Aoyama <aoyama@peach.ne.jp> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/istgt/Makefile23
-rw-r--r--net/istgt/distinfo4
2 files changed, 22 insertions, 5 deletions
diff --git a/net/istgt/Makefile b/net/istgt/Makefile
index 6ff2a0bf2835..ccd41d13352e 100644
--- a/net/istgt/Makefile
+++ b/net/istgt/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= istgt
-PORTVERSION= 20120807
+PORTVERSION= 20120811
CATEGORIES= net
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/
MAINTAINER= aoyama@peach.ne.jp
-COMMENT= An iSCSI target for FreeBSD
+COMMENT= An iSCSI target for Debian/NetBSD/FreeBSD
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -33,11 +33,28 @@ PORTDOCS= ${DOCS:T}
DOCS= ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp
+OPTIONS_DEFINE= SYMLNKDEV VBOXVD
+OPTIONS_DEFAULT=
+SYMLNKDEV_DESC= Allow symbolic link for device file
+VBOXVD_DESC= Build with VBox VirtualDisk support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSYMLNKDEV}
+CONFIGURE_ARGS+= --enable-symlink-device
+.endif
+
+.if ${PORT_OPTIONS:MVBOXVD}
+RUN_DEPENDS+= ${LOCALBASE}/lib/virtualbox/VBoxRT.so:${PORTSDIR}/emulators/virtualbox-ose
+BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/emulators/virtualbox-ose:patch
+CONFIGURE_ARGS+= --with-vbox
+.endif
+
post-extract:
@${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR}
.endif
diff --git a/net/istgt/distinfo b/net/istgt/distinfo
index a377bd240a00..7131c4037e2f 100644
--- a/net/istgt/distinfo
+++ b/net/istgt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (istgt-20120807.tar.gz) = 1f41159382407071336c0b97879bd53a1b2ae449b886a3eb4c5b639d55ef82e4
-SIZE (istgt-20120807.tar.gz) = 268127
+SHA256 (istgt-20120811.tar.gz) = 0c4413a07687e5746939be4d3ead9f11a5b4c91ff6732996d198ff15f78941a4
+SIZE (istgt-20120811.tar.gz) = 269880