freebsd-ports/lang/onyx/Makefile
Sergei Kolobov 9a5b6827b0 - Update to 5.0.0 [1]
- Fix pkg-plist
- Give maintainership back to Jason Evans, who is also the author of Onyx

PR:		60877 [1]
Submitted by:	Jason Evans <jasone@canonware.com>
2004-01-09 16:12:38 +00:00

45 lines
1 KiB
Makefile

# New ports collection Makefile for: onyx
# Date created: 15 May 2001
# Whom: jasone
#
# $FreeBSD$
#
PORTNAME= onyx
PORTVERSION= 5.0.0
CATEGORIES= lang
MASTER_SITES= http://www.canonware.com/download/onyx/
MAINTAINER= jasone@canonware.com
COMMENT= Embeddable stack-based threaded interpreted language
BUILD_DEPENDS= cook:${PORTSDIR}/devel/cook
LIB_DEPENDS= edit.5:${PORTSDIR}/devel/libedit \
pcre.0:${PORTSDIR}/devel/pcre
USE_BZIP2= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
--with-pcre-prefix=${LOCALBASE}
INSTALLS_SHLIB= yes
MAN1= onyx.1 onyx_config.1
PLIST_SUB= ONYX_VERSION=${PORTVERSION}
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>