summaryrefslogtreecommitdiffstats
path: root/lang/tensile/Makefile
blob: 08fcb9c9e3bb50ec7c5b776f4ef58cd4b8c795d6 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
# ex:ts=8
# Ports collection makefile for:	tensile
# Date created:			May 6, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	tensile
PORTVERSION=	0.9
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	lang
MASTER_SITES=	http://unixpages.org/distfiles/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Programming language designed for especially complex processing texts

LIB_DEPENDS=	utils.1:${PORTSDIR}/lang/libutils

BROKEN=		Segfault during build

USE_AUTOTOOLS=	libltdl:15
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 600000
BROKEN=		"Coredump during build on FreeBSD >= 6.x"
.endif

.if ${OSVERSION} < 400010
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
.endif

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		's|= -module$$|= -module -avoid-version|g'

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud