freebsd-ports/net/java-beepcore/Makefile
Marcelo Araujo d2101f2dd8 - Change my mail address to araujo@.
Approved by:	stas (mentor)
2007-06-29 16:29:19 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: beepcore-java
# Date created: 14 May 2002
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#
PORTNAME= beepcore
PORTVERSION= 0.9.08
PORTREVISION= 1
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 <bsd.port.mk>