freebsd-ports/lang/lush/Makefile
Rong-En Fan 50a5e06995 - Update to 1.2.1
- portlint(1)

PR:		ports/105647
Submitted by:	Paul Dlug <paul at aps.org>
Approved by:	David Yeske <dyeske at yahoo.com> (maintainer)
2006-12-05 00:25:04 +00:00

53 lines
1000 B
Makefile

# New ports collection makefile for: lush
# Date created: 20 May 2003
# Whom: David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
PORTNAME= lush
PORTVERSION= 1.2.1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lush
MAINTAINER= dyeske@yahoo.com
COMMENT= A high level object-oriented programming language
USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GL= yes
USE_SDL= sdl image
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/lush
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="${LIBS} ${PTHREAD_LIBS} -lintl -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --without-bfd
MAN1= lush.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not build on sparc64
.endif
.if ${OSVERSION} < 500000
BROKEN= Does not build
.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>