aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/jcifs/Makefile13
-rw-r--r--net/jcifs/distinfo4
2 files changed, 10 insertions, 7 deletions
diff --git a/net/jcifs/Makefile b/net/jcifs/Makefile
index 865cfee736de..dd9dc4e67cc7 100644
--- a/net/jcifs/Makefile
+++ b/net/jcifs/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= jcifs
-PORTVERSION= 1.1.9
+PORTVERSION= 1.1.11
CATEGORIES= net java
MASTER_SITES= http://jcifs.samba.org/src/
EXTRACT_SUFX= .tgz
@@ -26,14 +26,17 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
.endif
+post-extract:
+ ${RM} ${WRKSRC}/docs/.index.xml.swp
+
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
+ cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
- ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
- @${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \;
+ cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
@${FIND} ${EXAMPLESDIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
diff --git a/net/jcifs/distinfo b/net/jcifs/distinfo
index a23eadffe8d6..f1411afd52d1 100644
--- a/net/jcifs/distinfo
+++ b/net/jcifs/distinfo
@@ -1,2 +1,2 @@
-MD5 (jcifs-1.1.9.tgz) = 03635496161d2b151c7d573f0bd3a036
-SIZE (jcifs-1.1.9.tgz) = 1310488
+MD5 (jcifs-1.1.11.tgz) = 2d28241cd3b7d2f068fce16553e6ac79
+SIZE (jcifs-1.1.11.tgz) = 623199