38 lines
950 B
Makefile
38 lines
950 B
Makefile
# $NetBSD: Makefile,v 1.12 2004/05/02 04:59:23 snj Exp $
|
|
|
|
DISTNAME= onyx-${VERS}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.canonware.com/download/onyx/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.canonware.com/onyx/
|
|
COMMENT= Embeddable stack-based threaded interpreted language
|
|
|
|
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]*
|
|
|
|
USE_BUILDLINK3= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-pcre-prefix=${BUILDLINK_PREFIX.pcre}
|
|
# XXX
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
BUILDLINK_DEPENDS.pcre?= pcre>=4.0
|
|
|
|
VERS= 5.0.0
|
|
PLIST_SUBST+= VERS=${VERS}
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
|
|
|
|
do-install:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
|
|
|
|
post-install:
|
|
@strip ${PREFIX}/bin/onyx
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|