2012-10-23 16:43:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2012/10/23 20:43:52 jasper Exp $
|
2009-06-18 21:09:36 -04:00
|
|
|
|
|
|
|
COMMENT= XMPP real time collaboration server
|
2012-10-23 16:43:52 -04:00
|
|
|
DISTNAME= openfire_src_3_7_1
|
|
|
|
PKGNAME= openfire-3.7.1
|
2009-06-18 21:09:36 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.igniterealtime.org/downloadServlet?filename=openfire/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.igniterealtime.org/projects/openfire/index.jsp
|
|
|
|
|
2011-03-09 11:50:40 -05:00
|
|
|
# ASL 2.0
|
2009-06-18 21:09:36 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2009-06-18 23:03:14 -04:00
|
|
|
NO_REGRESS= yes
|
|
|
|
|
2009-06-18 21:09:36 -04:00
|
|
|
MODULES=java
|
2011-03-09 11:50:40 -05:00
|
|
|
MODJAVA_VER = 1.7+
|
|
|
|
MODJAVA_JRE = Yes
|
2011-09-01 13:18:50 -04:00
|
|
|
MODJAVA_BUILD = ant
|
2009-06-18 21:09:36 -04:00
|
|
|
|
2011-03-09 11:50:40 -05:00
|
|
|
RUN_DEPENDS = java/javaPathHelper
|
2009-06-18 21:09:36 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/openfire_src
|
2011-09-05 02:55:16 -04:00
|
|
|
WRKSRC= ${WRKDIST}/build/
|
2009-06-18 21:09:36 -04:00
|
|
|
|
|
|
|
OPENFIREDEST= ${PREFIX}/openfire
|
|
|
|
DATADIRS= lib logs plugins resources
|
|
|
|
|
|
|
|
pre-install:
|
2011-09-05 02:55:16 -04:00
|
|
|
rm -rf ${WRKDIST}/target/openfire/resources/nativeAuth
|
|
|
|
mv ${WRKDIST}/target/openfire/resources/security ${WRKBUILD}
|
2009-06-18 21:09:36 -04:00
|
|
|
|
|
|
|
do-install:
|
2011-09-05 02:55:16 -04:00
|
|
|
cd ${WRKDIST}/target/openfire && \
|
2009-06-18 21:09:36 -04:00
|
|
|
find ${DATADIRS} -type d \
|
|
|
|
-exec ${INSTALL_DATA_DIR} ${OPENFIREDEST}/{} \; && \
|
|
|
|
find ${DATADIRS} ! -type d \
|
|
|
|
-exec ${INSTALL_DATA} -m 644 {} ${OPENFIREDEST}/{} \;
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/openfire
|
2011-09-05 02:55:16 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/documentation/docs/*-guide.html \
|
2009-06-18 21:09:36 -04:00
|
|
|
${PREFIX}/share/doc/openfire
|
2011-09-05 02:55:16 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/documentation/docs/database.html \
|
2009-06-24 16:49:37 -04:00
|
|
|
${PREFIX}/share/doc/openfire
|
2009-06-18 21:09:36 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openfire/security
|
2011-09-05 02:55:16 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/target/openfire/conf/openfire.xml \
|
2009-06-18 21:09:36 -04:00
|
|
|
${PREFIX}/share/examples/openfire
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/security/* \
|
|
|
|
${PREFIX}/share/examples/openfire/security
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|