diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/istgt/Makefile | 23 | ||||
-rw-r--r-- | net/istgt/distinfo | 4 |
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 |