2004-01-05 04:21:24 +00:00
|
|
|
# New ports collection makefile for: lush
|
|
|
|
# Date created: 20 May 2003
|
2007-07-05 23:39:06 +00:00
|
|
|
# Whom: David Yeske <dyeske@gmail.com>
|
2004-01-05 04:21:24 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lush
|
2006-12-05 00:25:04 +00:00
|
|
|
PORTVERSION= 1.2.1
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 9
|
2004-01-05 04:21:24 +00:00
|
|
|
CATEGORIES= lang
|
2008-03-21 20:30:20 +00:00
|
|
|
MASTER_SITES= SF
|
2004-01-05 04:21:24 +00:00
|
|
|
|
2009-02-02 23:44:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-01-05 04:21:24 +00:00
|
|
|
COMMENT= A high level object-oriented programming language
|
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
2009-01-23 16:28:36 +00:00
|
|
|
USE_XORG= xt xft
|
2004-01-05 04:21:24 +00:00
|
|
|
USE_GL= yes
|
2004-03-07 23:39:10 +00:00
|
|
|
USE_SDL= sdl image
|
2004-01-05 04:21:24 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2006-12-05 00:25:04 +00:00
|
|
|
WRKSRC= ${WRKDIR}/lush
|
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS} -lintl -L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2004-01-05 04:21:24 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --without-bfd
|
|
|
|
|
|
|
|
MAN1= lush.1
|
|
|
|
|
2004-04-12 04:28:06 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
2006-12-05 00:25:04 +00:00
|
|
|
BROKEN= Does not build on sparc64
|
2004-04-12 04:28:06 +00:00
|
|
|
.endif
|
|
|
|
|
2004-01-05 04:21:24 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|opt=.+$$||; \
|
|
|
|
s|-O3||; \
|
|
|
|
s|-Wall||; \
|
|
|
|
s|-pthread|${PTHREAD_LIBS}|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2006-09-20 11:21:59 +00:00
|
|
|
pre-install:
|
|
|
|
@${FIND} ${WRKSRC}/ -name "*.bak" -delete
|
2004-01-05 04:21:24 +00:00
|
|
|
|
2004-04-12 04:28:06 +00:00
|
|
|
.include <bsd.port.post.mk>
|