blob: d91240c5a2ffa8595a6c921a998830c0ae0fd1be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= mime4j
PORTVERSION= 0.7.2
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
LICENSE= APACHE20
RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
OPTIONS_DEFINE= DOCS
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION}
PLIST_FILES= %%JAVAJARDIR%%/apache-${PORTNAME}-core.jar \
%%JAVAJARDIR%%/apache-${PORTNAME}-dom.jar \
%%JAVAJARDIR%%/apache-${PORTNAME}-storage.jar
PORTDOCS= *
do-install:
${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-core-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/apache-${PORTNAME}-core.jar
${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-dom-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/apache-${PORTNAME}-dom.jar
${INSTALL_DATA} ${WRKSRC}/apache-${PORTNAME}-storage-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/apache-${PORTNAME}-storage.jar
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|