View | Details | Raw Unified | Return to bug 177920
Collapse All | Expand All

(-)textproc/dtdinst/Makefile (-23 / +33 lines)
Lines 1-37 Link Here
1
# New ports collection makefile for:   dtdinst
1
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
2
# Date created:                3 February 2002
3
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
4
#
5
# $FreeBSD: head/textproc/dtdinst/Makefile 300897 2012-07-14 14:29:18Z beat $
2
# $FreeBSD: head/textproc/dtdinst/Makefile 300897 2012-07-14 14:29:18Z beat $
6
#
7
3
8
PORTNAME=	dtdinst
4
PORTNAME=	dtdinst
9
PORTVERSION=	2003.06.19
5
PORTVERSION=	2009.11.11
10
PORTREVISION=	2
11
CATEGORIES=	textproc java
6
CATEGORIES=	textproc java
12
MASTER_SITES=	http://www.thaiopensource.com/download/
7
MASTER_SITES=	GOOGLE_CODE
13
DISTNAME=	${PORTNAME}-20030619
8
PROJECTHOST=	jing-trang
14
EXTRACT_SUFX=	.zip
9
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
15
10
16
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Converts DTDs to XML instance, in a specific or RELAX NG format
12
COMMENT=	Converts DTDs to XML instance, in a specific or RELAX NG format
18
13
19
USE_ZIP=	YES
14
LICENSE=	BSD
20
USE_JAVA=	yes
15
LICENSE_FILE=	${WRKSRC}/copying.txt
16
17
OPTIONS_DEFINE=	DOCS EXAMPLES
18
21
NO_BUILD=	yes
19
NO_BUILD=	yes
22
WRKSRC=		${WRKDIR}/${DISTNAME}
20
21
USE_ZIP=	yes
22
USE_JAVA=	yes
23
24
PORTDOCS=	*
25
PORTEXAMPLES=	*
26
PLIST_FILES=	%%JAVAJARDIR%%/dtdinst.jar share/xsl/dtdinst/dtdinst2rng.xsl
27
PLIST_DIRS=	share/xsl/dtdinst
28
PLIST_DIRSTRY=	share/xsl
29
30
.include <bsd.port.options.mk>
23
31
24
do-install:
32
do-install:
25
	${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR}
33
	(cd ${WRKSRC} && ${INSTALL_DATA} *.jar ${JAVAJARDIR})
26
	${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
34
	@${MKDIR} ${PREFIX}/share/xsl/dtdinst
27
	${INSTALL_DATA} ${WRKSRC}/*.xsl ${PREFIX}/share/xsl/${PORTNAME}
35
	(cd ${WRKSRC} && ${INSTALL_DATA} *.xsl ${PREFIX}/share/xsl/dtdinst)
28
36
.if ${PORT_OPTIONS:MDOCS}
29
post-install:
37
	@${MKDIR} ${DOCSDIR}
30
.if !defined(NOPORTDOCS)
38
.for i in dtdinst.rnc.txt dtdinst.rng index.html teixml.dtd.txt
31
	${MKDIR} ${DOCSDIR}
39
	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
32
	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
40
.endfor
33
	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
41
.endif
34
	${INSTALL_DATA} ${WRKSRC}/dtdinst.rng ${DOCSDIR}
42
.if ${PORT_OPTIONS:MEXAMPLES}
43
	@${MKDIR} ${EXAMPLESDIR}
44
	(cd ${WRKSRC}/example && ${INSTALL_DATA} * ${EXAMPLESDIR})
35
.endif
45
.endif
36
46
37
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)textproc/dtdinst/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dtdinst-20030619.zip) = fdaee0e3efaf14698d88f8c3e077041740e7f725fe936ff2458653a46d112a92
1
SHA256 (dtdinst-20091111.zip) = b9387901dee4dce7fbb6cac6d7f7a6ca93c7555034fd394b00d95b7bed394b5b
2
SIZE (dtdinst-20030619.zip) = 179776
2
SIZE (dtdinst-20091111.zip) = 239791
(-)textproc/dtdinst/pkg-plist (-10 lines)
Lines 1-10 Link Here
1
%%JAVAJARDIR%%/dtdinst.jar
2
share/xsl/dtdinst/dtdinst2rng.xsl
3
@dirrm share/xsl/dtdinst
4
@dirrmtry share/xsl
5
%%PORTDOCS%%%%DOCSDIR%%/copying.txt
6
%%PORTDOCS%%%%DOCSDIR%%/index.html
7
%%PORTDOCS%%%%DOCSDIR%%/dtdinst.rng
8
%%PORTDOCS%%%%DOCSDIR%%/dtdinst.rnc.txt
9
%%PORTDOCS%%%%DOCSDIR%%/teixml.dtd.txt
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 177920