freebsd-ports/textproc/dtd2relax/Makefile

37 lines
916 B
Makefile
Raw Normal View History

# 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
CATEGORIES= textproc
MASTER_SITES= http://www.horobi.com/Projects/RELAX/Archive/
DISTNAME= ${PORTNAME:U}_${PORTVERSION:S/./_/g}
DISTFILES= ${JAR} ${DISTNAME}-src${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX}
MAINTAINER= fuyuki@mj.0038.net
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
USE_ZIP= yes
NO_BUILD= yes
JAR= ${DISTNAME}-bin-XML4J.jar
JAVALIBDIR= ${PREFIX}/share/java/classes
do-install:
${MKDIR} ${JAVALIBDIR}
${INSTALL_DATA} ${DISTDIR}/${JAR} ${JAVALIBDIR}/${PORTNAME}.jar
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.include <bsd.port.mk>