2003-02-26 07:24:43 +00:00
|
|
|
# New ports collection makefile for: xdoclet
|
|
|
|
# Date created: Feb 25 2003
|
|
|
|
# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xdoclet
|
2005-11-13 17:25:40 +00:00
|
|
|
PORTVERSION= 1.2.3
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 2
|
2005-11-13 17:25:40 +00:00
|
|
|
PORTEPOCH= 1
|
2003-02-26 07:24:43 +00:00
|
|
|
CATEGORIES= java devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
|
2003-07-17 20:00:30 +00:00
|
|
|
DISTFILES= ${DISTNAME}.zip xjavadoc-${XJAVADOC_VER}.zip
|
2003-02-26 07:24:43 +00:00
|
|
|
|
2005-11-14 00:36:48 +00:00
|
|
|
MAINTAINER= lxv@omut.org
|
2003-02-26 07:24:43 +00:00
|
|
|
COMMENT= Java attribute-oriented code generation engine
|
|
|
|
|
2003-07-23 14:30:29 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
|
2003-02-26 07:24:43 +00:00
|
|
|
|
2005-04-05 00:28:07 +00:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
2003-07-17 20:00:30 +00:00
|
|
|
USE_ZIP= yes
|
2003-02-26 07:24:43 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-11-13 17:25:40 +00:00
|
|
|
XJAVADOC_VER= 1.1
|
2003-07-17 20:00:30 +00:00
|
|
|
|
|
|
|
PLIST_SUB+= XJAVADOC_VER="${XJAVADOC_VER}"
|
|
|
|
|
2005-04-05 00:28:07 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2003-02-26 07:24:43 +00:00
|
|
|
do-install:
|
2005-11-13 17:25:40 +00:00
|
|
|
cd ${WRKSRC}/xdoclet-${PORTVERSION} && ${FIND} lib -name '*xdoclet*' -exec \
|
2005-04-05 00:28:07 +00:00
|
|
|
${INSTALL_DATA} \{} ${JAVAJARDIR} \;
|
2005-11-13 17:25:40 +00:00
|
|
|
cd ${WRKSRC}/xdoclet-${PORTVERSION}/samples && ${FIND} . -type d -exec \
|
2003-02-26 07:24:43 +00:00
|
|
|
${MKDIR} ${EXAMPLESDIR}/\{} \;
|
2005-11-13 17:25:40 +00:00
|
|
|
cd ${WRKSRC}/xdoclet-${PORTVERSION}/samples && ${FIND} . -type f -exec \
|
2003-02-26 07:24:43 +00:00
|
|
|
${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
|
2003-07-17 20:00:30 +00:00
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/xjavadoc-${XJAVADOC_VER}/xjavadoc-${XJAVADOC_VER}.jar \
|
2005-04-05 00:28:07 +00:00
|
|
|
${JAVAJARDIR}
|
2003-02-26 07:24:43 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-11-13 17:25:40 +00:00
|
|
|
cd ${WRKSRC}/xdoclet-${PORTVERSION}/docs && ${FIND} . -type d -exec \
|
2003-02-26 07:24:43 +00:00
|
|
|
${MKDIR} ${DOCSDIR}/\{} \;
|
2005-11-13 17:25:40 +00:00
|
|
|
cd ${WRKSRC}/xdoclet-${PORTVERSION}/docs && ${FIND} . -type f -exec \
|
2003-02-26 07:24:43 +00:00
|
|
|
${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|