aboutsummaryrefslogtreecommitdiffstats
path: root/net/openistgt/Makefile
blob: 589f939a87ba20a32e965a00a2147855697ca209 (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
# New ports collection makefile for:    istgt
# Date created:     2009-02-23
# Whom:         Daisuke Aoyama <aoyama@peach.ne.jp>
#
# $FreeBSD$
#

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

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

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

GNU_CONFIGURE=  yes

MAN1=       istgt.1
MANCOMPRESSED=  yes

PORTDOCS=   README ChangeLog.jp QUICKSTART QUICKSTART.jp

post-extract:
    @${MV} ${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/Makefile.tmp
    @${SED} -e '/\/doc\/istgt/d' < ${WRKSRC}/doc/Makefile.tmp \
        > ${WRKSRC}/doc/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/ChangeLog.jp ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/doc/QUICKSTART ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/doc/QUICKSTART.jp ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>