2001-07-18 11:12:42 +02:00
|
|
|
# New ports collection Makefile for: onyx
|
|
|
|
# Date created: 15 May 2001
|
|
|
|
# Whom: jasone
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= onyx
|
2006-01-12 10:17:33 +01:00
|
|
|
PORTVERSION= 5.1.2
|
2012-12-10 20:11:11 +01:00
|
|
|
PORTREVISION= 2
|
2001-07-18 11:12:42 +02:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.canonware.com/download/onyx/
|
|
|
|
|
2006-01-12 10:17:33 +01:00
|
|
|
MAINTAINER= jasone@FreeBSD.org
|
2003-02-14 17:06:34 +01:00
|
|
|
COMMENT= Embeddable stack-based threaded interpreted language
|
2001-07-18 11:12:42 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= cook:${PORTSDIR}/devel/cook
|
2006-01-12 10:17:33 +01:00
|
|
|
LIB_DEPENDS= edit.6:${PORTSDIR}/devel/libedit \
|
2012-12-10 20:11:11 +01:00
|
|
|
pcre.3:${PORTSDIR}/devel/pcre
|
2001-07-18 11:12:42 +02:00
|
|
|
|
2003-05-18 03:38:13 +02:00
|
|
|
USE_BZIP2= yes
|
2001-07-18 11:12:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-31 14:04:13 +01:00
|
|
|
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
|
2004-01-09 17:12:38 +01: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 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-07-18 11:12:42 +02:00
|
|
|
|
2002-11-20 14:02:46 +01:00
|
|
|
MAN1= onyx.1 onyx_config.1
|
2001-07-18 11:12:42 +02:00
|
|
|
|
2002-02-11 02:34:57 +01:00
|
|
|
PLIST_SUB= ONYX_VERSION=${PORTVERSION}
|
|
|
|
|
2004-03-07 13:46:35 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
2010-06-13 10:40:06 +02:00
|
|
|
BROKEN= Coredump during build on ia64
|
2004-03-07 13:46:35 +01:00
|
|
|
.endif
|
|
|
|
|
2003-01-31 14:04:13 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
|
2001-07-18 11:12:42 +02:00
|
|
|
do-build:
|
2002-02-11 02:34:57 +01:00
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
|
2001-07-18 11:12:42 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
|
|
|
|
|
|
|
|
post-install:
|
2002-11-20 14:02:46 +01:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/onyx
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-07-18 11:12:42 +02:00
|
|
|
|
2004-03-07 13:46:35 +01:00
|
|
|
.include <bsd.port.post.mk>
|