2012-12-10 14:18:28 +01:00
|
|
|
# Created by: Alex Dupre <ale@FreeBSD.org>
|
2008-09-03 10:04:41 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mime4j
|
2012-01-13 12:23:08 +01:00
|
|
|
PORTVERSION= 0.7.2
|
2008-09-03 10:04:41 +02:00
|
|
|
CATEGORIES= mail java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
|
|
MASTER_SITE_SUBDIR= james/${PORTNAME}
|
|
|
|
DISTNAME= apache-${PORTNAME}-${PORTVERSION}-bin
|
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
|
|
COMMENT= A Java parser for e-mail message streams
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
|
|
|
|
|
2012-01-09 16:41:08 +01:00
|
|
|
LICENSE= AL2
|
2011-01-10 15:28:55 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2008-09-03 10:04:41 +02:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:18:28 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2008-09-03 10:04:41 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2011-08-09 13:59:59 +02:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/apache-${PORTNAME}-core.jar \
|
|
|
|
%%JAVAJARDIR%%/apache-${PORTNAME}-dom.jar \
|
|
|
|
%%JAVAJARDIR%%/apache-${PORTNAME}-storage.jar
|
2008-09-03 10:04:41 +02:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-09-20 21:59:12 +02:00
|
|
|
NO_STAGE= yes
|
2008-09-03 10:04:41 +02:00
|
|
|
do-install:
|
2011-08-09 13:59:59 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-core-${PORTVERSION}.jar \
|
|
|
|
${JAVAJARDIR}/apache-${PORTNAME}-core.jar
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-dom-${PORTVERSION}.jar \
|
|
|
|
${JAVAJARDIR}/apache-${PORTNAME}-dom.jar
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-storage-${PORTVERSION}.jar \
|
|
|
|
${JAVAJARDIR}/apache-${PORTNAME}-storage.jar
|
2008-09-03 10:04:41 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2011-08-09 13:59:59 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}
|
2008-09-03 10:04:41 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|