summaryrefslogtreecommitdiff
path: root/net/netbsd-iscsi-target/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netbsd-iscsi-target/Makefile')
-rw-r--r--net/netbsd-iscsi-target/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/netbsd-iscsi-target/Makefile b/net/netbsd-iscsi-target/Makefile
new file mode 100644
index 00000000000..c35919003c6
--- /dev/null
+++ b/net/netbsd-iscsi-target/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/06/04 16:07:27 sborrill Exp $
+
+DISTNAME= netbsd-iscsi-20080207
+PKGNAME= ${DISTNAME:C/-iscsi/-iscsi-target/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_BACKUP}
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://www.alistaircrooks.co.uk/software.html
+COMMENT= NetBSD's iSCSI target (per iSCSI RFC 3720)
+
+CONFLICTS+= netbsd-iscsi>0
+
+GNU_CONFIGURE= yes
+CONFIGURE_DIRS= src
+
+AUTO_MKDIRS= yes
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/iscsi-target ${DESTDIR}${PREFIX}/sbin/iscsi-target
+ ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DESTDIR}${PREFIX}/share/doc/iscsi/FAQ
+ ${INSTALL_MAN} ${WRKSRC}/src/iscsi-target.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/iscsi-target.8
+ ${INSTALL_MAN} ${WRKSRC}/src/targets.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/targets.5
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"