# New ports collection makefile for: JBoss Mail Services # Date created: Thu Jan 6 13:39:18 EET 2005 # Whom: Anton Yudin # # $FreeBSD$ # PORTNAME= jboss-mailservices PORTVERSION= m1 PORTREVISION= 1 CATEGORIES= mail java MASTER_SITES= http://www.jboss.org/wiki/attach?page=MailServicesMilestoneReleases/ DISTNAME= ${PORTNAME}-${PORTVERSION}-final MAINTAINER= toha@toha.org.ua COMMENT= JBoss Mail Services RUN_DEPENDS= ${LOCALBASE}/jboss4/server/default/conf/jboss-service.xml:${PORTSDIR}/java/jboss4 USE_JAVA= YES JAVA_VERSION= 1.4+ NO_BUILD= YES USE_ZIP= YES DEPLOY_PATH= ${LOCALBASE}/jboss4/server/default/deploy WRKSRC= ${WRKDIR}/deploy .include do-install: cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL} -d ${DEPLOY_PATH}/'{}' \; && \ ${FIND} . -type f -exec ${INSTALL_DATA} '{}' ${DEPLOY_PATH}/'{}' \; post-install: @${FIND} -s ${WRKSRC}/mail.ear -not -type d 2>/dev/null | \ ${SED} -ne 's,^${WRKSRC},${DEPLOY_PATH:S,^${PREFIX}/,,},p' >> ${TMPPLIST} @${FIND} -s -d ${WRKSRC}/mail.ear -type d 2>/dev/null | \ ${SED} -ne 's,^${WRKSRC},@dirrm ${DEPLOY_PATH:S,^${PREFIX}/,,},p' >> ${TMPPLIST} .include