Lines 13-32
Link Here
|
13 |
MASTER_SITE_SUBDIR= dtdparse |
13 |
MASTER_SITE_SUBDIR= dtdparse |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/} |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/} |
15 |
|
15 |
|
16 |
MAINTAINER= fuyuki@hadaly.org |
16 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= Parse a DTD and produce an XML document that represents it |
17 |
COMMENT= Parse a DTD and produce an XML document that represents it |
18 |
|
18 |
|
19 |
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/DelimMatch.pm:${PORTSDIR}/textproc/p5-DelimMatch \ |
19 |
RUN_DEPENDS= ${SITE_PERL}/Text/DelimMatch.pm:${PORTSDIR}/textproc/p5-DelimMatch \ |
20 |
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM |
20 |
${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM |
21 |
|
21 |
|
22 |
USE_PERL5= yes |
22 |
USE_PERL5= yes |
23 |
|
23 |
NO_BUILD= yes |
24 |
# pod's are broken |
|
|
25 |
#MAN1= dtdformat.1 dtdparse.1 |
26 |
|
27 |
SITE_PERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER} |
28 |
XMLDIR= ${PREFIX}/share/xml/${PORTNAME} |
24 |
XMLDIR= ${PREFIX}/share/xml/${PORTNAME} |
29 |
|
|
|
30 |
SCRIPTS= dtdflatten dtdformat dtdparse \ |
25 |
SCRIPTS= dtdflatten dtdformat dtdparse \ |
31 |
tools/contentmodel tools/dtdstats tools/elements |
26 |
tools/contentmodel tools/dtdstats tools/elements |
32 |
|
27 |
|
Lines 35-45
Link Here
|
35 |
${PERL} -pi -e 's,/usr/local/bin/perl5,${PERL},' ${SCRIPTS} |
30 |
${PERL} -pi -e 's,/usr/local/bin/perl5,${PERL},' ${SCRIPTS} |
36 |
${PERL} -pi -e 's,modules/,XML/DTDParse/,' ${WRKSRC}/dtdformat |
31 |
${PERL} -pi -e 's,modules/,XML/DTDParse/,' ${WRKSRC}/dtdformat |
37 |
|
32 |
|
38 |
do-build: |
|
|
39 |
#.for i in dtdformat dtdparse |
40 |
# cd ${WRKSRC}; pod2man ${i} >${i}.1 |
41 |
#.endfor |
42 |
|
43 |
do-install: |
33 |
do-install: |
44 |
cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin |
34 |
cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin |
45 |
${MKDIR} ${SITE_PERL}/XML/DTDParse |
35 |
${MKDIR} ${SITE_PERL}/XML/DTDParse |
Lines 50-56
Link Here
|
50 |
${ECHO_CMD} \ |
40 |
${ECHO_CMD} \ |
51 |
'PUBLIC "-//Norman Walsh//DTD DTDParse V2.0//EN" "dtd.dtd"' \ |
41 |
'PUBLIC "-//Norman Walsh//DTD DTDParse V2.0//EN" "dtd.dtd"' \ |
52 |
>${XMLDIR}/catalog |
42 |
>${XMLDIR}/catalog |
53 |
# cd ${WRKSRC}; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 |
|
|
54 |
|
43 |
|
55 |
post-install: |
44 |
post-install: |
56 |
${MKDIR} ${EXAMPLESDIR} |
45 |
${MKDIR} ${EXAMPLESDIR} |