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
|
2003-07-10 12:13:49 +00:00
|
|
|
PORTVERSION= 1.2b3
|
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
|
|
|
|
|
|
|
MAINTAINER= sheldonh@FreeBSD.org
|
|
|
|
COMMENT= Java attribute-oriented code generation engine
|
|
|
|
|
|
|
|
RUN_DEPENDS ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/jakarta-ant
|
|
|
|
|
|
|
|
USE_JAVA= 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
|
|
|
|
NO_BUILD_DEPENDS_JAVA= yes
|
|
|
|
|
|
|
|
CLASSDIR= ${PREFIX}/share/java/classes
|
2003-07-17 20:00:30 +00:00
|
|
|
XJAVADOC_VER= 1.0
|
|
|
|
|
|
|
|
PLIST_SUB+= XJAVADOC_VER="${XJAVADOC_VER}"
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${RMDIR} ${WRKSRC}/docs/stylesheets
|
2003-02-26 07:24:43 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${CLASSDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC} && ${FIND} lib -name '*xdoclet*' -exec \
|
|
|
|
${INSTALL_DATA} \{} ${CLASSDIR} \;
|
|
|
|
cd ${WRKSRC}/samples && ${FIND} . -type d -exec \
|
|
|
|
${MKDIR} ${EXAMPLESDIR}/\{} \;
|
|
|
|
cd ${WRKSRC}/samples && ${FIND} . -type f -exec \
|
|
|
|
${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
|
2003-07-17 20:00:30 +00:00
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/xjavadoc-${XJAVADOC_VER}/xjavadoc-${XJAVADOC_VER}.jar \
|
|
|
|
${CLASSDIR}
|
2003-02-26 07:24:43 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
cd ${WRKSRC}/docs && ${FIND} . -type d -exec \
|
|
|
|
${MKDIR} ${DOCSDIR}/\{} \;
|
|
|
|
cd ${WRKSRC}/docs && ${FIND} . -type f -exec \
|
|
|
|
${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|