mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
expressions to DFA. PR: 227419 Submitted by: egypcio@googlemail.com Differential Revision: https://reviews.freebsd.org/D15027
34 lines
1,016 B
Makefile
34 lines
1,016 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= regex2dfa
|
|
DISTVERSION= 0.1.6
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= egypcio@googlemail.com
|
|
COMMENT= Command-line utility that converts regular expressions to DFA
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake libtool
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= kpdyer
|
|
|
|
GNU_CONFIGURE= yes
|
|
PLIST_FILES= bin/${PORTNAME} include/${PORTNAME}.h lib/lib${PORTNAME}.a
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|-ldl||g' \
|
|
${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/third_party/openfst/src/bin/Makefile.in \
|
|
${WRKSRC}/third_party/openfst/src/extensions/far/Makefile.in \
|
|
${WRKSRC}/third_party/openfst/src/extensions/linear/Makefile.in \
|
|
${WRKSRC}/third_party/openfst/src/extensions/pdt/Makefile.in \
|
|
${WRKSRC}/third_party/openfst/src/test/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/.libs/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|