pkgsrc/lang/onyx/Makefile

43 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2006/03/04 21:29:55 jlam Exp $
DISTNAME= onyx-${VERS}
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.canonware.com/download/onyx/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.canonware.com/onyx/
COMMENT= Embeddable stack-based threaded interpreted language
2002-11-20 12:57:43 +01:00
BUILD_DEPENDS+= cook-[0-9]*:../../devel/cook
# needs EL_CLIENTDATA in /usr/include/histedit.h
ONLY_FOR_PLATFORM= NetBSD-1.5[YZ]*-* NetBSD-1.6*-* NetBSD-1.7*-* NetBSD-[2-9]*-*
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pcre-prefix=${BUILDLINK_PREFIX.pcre}
BUILDLINK_DEPENDS.pcre?= pcre>=4.0
VERS= 5.1.1
PLIST_SUBST+= VERS=${VERS:Q}
do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
do-install:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
post-install:
@strip ${PREFIX}/bin/onyx
2004-05-02 06:59:23 +02:00
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --disable-threads
.endif
.include "../../mk/bsd.pkg.mk"