aboutsummaryrefslogtreecommitdiff
path: root/java/junit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/junit/Makefile')
-rw-r--r--java/junit/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/junit/Makefile b/java/junit/Makefile
index a4370fb0f357..236ee3d78fad 100644
--- a/java/junit/Makefile
+++ b/java/junit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= junit
PORTVERSION= 4.11
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= GH
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -24,12 +25,15 @@ WRKSRC= ${WRKDIR}/junit-team-junit-c62e2df
PORTDOCS= README.html cpl-v10.html doc javadoc
PORTEXAMPLES= *
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
-PLIST_FILES= %%JAVAJARDIR%%/junit.jar %%DATADIR%%/src.jar
+PLIST_FILES= %%JAVAJARDIR%%/junit.jar \
+ %%JAVAJARDIR%%/junit4.jar \
+ %%DATADIR%%/src.jar
PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT.jar \
${STAGEDIR}${JAVAJARDIR}/junit.jar
+ ${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT-src.jar \
${STAGEDIR}${DATADIR}/src.jar