2002-05-06 19:33:55 +00:00
|
|
|
# ex:ts=8
|
2002-06-16 10:21:43 +00:00
|
|
|
# Ports collection makefile for: tensile
|
2002-05-06 19:33:55 +00:00
|
|
|
# Date created: May 6, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-06-16 10:21:43 +00:00
|
|
|
PORTNAME= tensile
|
2003-07-24 12:39:43 +00:00
|
|
|
PORTVERSION= 0.9
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2003-07-24 12:39:43 +00:00
|
|
|
PORTEPOCH= 1
|
2002-05-06 19:33:55 +00:00
|
|
|
CATEGORIES= lang
|
2005-09-28 07:55:31 +00:00
|
|
|
MASTER_SITES= http://unixpages.org/distfiles/
|
2002-05-06 19:33:55 +00:00
|
|
|
|
2003-06-04 18:58:11 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-12-12 10:19:12 +00:00
|
|
|
COMMENT= Programming language designed for especially complex processing texts
|
2002-05-06 19:33:55 +00:00
|
|
|
|
2004-06-04 17:29:38 +00:00
|
|
|
LIB_DEPENDS= utils.1:${PORTSDIR}/lang/libutils
|
2003-04-09 18:27:52 +00:00
|
|
|
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libltdl:15 libtool:15
|
2003-07-24 12:39:43 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
LIBTOOLFLAGS= # none
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-07-24 12:39:43 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-05-06 19:33:55 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-07-24 12:39:43 +00:00
|
|
|
CONFIGURE_ARGS= --disable-module-postgres
|
|
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN1= sl.1 sla.1
|
|
|
|
MAN7= docstrip.7t sl_crypt.7t sl_files.7t sl_fpmath.7t sl_int64.7t \
|
|
|
|
sl_ncurses.7t sl_postgres.7t sl_rand.7t sl_readline.7t
|
2002-05-06 19:33:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-11-18 22:29:35 +00:00
|
|
|
.if ${OSVERSION} >= 600000
|
|
|
|
BROKEN= "Coredump during build on FreeBSD >= 6.x"
|
|
|
|
.endif
|
|
|
|
|
2002-05-06 19:33:55 +00:00
|
|
|
.if ${OSVERSION} < 400010
|
|
|
|
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
|
|
|
|
.endif
|
|
|
|
|
2003-07-24 12:39:43 +00:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|= -module$$|= -module -avoid-version|g'
|
|
|
|
|
2002-05-06 19:33:55 +00:00
|
|
|
.include <bsd.port.post.mk>
|