mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
021be14f65
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Categories J-L. CR: D305 Approved by: portmgr (swills)
41 lines
913 B
Makefile
41 lines
913 B
Makefile
# 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
|
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
|
|
libxml2.so:${PORTSDIR}/textproc/libxml2
|
|
|
|
USES= gmake libtool
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
USE_LDCONFIG= yes
|
|
PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH}
|
|
INSTALL_TARGET= install-strip
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
|
MAKE_ENV+= NOPORTDOCS=1
|
|
.endif
|
|
|
|
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>
|