2014-08-31 15:16:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2014/08/31 19:16:53 jasper Exp $
|
2013-02-05 10:08:45 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
COMMENT= open source message broker implementing JMS 1.1
|
|
|
|
|
2014-08-31 15:16:53 -04:00
|
|
|
V= 5.10.0
|
2013-02-05 10:08:45 -05:00
|
|
|
DISTNAME= apache-activemq-$V
|
|
|
|
|
|
|
|
CATEGORIES= net
|
|
|
|
|
2013-07-14 12:37:01 -04:00
|
|
|
HOMEPAGE= https://activemq.apache.org/
|
|
|
|
|
2013-04-26 08:46:06 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
2013-03-13 12:30:11 -04:00
|
|
|
|
2013-02-05 10:08:45 -05:00
|
|
|
# Apache2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2014-05-20 15:34:48 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=activemq/${V}/}
|
2013-02-05 10:08:45 -05:00
|
|
|
EXTRACT_SUFX= -bin.tar.gz
|
|
|
|
|
|
|
|
MODULES= java
|
|
|
|
MODJAVA_VER= 1.6+
|
|
|
|
|
|
|
|
RUN_DEPENDS= java/javaPathHelper
|
|
|
|
|
|
|
|
SUBST_VARS += V
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2013-02-05 10:08:45 -05:00
|
|
|
|
2013-03-18 06:52:56 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/bin/activemq
|
|
|
|
|
2013-02-05 10:08:45 -05:00
|
|
|
do-install:
|
2013-03-13 14:19:48 -04:00
|
|
|
rm -r ${WRKSRC}/bin/{macosx,linux-x86-*,*.orig} \
|
2013-03-18 06:52:56 -04:00
|
|
|
${WRKSRC}/data
|
2013-02-05 10:08:45 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/activemq/
|
2013-03-13 12:30:11 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/activemq/conf
|
2013-02-05 10:08:45 -05:00
|
|
|
cd ${WRKSRC} && tar cf - * | tar xf - -C ${PREFIX}/activemq/
|
2013-03-18 10:46:28 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/activemq.conf ${PREFIX}/share/examples/activemq/
|
2013-03-13 12:30:11 -04:00
|
|
|
mv ${PREFIX}/activemq/conf ${PREFIX}/share/examples/activemq/
|
2013-03-18 06:52:56 -04:00
|
|
|
cd ${PREFIX}/activemq && ln -sf /var/db/activemq/data data
|
|
|
|
cd ${PREFIX}/activemq && ln -sf /var/db/activemq/tmp tmp
|
|
|
|
cd ${PREFIX}/activemq && ln -sf ${SYSCONFDIR}/activemq conf
|
2013-02-05 10:08:45 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|