mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
238940659f
Hat: portmgr
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection Makefile for: ferite
|
|
# Date created: 21 August 2001
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ferite
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An embeddable scripting language
|
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
|
xml2.5:${PORTSDIR}/textproc/libxml2
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
USE_LDCONFIG= yes
|
|
PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH}
|
|
|
|
MAN1= builder.1 ferite.1
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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"
|
|
|
|
.if defined(NOPORTDOCS)
|
|
MAKE_ENV+= NOPORTDOCS=${NOPORTDOCS}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|