aboutsummaryrefslogtreecommitdiffstats
path: root/net/istgt/Makefile
blob: 1532d235f9622218b2c0630d3ae5e2e33d07e43f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    istgt
# Date created:     2009-02-23
# Whom:         Daisuke Aoyama <aoyama@peach.ne.jp>
#
# $FreeBSD$
#

PORTNAME=   istgt
PORTVERSION=    20110928
CATEGORIES= net
MASTER_SITES=   http://www.peach.ne.jp/archives/istgt/

MAINTAINER= aoyama@peach.ne.jp
COMMENT=    An iSCSI target for FreeBSD

SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

GNU_CONFIGURE=  yes

MAN1=       istgt.1
MANCOMPRESSED=  yes

PLIST_FILES=    bin/istgt \
        bin/istgtcontrol \
        etc/rc.d/istgt \
        %%ETCDIR%%/auth.conf.sample \
        %%ETCDIR%%/istgt.conf.sample \
        %%ETCDIR%%/istgt.large.conf.sample \
        %%ETCDIR%%/istgtcontrol.conf.sample
PLIST_DIRS= %%ETCDIR%%
PORTDOCS=   ${DOCS:T}

DOCS=       ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp

post-extract:
    @${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>