aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/bbe/Makefile
blob: 3d580d3a2faf8c777849e9f9a93e98e6a746871e (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
# New ports collection makefile for:    bbe
# Date created:                         8 November 2006
# Whom:                                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#

PORTNAME=   bbe
PORTVERSION=    0.2.2
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}-

MAINTAINER= ports@logvinov.com
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}

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>