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
|
2003-07-09 07:22:22 +02:00
|
|
|
PORTVERSION= 1.3.1
|
|
|
|
#PORTREVISION= 1
|
1999-11-01 05:22:56 +01:00
|
|
|
CATEGORIES= java
|
2002-05-08 00:30:54 +02:00
|
|
|
MASTER_SITES= #
|
2001-09-03 20:36:33 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
|
1999-11-01 05:22:56 +01:00
|
|
|
|
2002-11-07 14:54:08 +01:00
|
|
|
MAINTAINER= java@freebsd.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A set of abstract Java classes that model a mail system
|
1999-11-01 05:22:56 +01:00
|
|
|
|
2002-05-08 00:30:54 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/java/classes/activation.jar:${PORTSDIR}/java/jaf
|
1999-11-01 05:22:56 +01:00
|
|
|
|
|
|
|
USE_ZIP= YES
|
2002-05-08 00:30:54 +02:00
|
|
|
USE_JAVA= 1.1+
|
1999-11-01 05:22:56 +01:00
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
1999-11-01 05:22:56 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_CDROM= "See the license"
|
2002-05-08 00:30:54 +02:00
|
|
|
TARGET_DIR= ${PREFIX}/share/java/${PKGNAME}
|
|
|
|
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
2004-01-13 23:33:36 +01:00
|
|
|
DOWNLOAD_URL= http://java.sun.com/webapps/download/Display?BundleId=8674
|
2000-04-25 17:22:51 +02:00
|
|
|
|
1999-11-01 05:22:56 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
2002-05-08 00:30:54 +02:00
|
|
|
IGNORE= "You must manually fetch the distribution from ${DOWNLOAD_URL} and place it in ${DISTDIR} then run make again"
|
1999-11-01 05:22:56 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2002-05-08 00:30:54 +02:00
|
|
|
${MKDIR} ${TARGET_DIR}
|
|
|
|
${CP} -R ${WRKSRC}/* ${TARGET_DIR}
|
2002-11-07 14:54:08 +01:00
|
|
|
${LN} -sf ${TARGET_DIR}/lib/imap.jar ${PREFIX}/share/java/classes/imap.jar
|
2002-05-08 00:30:54 +02:00
|
|
|
${LN} -sf ${TARGET_DIR}/mail.jar ${PREFIX}/share/java/classes/mail.jar
|
2002-11-07 14:54:08 +01:00
|
|
|
${LN} -sf ${TARGET_DIR}/lib/mailapi.jar ${PREFIX}/share/java/classes/mailapi.jar
|
|
|
|
${LN} -sf ${TARGET_DIR}/lib/pop3.jar ${PREFIX}/share/java/classes/pop3.jar
|
|
|
|
${LN} -sf ${TARGET_DIR}/lib/smtp.jar ${PREFIX}/share/java/classes/smtp.jar
|
1999-11-01 05:22:56 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|