2001-10-14 14:45:04 +00:00
|
|
|
# New ports collection Makefile for: ferite
|
|
|
|
# Date created: 21 August 2001
|
|
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ferite
|
2006-01-07 02:26:57 +00:00
|
|
|
PORTVERSION= 1.0.2
|
2006-02-23 10:40:44 +00:00
|
|
|
PORTREVISION= 1
|
2001-10-14 14:45:04 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2008-08-19 09:18:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= An embeddable scripting language
|
2001-10-14 14:45:04 +00:00
|
|
|
|
2003-01-18 22:20:18 +00:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
|
2001-10-14 14:45:04 +00:00
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2
|
|
|
|
|
2007-01-29 23:51:55 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-01-18 22:20:18 +00:00
|
|
|
USE_GMAKE= yes
|
2001-10-14 14:45:04 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-01-18 22:20:18 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH}
|
2001-10-14 14:45:04 +00:00
|
|
|
|
2003-01-18 22:20:18 +00:00
|
|
|
MAN1= builder.1 ferite.1
|
2005-12-31 05:12:17 +00:00
|
|
|
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"
|
2001-10-14 14:45:04 +00:00
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
2003-01-18 22:20:18 +00:00
|
|
|
MAKE_ENV+= NOPORTDOCS=${NOPORTDOCS}
|
2001-10-14 14:45:04 +00:00
|
|
|
.endif
|
|
|
|
|
2005-12-31 05:12:17 +00:00
|
|
|
.include <bsd.port.post.mk>
|