1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/java-beepcore/Makefile
Herve Quiroz f0173c9ed6 - Update to bsd.java.mk 2.0
- Use JAVALIBDIR
- CP -> INSTALL_DATA
- Merge do-install and post-install
2005-02-03 22:05:25 +00:00

47 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.07
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}-java
PKGNAMEPREFIX= java-
EXTRACT_SUFX= .tgz
MAINTAINER= ports@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>