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