2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2006/03/04 21:29:55 jlam Exp $
|
2002-04-03 19:54:10 +02:00
|
|
|
|
|
|
|
DISTNAME= onyx-${VERS}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2002-04-03 19:54:10 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.canonware.com/download/onyx/
|
2004-01-04 04:08:02 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-04-03 19:54:10 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-01-04 04:08:02 +01:00
|
|
|
HOMEPAGE= http://www.canonware.com/onyx/
|
2002-04-03 19:54:10 +02:00
|
|
|
COMMENT= Embeddable stack-based threaded interpreted language
|
|
|
|
|
2002-11-20 12:57:43 +01:00
|
|
|
BUILD_DEPENDS+= cook-[0-9]*:../../devel/cook
|
2002-04-09 15:24:02 +02:00
|
|
|
|
2004-01-04 04:08:02 +01:00
|
|
|
# needs EL_CLIENTDATA in /usr/include/histedit.h
|
2005-12-05 21:49:47 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-1.5[YZ]*-* NetBSD-1.6*-* NetBSD-1.7*-* NetBSD-[2-9]*-*
|
2004-01-04 04:08:02 +01:00
|
|
|
|
2002-04-03 19:54:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-04 04:08:02 +01:00
|
|
|
CONFIGURE_ARGS+= --with-pcre-prefix=${BUILDLINK_PREFIX.pcre}
|
2002-04-03 19:54:10 +02:00
|
|
|
|
2004-01-04 04:08:02 +01:00
|
|
|
BUILDLINK_DEPENDS.pcre?= pcre>=4.0
|
|
|
|
|
2004-06-21 10:48:41 +02:00
|
|
|
VERS= 5.1.1
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= VERS=${VERS:Q}
|
2002-04-03 19:54:10 +02:00
|
|
|
|
|
|
|
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"
|
2004-06-21 10:48:41 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
|
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
.endif
|
|
|
|
|
2002-04-03 19:54:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|