aboutsummaryrefslogtreecommitdiff
path: root/textproc/replaceit/Makefile
blob: 1fc0c13ea2574295100de8d539ea63714b57fdf7 (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
# 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

NO_STAGE=	yes
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/replaceit ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>