freebsd-ports/java/jaf/Makefile
2004-01-13 22:42:33 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: JavaBeans Activation Framework (JAF)
# Date created: 1999/08/08
# Whom: Jose Marques
#
# $FreeBSD$
#
PORTNAME= jaf
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= #
DISTNAME= ${PORTNAME}-1_0_2
MAINTAINER= java@freebsd.org
COMMENT= JavaBeansTM Activation Framework
USE_ZIP= YES
USE_JAVA= 1.1+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
NO_CDROM= "See the license"
TARGET_DIR= ${PREFIX}/share/java/${PKGNAME}
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
DOWNLOAD_URL= http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22\&PartDetailId=7017-jaf-1.0.2-oth-JPR\&SiteId=JSC\&TransactionId=noreg
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= "You must manually fetch the distribution from ${DOWNLOAD_URL} and place it in ${DISTDIR} then run make again"
.endif
do-install:
${MKDIR} ${PREFIX}/share/java/classes
${MKDIR} ${TARGET_DIR}
${CP} -R ${WRKSRC}/* ${TARGET_DIR}
${LN} -sf ${TARGET_DIR}/activation.jar ${PREFIX}/share/java/classes/activation.jar
.include <bsd.port.post.mk>