2003-07-18 01:20:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2003/07/18 05:20:30 kevlo Exp $
|
2001-09-14 01:58:19 -04:00
|
|
|
|
|
|
|
COMMENT= "regression testing utility for use with the Java language"
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2003-07-18 01:20:30 -04:00
|
|
|
JDK_VERSION= 1.3.1-linux
|
|
|
|
VERSION= 3.8.1
|
2001-09-14 01:58:19 -04:00
|
|
|
DISTNAME= junit${VERSION}
|
|
|
|
PKGNAME= junit-${VERSION}
|
|
|
|
CATEGORIES= java
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.junit.org/
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=junit/}
|
2001-09-14 01:58:19 -04:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
2003-07-18 01:20:30 -04:00
|
|
|
RUN_DEPENDS= :jdk-linux->1.3:devel/jdk/1.3-linux
|
2001-09-14 01:58:19 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2002-10-26 21:02:17 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-09-14 01:58:19 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/java/classes/${PKGNAME}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/java/${PKGNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/java/${PKGNAME}
|
2003-07-18 01:20:30 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/cpl-v10.html ${PREFIX}/share/java/${PKGNAME}
|
2001-09-14 01:58:19 -04:00
|
|
|
cp ${WRKSRC}/*.jar ${PREFIX}/share/java/classes/${PKGNAME}
|
|
|
|
cp -R ${WRKSRC}/doc ${PREFIX}/share/java/${PKGNAME}
|
|
|
|
cp -R ${WRKSRC}/javadoc ${PREFIX}/share/java/${PKGNAME}
|
|
|
|
cp -R ${WRKSRC}/junit ${PREFIX}/share/java/${PKGNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|