freebsd-ports/lang/ferite/Makefile
Tijl Coosemans 1b6b6d972f Remove libpcre.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 17:26:09 +00:00

40 lines
859 B
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$
PORTNAME= ferite
PORTVERSION= 1.0.2
PORTREVISION= 6
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
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
USE_LDCONFIG= yes
PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH}
INSTALL_TARGET= install-strip
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>