Index: Makefile =================================================================== RCS file: /var/fcvs/ports/java/junit/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile 28 Mar 2010 10:01:01 -0000 1.17 +++ Makefile 29 Nov 2010 07:57:06 -0000 @@ -6,9 +6,9 @@ # PORTNAME= junit -PORTVERSION= 4.8.1 +PORTVERSION= 4.8.2 CATEGORIES= java devel -MASTER_SITES= SF +MASTER_SITES= http://cloud.github.com/downloads/KentBeck/junit/ #MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}${PORTVERSION} @@ -19,11 +19,12 @@ USE_JAVA= yes NO_BUILD= yes -.include - .if !defined(NOPORTDOCS) PORTDOCS= README.html cpl-v10.html doc javadoc .endif +.if !defined(NOPORTEXAMPLES) +PORTEXAMPLES= * +.endif DATADIR= ${JAVASHAREDIR}/${PORTNAME} PLIST_FILES= %%JAVAJARDIR%%/junit.jar %%DATADIR%%/src.jar PLIST_DIRS= %%DATADIR%% @@ -32,20 +33,14 @@ ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit-${PORTVERSION}.jar ${JAVAJARDIR}/junit.jar ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit-${PORTVERSION}-src.jar ${DATADIR}/src.jar +.if !defined(NOPORTEXAMPLES) cd ${INSTALL_WRKSRC}/junit/samples \ - && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \; + && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ +.endif .if !defined(NOPORTDOCS) cd ${INSTALL_WRKSRC} \ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \; .endif -post-install: - @cd ${INSTALL_WRKSRC}/junit/samples \ - && ${FIND} -s . -type f \ - | ${SED} 's,^\.,${EXAMPLESDIR:S,^${PREFIX}/,,},' >>${TMPPLIST} \ - && ${FIND} -s -d . -type d \ - | ${SED} 's,^\.,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},' >>${TMPPLIST} - -.include +.include Index: distinfo =================================================================== RCS file: /var/fcvs/ports/java/junit/distinfo,v retrieving revision 1.10 diff -u -r1.10 distinfo --- distinfo 28 Mar 2010 10:01:01 -0000 1.10 +++ distinfo 29 Nov 2010 07:56:11 -0000 @@ -1,3 +1,2 @@ -MD5 (junit4.8.1.zip) = 86aae1041d5f36ab9b2fd7f53fb531c6 -SHA256 (junit4.8.1.zip) = 9f7fd084244ab0dfffb94537ea43ab0b7a59b732508dd3e476fdc16d05eba671 -SIZE (junit4.8.1.zip) = 1590118 +SHA256 (junit4.8.2.zip) = c677cc9a08683848299f0e67fe313415de5cbaae5bfd7dee11f7d53bd8ae5107 +SIZE (junit4.8.2.zip) = 1594318