# New ports collection makefile for: beepcore-java # Date created: 14 May 2002 # Whom: Kimura Fuyuki # # $FreeBSD$ # PORTNAME= beepcore PORTVERSION= 0.9.08 PORTREVISION= 2 CATEGORIES= net java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME}-java PKGNAMEPREFIX= java- EXTRACT_SUFX= .tgz MAINTAINER= araujo@FreeBSD.org COMMENT= An implementation of BEEP core and BEEP mapping for TCP in Java RUN_DEPENDS= ${JAVALIBDIR}/xercesImpl.jar:${PORTSDIR}/textproc/xerces-j USE_JAVA= yes JAVA_VERSION= 1.3+ NO_BUILD= yes .if !defined(NOPORTDOCS) PORTDOCS= * .endif do-install: ${INSTALL_DATA} ${WRKSRC}/lib/beep*.jar ${JAVAJARDIR} cd ${WRKSRC}/example \ && ${FIND} -s . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \ && ${FIND} -s . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \; ${INSTALL_DATA} ${WRKSRC}/lib/example.jar ${EXAMPLESDIR} post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.txt ${WRKSRC}/*.htm ${DOCSDIR} .if !defined(NOPORTDOCS) cd ${WRKSRC}/doc \ && ${FIND} -s . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ && ${FIND} -s . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; .endif .include