1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/net/activemq/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

71 lines
1.9 KiB
Makefile

# $FreeBSD$
PORTNAME= activemq
PORTVERSION= 5.15.11
CATEGORIES= net java
MASTER_SITES= APACHE/${PORTNAME}/${PORTVERSION}
DISTNAME= apache-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= -bin.tar.gz
MAINTAINER= tobik@FreeBSD.org
COMMENT= Messaging and Integration Patterns provider
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe
CPE_VENDOR= apache
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
MQDB?= /var/db/activemq
MQUSER?= activemq
MQGROUP?= ${MQUSER}
USERS= ${MQUSER}
GROUPS= ${MQGROUP}
ALL_TARGET= ${PORTNAME}
USE_RC_SUBR= ${PORTNAME}
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
SUB_LIST= MQUSER="${MQUSER}" \
MQGROUP="${MQGROUP}" \
MQDB="${MQDB}"
PLIST_SUB= MQUSER="${MQUSER}" \
MQGROUP="${MQGROUP}" \
MQDB="${MQDB}"
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/bin ${STAGEDIR}${ETCDIR} ${STAGEDIR}${MQDB}
${RM} ${WRKSRC}/conf/log4j.properties.orig
cd ${WRKSRC}/conf && for f in *; do \
${INSTALL_DATA} ${WRKSRC}/conf/$$f ${STAGEDIR}${ETCDIR}/$$f.sample; \
done
${INSTALL_SCRIPT} ${WRKSRC}/bin/activemq* ${STAGEDIR}${DATADIR}/bin
${RLN} ${STAGEDIR}${DATADIR}/bin/activemq ${STAGEDIR}${PREFIX}/bin
${RLN} ${STAGEDIR}${DATADIR}/bin/activemq-diag ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bin/activemq.jar ${WRKSRC}/bin/wrapper.jar \
${STAGEDIR}${DATADIR}/bin
${RLN} ${STAGEDIR}${MQDB} ${STAGEDIR}${DATADIR}/data
${RLN} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${DATADIR}/conf
cd ${WRKSRC} && ${COPYTREE_SHARE} "lib webapps webapps-demo" \
${STAGEDIR}${DATADIR}
do-install-DOCS-on:
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
${RLN} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR}/docs
do-install-EXAMPLES-on:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
${RLN} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples
.include <bsd.port.mk>