Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2013 16:36:06 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        lichray@gmail.com
Subject:   ports/179410: [PATCH] textproc/pure-xml: New Uses pure, add license
Message-ID:  <20130607143609.2F8FC52F@hub.freebsd.org>
Resent-Message-ID: <201306071440.r57Ee2p7044307@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179410
>Category:       ports
>Synopsis:       [PATCH] textproc/pure-xml: New Uses pure, add license
>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:   Fri Jun 07 14:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Bump portrevision
- Shorten header
- Trim master sites
- Add license
- New Uses pure
- Add docs and examples
- Trim pkg-descr

Port maintainer (lichray@gmail.com) is cc'd.

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130607022201-45216/

>Fix:

--- pure-xml-0.6_2.patch begins here ---
diff -ruN /usr/ports/textproc/pure-xml/Makefile ./Makefile
--- /usr/ports/textproc/pure-xml/Makefile	2013-06-02 19:01:08.000000000 +0200
+++ ./Makefile	2013-06-07 16:32:13.000000000 +0200
@@ -1,24 +1,41 @@
-# New ports collection makefile for:	pure-xml
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD: head/textproc/pure-xml/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
 
 PORTNAME=	pure-xml
 PORTVERSION=	0.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
+#MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
+MASTER_SITES=	https://pure-lang.googlecode.com/files/
+DIST_SUBDIR=	pure
 
 MAINTAINER=	lichray@gmail.com
 COMMENT=	Pure language interface for libxml2 and libxslt
 
-USE_PURE=	yes
+LICENSE=	GPLv3 LGPL3
+LICENSE_COMB=	dual
+
+USES=		pure
 USE_GNOME=	libxml2 libxslt
 
 PLIST_FILES=	lib/pure/xml.pure \
 		lib/pure/xml.so
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+PORTDOCS=	README
+
+PORTEXAMPLES=	*
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+.endif
+
+.include <bsd.port.mk>
diff -ruN /usr/ports/textproc/pure-xml/pkg-descr ./pkg-descr
--- /usr/ports/textproc/pure-xml/pkg-descr	2013-06-02 19:01:08.000000000 +0200
+++ ./pkg-descr	2013-04-06 03:51:16.000000000 +0200
@@ -3,4 +3,4 @@
 libraries, and supplies all the necessary data structures and operations to
 inspect, create, modify and transform XML documents with ease.
 
-WWW:	http://docs.pure-lang.googlecode.com/hg/pure-xml.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-xml.html
--- pure-xml-0.6_2.patch ends here ---

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



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