freebsd-ports/lang/lush/Makefile

47 lines
843 B
Makefile
Raw Normal View History

2013-07-26 16:23:12 +02:00
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= lush
PORTVERSION= 1.2.1
2012-06-01 07:26:28 +02:00
PORTREVISION= 9
CATEGORIES= lang
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
2013-07-26 16:23:12 +02:00
COMMENT= High level object-oriented programming language
USES= gettext
USE_XORG= xt xft
USE_GL= yes
USE_SDL= sdl image
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/lush
2013-07-26 16:23:12 +02:00
CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS} -lintl -lfontconfig -L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --without-bfd
MAN1= lush.1
NO_STAGE= yes
2004-04-12 06:28:06 +02:00
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not build on sparc64
2004-04-12 06:28:06 +02:00
.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
2004-04-12 06:28:06 +02:00
.include <bsd.port.post.mk>