mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
fd1bb952c7
With hat: portmgr Pointyhat to: bapt
45 lines
957 B
Makefile
45 lines
957 B
Makefile
# Created by: jasone
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= onyx
|
|
PORTVERSION= 5.1.2
|
|
PORTREVISION= 3
|
|
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= libedit.so:${PORTSDIR}/devel/libedit \
|
|
libpcre.so:${PORTSDIR}/devel/pcre
|
|
|
|
USES= tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
|
|
--with-pcre-prefix=${LOCALBASE}
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_SUB= ONYX_VERSION=${PORTVERSION}
|
|
|
|
MAN1= onyx.1 onyx_config.1
|
|
|
|
NO_STAGE= yes
|
|
|
|
BROKEN_ia64= Coredump during build on ia64
|
|
|
|
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.mk>
|