summaryrefslogtreecommitdiffstats
path: root/textproc/fex/Makefile
blob: 04f2d524050ee4a578947c6dd2112f1889c43fb8 (plain)
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: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$

PORTNAME=	fex
PORTVERSION=	2.0.0
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	zi@FreeBSD.org
COMMENT=	Powerful field extraction tool

LICENSE=	APACHE20

USES=		perl5
USE_PERL5=	build # pod2man
USE_GITHUB=	yes
GH_ACCOUNT=	jordansissel

MAKE_ENV+=	INSTALLMAN=${PREFIX}/man

PLIST_FILES=	bin/fex man/man1/fex.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|g' ${WRKSRC}/Makefile

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud