mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
522fbddcb6
PR: ports/17913 Submitted by: Palle Girgensohn <girgen@partitur.se>
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: JavaMail API Implementation Version 1.1.2
|
|
# Date created: 1999/08/08
|
|
# Whom: Jose Marques
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= javamail
|
|
PORTVERSION= 1.1.3
|
|
CATEGORIES= java
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= noway@nohow.demon.co.uk
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
|
|
${LOCALBASE}/share/java/classes/activation.jar:${PORTSDIR}/java/jaf
|
|
|
|
USE_ZIP= YES
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
JDK_VERSION= 1.1.8
|
|
NO_BUILD= yes
|
|
NO_CDROM= "See the license"
|
|
|
|
PLIST_SUB= PORTVERSION="${PORTVERSION}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE= "You must manually fetch the distribution from http://www.javasoft.com/products/javamail/index.html and place it in ${DISTDIR} then run make again"
|
|
.endif
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}; \
|
|
${MKDIR} ${PREFIX}/share/java/classes/; \
|
|
${CP} ${WRKSRC}/mail.jar ${PREFIX}/share/java/classes/; \
|
|
${MKDIR} ${PREFIX}/share/java/${PKGNAME}/; \
|
|
${CP} CHANGES.txt LICENSE.txt NOTES.txt README.txt ${PREFIX}/share/java/${PKGNAME}/; \
|
|
${CP} -R demo ${PREFIX}/share/java/${PKGNAME}/; \
|
|
${CP} -R docs ${PREFIX}/share/java/${PKGNAME}/
|
|
|
|
.include <bsd.port.post.mk>
|