2004-01-05 05:21:24 +01:00
|
|
|
# New ports collection makefile for: lush
|
|
|
|
# Date created: 20 May 2003
|
2007-07-06 01:39:06 +02:00
|
|
|
# Whom: 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
|
2008-03-13 15:28:35 +01:00
|
|
|
PORTREVISION= 2
|
2004-01-05 05:21:24 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= lush
|
|
|
|
|
2007-07-06 01:39:06 +02:00
|
|
|
MAINTAINER= dyeske@gmail.com
|
2004-01-05 05:21:24 +01:00
|
|
|
COMMENT= A high level object-oriented programming language
|
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
2004-01-05 05:21:24 +01:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
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
|
|
|
|
|
2004-01-05 05:21:24 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LIBS="${LIBS} ${PTHREAD_LIBS} -lintl -L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --without-bfd
|
|
|
|
|
|
|
|
MAN1= lush.1
|
|
|
|
|
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>
|