ports/textproc/fex/Makefile
Nuno Teixeira 871d13aa28 textproc/fex: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-22 22:05:26 +00:00

29 lines
560 B
Makefile

PORTNAME= fex
PORTVERSION= 2.0.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= zi@FreeBSD.org
COMMENT= Powerful field extraction tool
WWW= https://semicomplete.com/projects/fex/
LICENSE= APACHE20
USES= perl5
USE_PERL5= build # pod2man
USE_GITHUB= yes
GH_ACCOUNT= jordansissel
MAKE_ENV+= INSTALLMAN=${PREFIX}/share/man
PLIST_FILES= bin/fex share/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>