aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/replaceit/Makefile
blob: f1bd16288003e3ea56eb950c62b532b5809970b8 (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
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$

PORTNAME=   replaceit
PORTVERSION=    1.0.1
CATEGORIES= textproc
MASTER_SITES=   http://pldaniels.com/replaceit/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A light replacement to the combination of sed/awk/grep/head/tail

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

MAKE_ARGS=  CC="${CC}" PRF="${CFLAGS}"

PORTDOCS=   CHANGELOG README
PLIST_FILES=    bin/replaceit

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/replaceit ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>