summaryrefslogtreecommitdiff
path: root/lang/onyx
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-30 16:52:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-30 16:52:58 +0000
commitee4b32ebad093abb32e2b2c43ca3f860da4a9e1e (patch)
tree770ab364c67acbf1a53ed8d8fc6501c3c8bbd343 /lang/onyx
parentSupport stage (diff)
chase libedit change with a simple bump as the port build system does not seems to support destdir at all
With hat: portmgr
Notes
Notes: svn path=/head/; revision=352688
Diffstat (limited to 'lang/onyx')
-rw-r--r--lang/onyx/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/lang/onyx/Makefile b/lang/onyx/Makefile
index c919427c44ce..0bde731ff3d8 100644
--- a/lang/onyx/Makefile
+++ b/lang/onyx/Makefile
@@ -3,7 +3,7 @@
PORTNAME= onyx
PORTVERSION= 5.1.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://www.canonware.com/download/onyx/
@@ -11,25 +11,18 @@ 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.3:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libedit.so:${PORTSDIR}/devel/libedit \
+ libpcre.so:${PORTSDIR}/devel/pcre
-USE_BZIP2= yes
+USES= desthack tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
--with-pcre-prefix=${LOCALBASE}
USE_LDCONFIG= yes
-MAN1= onyx.1 onyx_config.1
-
PLIST_SUB= ONYX_VERSION=${PORTVERSION}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64"
-BROKEN= Coredump during build on ia64
-.endif
+BROKEN_ia64= Coredump during build on ia64
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@@ -38,10 +31,7 @@ do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
do-install:
- @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
-
-post-install:
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} cook install)
@${STRIP_CMD} ${PREFIX}/bin/onyx
- @${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>