aboutsummaryrefslogtreecommitdiffstats
path: root/net/openistgt/Makefile
blob: bf243fe87972e2e4a5cff9eeef8bb5f65784c41d (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=    20090314
CATEGORIES= net
MASTER_SITES=   http://www.peach.ne.jp/archives/istgt/

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

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>