2013-09-20 19:53:09 +00:00
|
|
|
# Created by: jasone
|
2001-07-18 09:12:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= onyx
|
2006-01-12 09:17:33 +00:00
|
|
|
PORTVERSION= 5.1.2
|
2012-12-10 19:11:11 +00:00
|
|
|
PORTREVISION= 2
|
2001-07-18 09:12:42 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.canonware.com/download/onyx/
|
|
|
|
|
2006-01-12 09:17:33 +00:00
|
|
|
MAINTAINER= jasone@FreeBSD.org
|
2003-02-14 16:06:34 +00:00
|
|
|
COMMENT= Embeddable stack-based threaded interpreted language
|
2001-07-18 09:12:42 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= cook:${PORTSDIR}/devel/cook
|
2006-01-12 09:17:33 +00:00
|
|
|
LIB_DEPENDS= edit.6:${PORTSDIR}/devel/libedit \
|
2012-12-10 19:11:11 +00:00
|
|
|
pcre.3:${PORTSDIR}/devel/pcre
|
2001-07-18 09:12:42 +00:00
|
|
|
|
2003-05-18 01:38:13 +00:00
|
|
|
USE_BZIP2= yes
|
2001-07-18 09:12:42 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-31 13:04:13 +00:00
|
|
|
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
|
2004-01-09 16:12:38 +00:00
|
|
|
--with-pcre-prefix=${LOCALBASE}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2001-07-18 09:12:42 +00:00
|
|
|
|
2002-11-20 13:02:46 +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}
|
|
|
|
|
2013-09-20 19:53:09 +00:00
|
|
|
NO_STAGE= yes
|
2004-03-07 12:46:35 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
2010-06-13 08:40:06 +00:00
|
|
|
BROKEN= Coredump during build on ia64
|
2004-03-07 12:46:35 +00:00
|
|
|
.endif
|
|
|
|
|
2003-01-31 13:04:13 +00:00
|
|
|
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:
|
2002-11-20 13:02:46 +00:00
|
|
|
@${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>
|