1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/lang/onyx/Makefile

48 lines
1003 B
Makefile
Raw Normal View History

# Created by: jasone
2001-07-18 09:12:42 +00:00
# $FreeBSD$
PORTNAME= onyx
PORTVERSION= 5.1.2
PORTREVISION= 2
2001-07-18 09:12:42 +00:00
CATEGORIES= lang
MASTER_SITES= http://www.canonware.com/download/onyx/
MAINTAINER= jasone@FreeBSD.org
COMMENT= Embeddable stack-based threaded interpreted language
2001-07-18 09:12:42 +00:00
BUILD_DEPENDS= cook:${PORTSDIR}/devel/cook
LIB_DEPENDS= edit.6:${PORTSDIR}/devel/libedit \
pcre.3:${PORTSDIR}/devel/pcre
2001-07-18 09:12:42 +00:00
USE_BZIP2= yes
2001-07-18 09:12:42 +00:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
--with-pcre-prefix=${LOCALBASE}
USE_LDCONFIG= yes
2001-07-18 09:12:42 +00:00
MAN1= onyx.1 onyx_config.1
2001-07-18 09:12:42 +00:00
2002-02-11 01:34:57 +00:00
PLIST_SUB= ONYX_VERSION=${PORTVERSION}
NO_STAGE= yes
2004-03-07 12:46:35 +00:00
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= Coredump during build on ia64
2004-03-07 12:46:35 +00:00
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
2001-07-18 09:12:42 +00:00
do-build:
2002-02-11 01:34:57 +00:00
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
2001-07-18 09:12:42 +00:00
do-install:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
post-install:
@${STRIP_CMD} ${PREFIX}/bin/onyx
@${CAT} ${PKGMESSAGE}
2001-07-18 09:12:42 +00:00
2004-03-07 12:46:35 +00:00
.include <bsd.port.post.mk>