blob: 391c0a87ff7354a867e599146bb096cdb6d7ab1a (
plain) (
blame)
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
31
32
33
34
35
36
37
38
39
|
# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$
PORTNAME= ferite
PORTVERSION= 1.0.2
PORTREVISION= 5
CATEGORIES= lang
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Embeddable scripting language
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libxml2.so:${PORTSDIR}/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>
|