freebsd-ports/java/jaf/Makefile
Ernst de Haan e00a1f5402 Cleaned things up here and there.
Switched to USE_JAVA. This fixes PR 35079.
Improved download URL. Changed do-install target a
little. Installing a link to activation.jar in
${PREFIX}/share/java/classes. The real activation.jar
is now in ${PREFIX}/share/java/${PKGNAME}.
Bumped PORTREVISION.

The maintainer has not responded in months, so I took the
freedom to commit this without his approval.

PR:	35079
2002-05-07 22:14:19 +00:00

39 lines
1.0 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.1
PORTREVISION= 1
CATEGORIES= java
MASTER_SITES= #
DISTNAME= ${PORTNAME}1_0_1
MAINTAINER= noway@nohow.demon.co.uk
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://java.sun.com/cgi-bin/download3.cgi?config-file=jaf1_0_1.config&platform=zip&button=continue"
.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>