Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2013 16:20:34 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        lichray@gmail.com
Subject:   ports/179408: [PATCH] math/pure-rational: New Uses pure
Message-ID:  <20130607142037.9FC1EF07@hub.freebsd.org>
Resent-Message-ID: <201306071430.r57EU2FK042260@freefall.freebsd.org>

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

>Number:         179408
>Category:       ports
>Synopsis:       [PATCH] math/pure-rational: New Uses pure
>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:30: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
- New Uses pure
- Add docs
- 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/20130607021601-13230/

>Fix:

--- pure-rational-0.1_2.patch begins here ---
diff -ruN /usr/ports/math/pure-rational/Makefile ./Makefile
--- /usr/ports/math/pure-rational/Makefile	2013-06-02 18:54:10.000000000 +0200
+++ ./Makefile	2013-06-07 16:14:02.000000000 +0200
@@ -1,26 +1,32 @@
-# New ports collection makefile for:	pure-rational
-# Date created:		2011-10-09
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD: head/math/pure-rational/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	pure-rational
 PORTVERSION=	0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
+#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=	Rational number library for the Pure language
 
 LICENSE=	GPLv3
 
-USE_PURE=	yes
-NO_PURE_EXAMPLES=	yes
+USES=		pure
 
 PLIST_FILES=	lib/pure/rational.pure \
 		lib/pure/rat_interval.pure
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+PORTDOCS=	README
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff -ruN /usr/ports/math/pure-rational/pkg-descr ./pkg-descr
--- /usr/ports/math/pure-rational/pkg-descr	2013-06-02 18:54:10.000000000 +0200
+++ ./pkg-descr	2013-04-05 23:05:21.000000000 +0200
@@ -1,4 +1,4 @@
 pure-rational provides additional operations on the rational number type
 provided by the math.pure module in the standard library.
 
-WWW:	http://docs.pure-lang.googlecode.com/hg/pure-rational.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-rational.html
--- pure-rational-0.1_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?20130607142037.9FC1EF07>