1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/net/java-beepcore/Makefile
Greg Lewis 9aa97d0a2a . Use %%JAVAJARDIR%% in the packing list now that bsd.java.mk sets it.
. While I'm here:
  . Use PORTDOCS to greatly simplify the packing list.
  . Use %%EXAMPLESDIR%% in the packing list rather than the equivalent
    hardcoded path.
2004-07-09 18:19:58 +00:00

45 lines
1.0 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= ${LOCALBASE}/share/java/classes/xercesImpl.jar:${PORTSDIR}/textproc/xerces-j
USE_JAVA= 1.3+
NO_BUILD= yes
NO_BUILD_DEPENDS_JAVA= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/beep*.jar ${JAVAJARDIR}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lib/example.jar ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/example/* ${EXAMPLESDIR}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${WRKSRC}/*.htm ${DOCSDIR}
.if !defined(NOPORTDOCS)
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>