aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/bbe/Makefile
blob: b638b2a5aa66b9982bb4bd99e0ed1274668cc8f3 (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
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

PORTNAME=   bbe
PORTVERSION=    0.2.2
CATEGORIES= textproc
MASTER_SITES=   SF/${PORTNAME}-/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A sed-like editor for binary files


HAS_CONFIGURE=  yes

MAN1=       ${PORTNAME}.1
PLIST_FILES=    bin/${PORTNAME}
DOCS=       AUTHORS ChangeLog README
PORTDOCS=   bbe.html ${DOCS}

NO_STAGE=   yes
do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/bbe.html ${DOCSDIR}
.for i in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>