ports/179406: [PATCH] math/pure-mpfr: New Uses pure, add license
nemysis
nemysis at gmx.ch
Fri Jun 7 14:20:02 UTC 2013
>Number: 179406
>Category: ports
>Synopsis: [PATCH] math/pure-mpfr: 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:20: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 at 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/20130607050800-2454/
>Fix:
--- pure-mpfr-0.4_1.patch begins here ---
diff -ruN /usr/ports/math/pure-mpfr/Makefile ./Makefile
--- /usr/ports/math/pure-mpfr/Makefile 2013-06-02 18:54:13.000000000 +0200
+++ ./Makefile 2013-06-07 16:08:19.000000000 +0200
@@ -1,24 +1,42 @@
-# New ports collection makefile for: pure-mpfr
-# Date created: 2011-10-19
-# Whom: Zhihao Yuan <lichray at gmail.com>
-#
+# Created by: Zhihao Yuan <lichray at gmail.com>
# $FreeBSD: head/math/pure-mpfr/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
PORTNAME= pure-mpfr
PORTVERSION= 0.4
+PORTREVISION= 1
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 at gmail.com
COMMENT= Multiprecision floats for Pure
-USE_PURE= yes
+LICENSE= GPLv3 LGPL3
+LICENSE_COMB= dual
+
+MAKE_ARGS+= libdir="${PREFIX}/lib"
+
+USES= pkgconfig pure
PLIST_FILES= lib/pure/mpfr.pure \
lib/pure/mpfr.so
-MAKE_ARGS+= libdir="${PREFIX}/lib"
+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.pre.mk>
-.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN /usr/ports/math/pure-mpfr/pkg-descr ./pkg-descr
--- /usr/ports/math/pure-mpfr/pkg-descr 2013-06-02 18:54:13.000000000 +0200
+++ ./pkg-descr 2013-04-05 23:10:43.000000000 +0200
@@ -2,4 +2,4 @@
mpfr numbers or values) available in Pure, so that they work with the other
types of Pure numbers in an almost seamless fashion.
-WWW: http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html
--- pure-mpfr-0.4_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list