freebsd-ports/lang/onyx/Makefile
Martin Wilke 3e4ed01146 - 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

50 lines
1.1 KiB
Makefile

# New ports collection Makefile for: onyx
# Date created: 15 May 2001
# Whom: jasone
#
# $FreeBSD$
#
PORTNAME= onyx
PORTVERSION= 5.1.2
CATEGORIES= lang
MASTER_SITES= http://www.canonware.com/download/onyx/
MAINTAINER= jasone@FreeBSD.org
COMMENT= Embeddable stack-based threaded interpreted language
BUILD_DEPENDS= cook:${PORTSDIR}/devel/cook
LIB_DEPENDS= edit.6:${PORTSDIR}/devel/libedit \
pcre.0:${PORTSDIR}/devel/pcre
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
--with-pcre-prefix=${LOCALBASE}
USE_LDCONFIG= yes
MAN1= onyx.1 onyx_config.1
PLIST_SUB= ONYX_VERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Coredump during build on ia64"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
do-install:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
post-install:
@${STRIP_CMD} ${PREFIX}/bin/onyx
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>