2001-09-03 20:36:33 +02:00
# New ports collection makefile for: JavaMail API Implementation
1999-11-01 05:22:56 +01:00
# Date created: 1999/08/08
# Whom: Jose Marques
#
1999-11-01 05:27:07 +01:00
# $FreeBSD$
1999-11-01 05:22:56 +01:00
#
2000-04-12 08:21:15 +02:00
PORTNAME = javamail
2001-09-03 20:36:33 +02:00
PORTVERSION = 1.2
1999-11-01 05:22:56 +01:00
CATEGORIES = java
2001-09-03 20:36:33 +02:00
DISTNAME = ${ PORTNAME } -${ PORTVERSION : S /./_/g }
1999-11-01 05:22:56 +01:00
MAINTAINER = noway@nohow.demon.co.uk
2000-04-25 17:22:51 +02:00
RUN_DEPENDS = ${ LOCALBASE } /jdk${ JDK_VERSION } /bin/java:${ PORTSDIR } /java/jdk \
${ LOCALBASE } /share/java/classes/activation.jar:${ PORTSDIR } /java/jaf
1999-11-01 05:22:56 +01:00
USE_ZIP = YES
2000-04-12 08:21:15 +02:00
WRKSRC = ${ WRKDIR } /${ PORTNAME } -${ PORTVERSION }
1999-11-01 05:22:56 +01:00
JDK_VERSION = 1.1.8
NO_BUILD = yes
NO_CDROM = "See the license"
2000-04-25 17:22:51 +02:00
PLIST_SUB = PORTVERSION = " ${ PORTVERSION } "
1999-11-01 05:22:56 +01:00
. i n c l u d e < b s d . p o r t . p r e . m k >
. i f ! e x i s t s ( $ { D I S T D I R } / $ { D I S T N A M E } $ { E X T R A C T _ S U F X } )
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 "
. e n d i f
do-install :
@cd ${ WRKSRC } ; \
${ MKDIR } ${ PREFIX } /share/java/classes/; \
2001-09-03 20:36:33 +02:00
${ CP } ${ WRKSRC } /*.jar ${ PREFIX } /share/java/classes/; \
1999-11-01 05:22:56 +01:00
${ 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 } /
. i n c l u d e < b s d . p o r t . p o s t . m k >