mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
b093017dc6
Reported by: kris Pointy hat to: me
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: XIncluder
|
|
# Date created: October 18, 2002
|
|
# Whom: Ernst de Haan <znerd@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xincluder
|
|
PORTVERSION= 1.0.d11
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc java
|
|
MASTER_SITES= ftp://ftp.ibiblio.org/pub/languages/java/javafaq/
|
|
DISTNAME= ${PORTNAME}-1.0d11
|
|
|
|
MAINTAINER= znerd@FreeBSD.org
|
|
COMMENT= Java-based XInclude processors
|
|
|
|
BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant
|
|
|
|
USE_JAVA= 1.2+
|
|
|
|
ANT?= ${LOCALBASE}/bin/ant
|
|
.if defined(NOPORTDOCS)
|
|
ANT_TARGET= jar
|
|
.else
|
|
ANT_TARGET= jar javadoc
|
|
.endif
|
|
JAVASHAREDIR= ${PREFIX}/share/java
|
|
JARDIR= ${JAVASHAREDIR}/classes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
|
|
|
|
do-install:
|
|
@${ECHO} -n ">> Installing JAR as ${JARDIR}/${PORTNAME}.jar..."
|
|
@${CP} ${WRKSRC}/${PORTNAME}.jar ${JARDIR}/
|
|
@${ECHO} " [ DONE ]"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${CP} -r ${WRKSRC}/apidoc/* ${DOCSDIR}
|
|
@${ECHO} " [ DONE ]"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|