1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/ferite/Makefile
2021-04-06 16:31:07 +02:00

39 lines
835 B
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
PORTNAME= ferite
PORTVERSION= 1.0.2
PORTREVISION= 7
CATEGORIES= lang
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Embeddable scripting language
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpcre.so:devel/pcre \
libxml2.so:textproc/libxml2
USES= gmake libtool localbase:ldflags
GNU_CONFIGURE= yes
LDFLAGS+= -lpthread
USE_LDCONFIG= yes
PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH}
INSTALL_TARGET= install-strip
CFLAGS+= -D_WANT_SEMUN
PORTDOCS= *
OPTIONS_DEFINE= DOCS
DOCS_MAKE_ENV_OFF= NOPORTDOCS=1
post-patch:
@${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|' \
${WRKSRC}/src/ferite_scanner.c
@${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \
${REINPLACE_CMD} -e "s|-lferite|-lferite -L${WRKSRC}/src/.libs|g"
.include <bsd.port.mk>