freebsd-ports/lang/lush/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

48 lines
893 B
Makefile

# New ports collection makefile for: lush
# Date created: 20 May 2003
# Whom: David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
PORTNAME= lush
PORTVERSION= 1.2.1
PORTREVISION= 8
CATEGORIES= lang
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A high level object-oriented programming language
USE_GETTEXT= yes
USE_XORG= xt xft
USE_GL= yes
USE_SDL= sdl image
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/lush
CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS} -lintl -L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --without-bfd
MAN1= lush.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not build on sparc64
.endif
post-patch:
@${REINPLACE_CMD} -E -e \
's|opt=.+$$||; \
s|-O3||; \
s|-Wall||; \
s|-pthread|${PTHREAD_LIBS}|' \
${WRKSRC}/configure
pre-install:
@${FIND} ${WRKSRC}/ -name "*.bak" -delete
.include <bsd.port.post.mk>