diff options
author | Julien Laffaye <jlaffaye@FreeBSD.org> | 2011-06-27 13:29:23 +0000 |
---|---|---|
committer | Julien Laffaye <jlaffaye@FreeBSD.org> | 2011-06-27 13:29:23 +0000 |
commit | f8863d6900c2fa5ec403534dfc24e2b404a1fcad (patch) | |
tree | 8ae08f578bb812ba98223de46f7b7fa22599251c /net/activemq/Makefile | |
parent | 73908f9988a121490fd7cc7556360324cd27c4fe (diff) | |
download | ports-f8863d6900c2fa5ec403534dfc24e2b404a1fcad.tar.gz ports-f8863d6900c2fa5ec403534dfc24e2b404a1fcad.zip |
Notes
Diffstat (limited to 'net/activemq/Makefile')
-rw-r--r-- | net/activemq/Makefile | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/net/activemq/Makefile b/net/activemq/Makefile index 9f517edb539b..8b7c182e5ab2 100644 --- a/net/activemq/Makefile +++ b/net/activemq/Makefile @@ -6,7 +6,7 @@ # PORTNAME= activemq -PORTVERSION= 5.4.2 +PORTVERSION= 5.5.0 CATEGORIES= net java MASTER_SITES= http://www.sai.msu.su/apache/${MASTER_SITE_SUBDIR}/ \ ${MASTER_SITE_APACHE}/${MASTER_SITE_SUBDIR}/ @@ -26,19 +26,46 @@ MQDB= ${PREFIX}/${PORTNAME} DATADIR= ${MQDATA} MQUSER= activemq MQGROUP= ${MQUSER} +USERS= ${MQUSER} +GROUPS= ${MQGROUP} ALL_TARGET= ${PORTNAME} USE_RC_SUBR= ${PORTNAME} PORTDOCS= LICENSE NOTICE README.txt WebConsole-README.txt user-guide.html +ETC_FILES= activemq-command.xml \ + activemq-demo.xml \ + activemq-dynamic-network-broker1.xml \ + activemq-dynamic-network-broker2.xml \ + activemq-jdbc.xml \ + activemq-scalability.xml \ + activemq-security.xml \ + activemq-specjms.xml \ + activemq-static-network-broker1.xml \ + activemq-static-network-broker2.xml \ + activemq-stomp.xml \ + activemq-throughput.xml \ + activemq.xml \ + broker-localhost.cert \ + broker.ks \ + broker.ts \ + camel.xml \ + client.ks \ + client.ts \ + credentials-enc.properties \ + credentials.properties \ + jetty-realm.properties \ + jetty.xml \ + jmx.access \ + jmx.password \ + log4j.properties \ + logging.properties WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION} +SUB_FILES= pkg-install pkg-deinstall +SUB_LIST= ETC_FILES="${ETC_FILES}" do-install: -.for f in linux-x86-32 linux-x86-64 macosx - @${RM} -fr ${WRKSRC}/bin/${f} -.endfor - .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${DOCSDIR}/ @@ -47,10 +74,12 @@ do-install: .endfor .endif -post-install: @${MKDIR} ${MQDATA} ${MQDB} ${MQDATA}/bin ${ETCDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} example ${EXAMPLESDIR}/ - @cd ${WRKSRC}/conf && ${INSTALL_DATA} * ${ETCDIR}/ + +.for f in ${ETC_FILES} + ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${ETCDIR}/${f}.sample +.endfor .for f in ${PORTNAME} ${PORTNAME}-admin @cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} ${f} ${MQDATA}/bin @@ -65,7 +94,9 @@ post-install: @${LN} -sf ${MQDB} ${MQDATA}/data @${LN} -sf ${ETCDIR} ${MQDATA}/conf @${LN} -sf ${EXAMPLESDIR}/example ${MQDATA}/example - @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CHOWN} -Rh ${MQUSER}:${MQGROUP} ${MQDB} ${ETCDIR} ${EXAMPLES} ${MQDATA} +post-install: + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + .include <bsd.port.mk> |