1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/mail/mime4j/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

41 lines
1.2 KiB
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= mime4j
PORTVERSION= 0.7.2
CATEGORIES= mail java
MASTER_SITES= APACHE/james/${PORTNAME}
DISTNAME= apache-${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= ale@FreeBSD.org
COMMENT= 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>