1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/tensile/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

54 lines
1.3 KiB
Makefile

# 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://savannah.gnu.org/download/nsl/ \
http://iling.nw.ru/~artem/downloads/ \
http://unixpages.org/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= Programming language designed for especially complex processing texts
LIB_DEPENDS= utils.1:${PORTSDIR}/lang/libutils \
ltdl.4:${PORTSDIR}/devel/libltdl
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
LIBTOOLFLAGS= # none
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} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
.if ${OSVERSION} >= 500113
BROKEN= "Does not install on FreeBSD ${OSVERSION}"
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|= -module$$|= -module -avoid-version|g'
.include <bsd.port.post.mk>