Lines 6-17
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= istgt |
8 |
PORTNAME= istgt |
9 |
PORTVERSION= 20120807 |
9 |
PORTVERSION= 20120811 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/ |
11 |
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/ |
12 |
|
12 |
|
13 |
MAINTAINER= aoyama@peach.ne.jp |
13 |
MAINTAINER= aoyama@peach.ne.jp |
14 |
COMMENT= An iSCSI target for FreeBSD |
14 |
COMMENT= An iSCSI target for Debian/NetBSD/FreeBSD |
15 |
|
15 |
|
16 |
SUB_FILES= pkg-message |
16 |
SUB_FILES= pkg-message |
17 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
17 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
Lines 33-38
Link Here
|
33 |
|
33 |
|
34 |
DOCS= ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp |
34 |
DOCS= ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp |
35 |
|
35 |
|
|
|
36 |
OPTIONS_DEFINE= SYMLNKDEV VBOXVD |
37 |
OPTIONS_DEFAULT= |
38 |
SYMLNKDEV_DESC= Allow symbolic link for device file |
39 |
VBOXVD_DESC= Build with VBox VirtualDisk support |
40 |
|
41 |
.include <bsd.port.options.mk> |
42 |
|
43 |
.if ${PORT_OPTIONS:MSYMLNKDEV} |
44 |
CONFIGURE_ARGS+= --enable-symlink-device |
45 |
.endif |
46 |
|
47 |
.if ${PORT_OPTIONS:MVBOXVD} |
48 |
RUN_DEPENDS+= ${LOCALBASE}/lib/virtualbox/VBoxDDU.so:${PORTSDIR}/emulators/virtualbox-ose |
49 |
RUN_DEPENDS+= ${LOCALBASE}/lib/virtualbox/VBoxRT.so:${PORTSDIR}/emulators/virtualbox-ose |
50 |
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/emulators/virtualbox-ose:patch |
51 |
CONFIGURE_ARGS+= --with-vbox |
52 |
.endif |
53 |
|
54 |
.include <bsd.port.pre.mk> |
55 |
|
36 |
post-extract: |
56 |
post-extract: |
37 |
@${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in |
57 |
@${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in |
38 |
|
58 |
|
Lines 43-46
Link Here
|
43 |
.endif |
63 |
.endif |
44 |
@${CAT} ${PKGMESSAGE} |
64 |
@${CAT} ${PKGMESSAGE} |
45 |
|
65 |
|
46 |
.include <bsd.port.mk> |
66 |
.include <bsd.port.post.mk> |