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

(-)tei-p3/Makefile (-7 / +10 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	tei
8
PORTNAME=	tei
9
PORTVERSION=	p3
9
PORTVERSION=	p3
10
PORTREVISION=	1
10
CATEGORIES=	textproc
11
CATEGORIES=	textproc
11
MASTER_SITES=	http://www.tei-c.org/Vault/GL/
12
MASTER_SITES=	http://www.tei-c.org/Vault/GL/
12
DISTNAME=	teip3dtd
13
DISTNAME=	teip3dtd
Lines 14-38 Link Here
14
MAINTAINER=	henrik.motakef@web.de
15
MAINTAINER=	henrik.motakef@web.de
15
COMMENT=	DTD of the Text Encoding Initiative
16
COMMENT=	DTD of the Text Encoding Initiative
16
17
17
RUN_DEPENDS=	${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
18
RUN_DEPENDS=	${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
18
19
19
NO_BUILD=	yes
20
NO_BUILD=	yes
20
NO_WRKSUBDIR=	yes
21
NO_WRKSUBDIR=	yes
21
PLIST_SUB=	DTD_NAME=${PORTNAME} DTD_VERSION=${PORTVERSION} \
22
PLIST_SUB=	XMLCATMGR=${XMLCATMGR} \
22
		MKCATALOG=${MKCATALOG}
23
		DTDDIR=${DTDDIR} \
24
		CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
23
25
24
SGMLDIR=	${PREFIX}/share/sgml
26
SGMLDIR=	${PREFIX}/share/sgml
25
INSTDIR=	${SGMLDIR}/${PORTNAME}/${PORTVERSION}
27
INSTDIR=	${SGMLDIR}/${PORTNAME}/${PORTVERSION}
26
MKCATALOG=	${PREFIX}/sbin/mkcatalog
28
DTDDIR=		${PORTNAME}/${PORTVERSION}
29
XMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
30
CATALOG_PORTS_SGML=	${PREFIX}/share/sgml/catalog.ports
27
31
28
do-install:
32
do-install:
29
	@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
33
	@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
30
	@${INSTALL_MAN} ${WRKSRC}/*.dtd ${INSTDIR}
34
	@${INSTALL_MAN} ${WRKSRC}/*.dtd ${INSTDIR}
31
	@${INSTALL_MAN} ${WRKSRC}/*.ent ${INSTDIR}
35
	@${INSTALL_MAN} ${WRKSRC}/*.ent ${INSTDIR}
32
	@${SED} -e 's!%%INSTDIR%%!${INSTDIR}!' ${FILESDIR}/catalog \
36
	@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}
33
	  > ${INSTDIR}/catalog
34
37
35
post-install:
38
post-install:
36
	@${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION}
39
	${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${DTDDIR}/catalog 
37
40
38
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)tei-p3/pkg-plist (-2 / +2 lines)
Lines 1-4 Link Here
1
@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%%
1
@unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTDDIR%%/catalog
2
share/sgml/tei/p3/p2ents.dtd
2
share/sgml/tei/p3/p2ents.dtd
3
share/sgml/tei/p3/tei2.dtd
3
share/sgml/tei/p3/tei2.dtd
4
share/sgml/tei/p3/teiana2.dtd
4
share/sgml/tei/p3/teiana2.dtd
Lines 47-52 Link Here
47
share/sgml/tei/p3/teitran2.ent
47
share/sgml/tei/p3/teitran2.ent
48
share/sgml/tei/p3/teivers2.ent
48
share/sgml/tei/p3/teivers2.ent
49
share/sgml/tei/p3/catalog
49
share/sgml/tei/p3/catalog
50
@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%%
50
@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTDDIR%%/catalog
51
@dirrm share/sgml/tei/p3
51
@dirrm share/sgml/tei/p3
52
@unexec rmdir %D/share/sgml/tei 2>/dev/null || true
52
@unexec rmdir %D/share/sgml/tei 2>/dev/null || true
(-)tei-p3/files/catalog (-5 / +1 lines)
Lines 1-5 Link Here
1
PUBLIC "-//TEI P3//DTD Main Document Type//EN" "%%INSTDIR%%/tei2.dtd"END-of-tei-p3/files/catalog
1
PUBLIC "-//TEI P3//DTD Main Document Type//EN" "tei2.dtd"
2
exit
3
4
5

Return to bug 53823