2011-09-16 06:02:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2011/09/16 10:02:39 espie Exp $
|
2001-09-14 01:58:19 -04:00
|
|
|
|
2007-09-15 20:28:19 -04:00
|
|
|
COMMENT= regression testing utility for use with the Java language
|
2001-09-14 01:58:19 -04:00
|
|
|
|
2011-09-06 12:58:30 -04:00
|
|
|
VERSION= 4.9
|
2001-09-14 01:58:19 -04:00
|
|
|
DISTNAME= junit${VERSION}
|
2011-09-16 06:02:36 -04:00
|
|
|
REVISION= 0
|
2010-10-24 17:06:28 -04:00
|
|
|
PKGNAME= junit-${VERSION}
|
2011-09-06 12:58:30 -04:00
|
|
|
|
2011-08-30 13:16:35 -04:00
|
|
|
CATEGORIES= devel
|
2001-09-14 01:58:19 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.junit.org/
|
|
|
|
|
2011-09-06 12:58:30 -04:00
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
2001-09-14 01:58:19 -04:00
|
|
|
|
2007-04-15 19:08:22 -04:00
|
|
|
# Common Public License - v1.0
|
|
|
|
# Commercial distribution defend and indemnify clauses
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2001-09-14 01:58:19 -04:00
|
|
|
|
2011-09-06 12:58:30 -04:00
|
|
|
# github is bad for getting reliable distfiles from.
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
EXTRACT_SUFX= .zip
|
2001-09-14 01:58:19 -04:00
|
|
|
|
2005-06-17 17:47:29 -04:00
|
|
|
MODULES= java
|
2011-09-06 12:58:30 -04:00
|
|
|
MODJAVA_VER= 1.6+
|
2005-06-17 17:47:29 -04:00
|
|
|
MODJAVA_JRERUN= yes
|
2001-09-14 01:58:19 -04:00
|
|
|
|
2011-09-06 12:58:30 -04:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
2007-04-15 19:08:22 -04:00
|
|
|
|
2011-09-06 12:58:30 -04:00
|
|
|
JAR_DIR= ${PREFIX}/share/java/classes/junit/
|
|
|
|
DOC_DIR= ${PREFIX}/share/java/junit/
|
2001-09-14 01:58:19 -04:00
|
|
|
|
|
|
|
do-install:
|
2011-09-06 12:58:30 -04:00
|
|
|
${INSTALL_DATA_DIR} ${JAR_DIR} ${DOC_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.html ${DOC_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cpl-v10.html ${DOC_DIR}
|
|
|
|
cp ${WRKSRC}/junit-${VERSION}.jar ${JAR_DIR}/junit.jar
|
|
|
|
cp ${WRKSRC}/junit-${VERSION}-src.jar ${JAR_DIR}/junit-src.jar
|
|
|
|
cp -R ${WRKSRC}/doc ${DOC_DIR}
|
|
|
|
cp -R ${WRKSRC}/javadoc ${DOC_DIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|