aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mime4j/Makefile
blob: 78b85db554f6d2df28445aa1a854a182ed63efc4 (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
42
43
# 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

RUN_DEPENDS=    ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

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=   *

NO_STAGE=   yes
do-install:
    ${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
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>