ports/104541: [PATCH] textproc/ltxml: user needs to agree to EULA before download

Thomas Abthorpe thomas at goodking.ca
Wed Oct 18 15:44:00 UTC 2006


>Number:         104541
>Category:       ports
>Synopsis:       [PATCH] textproc/ltxml: user needs to agree to EULA before download
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 18 15:40:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD goodking.goodking.ca 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Mon Oct  2 02:05:54 EDT
>Description:
- user needs to agree to EULA before download
- remove MASTER_SITES
- reformat pkg-descr, update WWW
- pet portlint

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ltxml-1.2.7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/ltxml/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	18 Apr 2005 15:41:52 -0000	1.10
+++ Makefile	18 Oct 2006 15:21:47 -0000
@@ -8,7 +8,6 @@
 PORTNAME=	ltxml
 PORTVERSION=	1.2.7
 CATEGORIES=	textproc
-MASTER_SITES=	ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	XML Toolkit
@@ -34,12 +33,21 @@
 
 .include <bsd.port.pre.mk>
 
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+ECHO_MSG=/usr/bin/printf
+IGNORE=	:\n\
+You have to download the distribution manually from \n\
+http://www.inf.ed.ac.uk/research/isdd/admin/package?download=74.\n\
+Download the file ${DISTNAME}${EXTRACT_SUFX}, and place it in\n\
+${DISTDIR}.\n
+.endif
+
 .ifdef WITH_OPTIMIZED_CFLAGS
 CFLAGS+=	-Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3
 .endif
 
 .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-CFLAGS+=        -fPIC
+CFLAGS+=	-fPIC
 .endif
 
 post-install:
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/textproc/ltxml/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	1 Nov 2000 02:32:33 -0000	1.1
+++ pkg-descr	18 Oct 2006 15:21:47 -0000
@@ -1,23 +1,24 @@
-LT XML is an integrated set of XML tools and a developers' tool-kit, including
-a C-based API.
+LT XML is an integrated set of XML tools and a developers' tool-kit,
+including a C-based API.
 
-The LT XML tool-kit includes stand-alone tools for a wide range of processing
-of well-formed XML documents, including searching and extracting,
-down-translation (e.g. report generation, formatting), tokenising and sorting. 
+The LT XML tool-kit includes stand-alone tools for a wide range of
+processing of well-formed XML documents, including searching and
+extracting, down-translation (e.g. report generation, formatting),
+tokenising and sorting.
 
-Sequences of tool applications can be pipelined together to achieve complex
-results. 
+Sequences of tool applications can be pipelined together to achieve
+complex results.
 
-For special purposes beyond what the pre-constructed tools can achieve,
-extending their functionality and/or creating new tools is easy using the
-LT XML API. Minimal applications require less than one-half page of C code
-to express. 
+For special purposes beyond what the pre-constructed tools can
+achieve, extending their functionality and/or creating new tools
+is easy using the LT XML API. Minimal applications require less
+than one-half page of C code to express.
 
-LT XML provides two views of an XML file; one as a flat stream of markup
-elements and text; a second as a sequence of tree-structured XML elements.
-The two views can be mixed, allowing great flexibility in the manipulation
-of XML documents. It also includes a powerful, yet simple, querying language,
-which allows the user to quickly and easily select those parts of an XML
-document which are of interest. 
+LT XML provides two views of an XML file; one as a flat stream of
+markup elements and text; a second as a sequence of tree-structured
+XML elements.  The two views can be mixed, allowing great flexibility
+in the manipulation of XML documents. It also includes a powerful,
+yet simple, querying language, which allows the user to quickly and
+easily select those parts of an XML document which are of interest.
 
-WWW: http://www.ltg.ed.ac.uk/software/xml/
+WWW: http://www.ltg.ed.ac.uk/software/ltxml/
--- ltxml-1.2.7.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list