1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net/jcifs/Makefile
Herve Quiroz 7cddb1a284 - Update to 1.1.11 [1]
- Install documentation and examples using ${INSTALL_DATA} rather than ${CP}

PR:		87065 [1]
Submitted by:	Gabor Kovesdan <gabor.kovesdan@t-hosting.hu> [1]
2005-10-09 22:00:48 +00:00

47 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: jCIFS
# Date created: Mar 8, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jcifs
PORTVERSION= 1.1.11
CATEGORIES= net java
MASTER_SITES= http://jcifs.samba.org/src/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= The Java CIFS Client Library
USE_JAVA= yes
JAVA_VERSION= 1.3+
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
NO_BUILD= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-extract:
${RM} ${WRKSRC}/docs/.index.xml.swp
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
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}
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 | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>