Skip site navigation (1)Skip section navigation (2)
Date:      03 Jan 2003 16:00:47 +0100
From:      Henrik Motakef <henrik.motakef@web.de>
To:        Edwin Groothuis <edwin@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/38332: New Port: TEI P4 DTD
Message-ID:  <874r8q6zxc.fsf@interim.henrik-motakef.de>
In-Reply-To: <200301031227.h03CRVr5000268@freefall.freebsd.org>
References:  <200301031227.h03CRVr5000268@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis <edwin@FreeBSD.org> writes:

> The checksum for dtd.zip is invalid, please confirm that it's
> still working as expected.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=38332

Here's a patch, depending on the previous one. Would it be easier for
anyone if I would send a complete new shar?

Regards
Henrik



diff -urN /usr/ports/textproc/tei-p4.old/Makefile /usr/ports/textproc/tei-p4/Makefile
--- /usr/ports/textproc/tei-p4.old/Makefile	Fri Jan  3 15:18:36 2003
+++ /usr/ports/textproc/tei-p4/Makefile	Fri Jan  3 15:34:57 2003
@@ -9,8 +9,7 @@
 PORTVERSION=	p4
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.tei-c.org/P4X/DTD/
-DISTFILES=	dtd.zip catalog.tei
-EXTRACT_ONLY=	dtd.zip
+DISTFILES=	dtd.zip
 
 MAINTAINER=	henrik.motakef@web.de
 
@@ -23,7 +22,6 @@
 		MKCATALOG=${MKCATALOG}
 
 DTD=		dtd.zip
-TEICATALOG=	${DISTDIR}/catalog.tei
 SGMLDIR=	${PREFIX}/share/sgml
 INSTDIR=	${SGMLDIR}/${PORTNAME}/${PORTVERSION}
 MKCATALOG=	${PREFIX}/sbin/mkcatalog
@@ -32,10 +30,11 @@
 	@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
 
 do-install:
-	@unzip -a -q -o ${DISTDIR}/${DTD} -d ${INSTDIR}
-	@${SED} -e "s!&DTDpath;!${INSTDIR}/!" ${TEICATALOG} > ${INSTDIR}/catalog
-	@${CHMOD} ${SHAREMODE} ${INSTDIR}
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.dtd ${INSTDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.ent ${INSTDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.dec ${INSTDIR}
+	${INSTALL_DATA} ${WRKSRC}/teicatalog.xml ${INSTDIR}
+	${SED} -e "s!&DTDpath;!${INSTDIR}/!" ${WRKSRC}/catalog.tei > ${INSTDIR}/catalog
 
 post-install:
 	@${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION}
diff -urN /usr/ports/textproc/tei-p4.old/distinfo /usr/ports/textproc/tei-p4/distinfo
--- /usr/ports/textproc/tei-p4.old/distinfo	Fri Jan  3 15:18:36 2003
+++ /usr/ports/textproc/tei-p4/distinfo	Fri Jan  3 14:57:50 2003
@@ -1,2 +1,2 @@
-MD5 (dtd.zip) = c038ac1badb220246616e3291a10e83d
-MD5 (catalog.tei) = d50ddc57706075eab385b05342ae7f28
+MD5 (dtd.zip) = 1c4e64e093c87e7675a2596840e54e98
+MD5 (catalog.tei) = 97cbec6fb50043d40103154f12d9927d
diff -urN /usr/ports/textproc/tei-p4.old/pkg-plist /usr/ports/textproc/tei-p4/pkg-plist
--- /usr/ports/textproc/tei-p4.old/pkg-plist	Fri Jan  3 15:18:36 2003
+++ /usr/ports/textproc/tei-p4/pkg-plist	Fri Jan  3 15:08:51 2003
@@ -52,6 +52,7 @@
 share/sgml/tei/p4/teilite.dec
 share/sgml/tei/p4/teilitex.dec
 share/sgml/tei/p4/catalog
+share/sgml/tei/p4/teicatalog.xml
 @exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%%
 @dirrm share/sgml/tei/p4/
 @unexec rmdir %D/share/sgml/tei 2>/dev/null || true


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874r8q6zxc.fsf>