2002-02-07 02:40:48 +01:00
|
|
|
# New ports collection makefile for: dtd2relax
|
|
|
|
# Date created: 2 February 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dtd2relax
|
|
|
|
PORTVERSION= 1.1.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2005-02-05 04:04:05 +01:00
|
|
|
CATEGORIES= textproc java
|
2002-02-07 02:40:48 +01:00
|
|
|
MASTER_SITES= http://www.horobi.com/Projects/RELAX/Archive/
|
2002-04-04 07:17:22 +02:00
|
|
|
DISTNAME= ${PORTNAME:U}_${PORTVERSION:S/./_/g}
|
|
|
|
DISTFILES= ${JARFILE} ${DISTNAME}-src${EXTRACT_SUFX}
|
2002-02-07 02:40:48 +01:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX}
|
|
|
|
|
2003-02-15 14:00:46 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= DTD to RELAX converter for Java
|
2002-02-07 02:40:48 +01:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
2005-02-05 03:58:37 +01:00
|
|
|
USE_JAVA= yes
|
2002-02-07 02:40:48 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-04-04 07:17:22 +02:00
|
|
|
JARFILE= ${DISTNAME}-bin-XML4J.jar
|
2004-07-13 00:48:27 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
2002-02-07 02:40:48 +01:00
|
|
|
|
|
|
|
do-install:
|
2003-02-15 14:00:46 +01:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${JAVAJARDIR}/${PORTNAME}.jar
|
2002-02-07 02:40:48 +01:00
|
|
|
|
2004-07-13 00:48:27 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-02-07 02:40:48 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
2004-07-13 00:48:27 +02:00
|
|
|
.endif
|
2002-02-07 02:40:48 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|