ports/179411: [PATCH] x11-toolkits/pure-gtk: New Uses pure, add license
nemysis
nemysis at gmx.ch
Fri Jun 7 14:50:02 UTC 2013
>Number: 179411
>Category: ports
>Synopsis: [PATCH] x11-toolkits/pure-gtk: 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:50: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
- Trim comment
- 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/20130607022400-6238/
>Fix:
--- pure-gtk-0.11_1.patch begins here ---
diff -ruN /usr/ports/x11-toolkits/pure-gtk/Makefile ./Makefile
--- /usr/ports/x11-toolkits/pure-gtk/Makefile 2013-06-02 18:55:00.000000000 +0200
+++ ./Makefile 2013-06-07 16:36:37.000000000 +0200
@@ -1,22 +1,40 @@
-# New ports collection makefile for: pure-gtk
-# Date created: 2011-03-18
-# Whom: Zhihao Yuan <lichray at gmail.com>
-#
+# Created by: Zhihao Yuan <lichray at gmail.com>
# $FreeBSD: head/x11-toolkits/pure-gtk/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
PORTNAME= pure-gtk
PORTVERSION= 0.11
+PORTREVISION= 1
CATEGORIES= x11-toolkits
+#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= A set of Pure language bindings for GTK+
+COMMENT= Set of Pure language bindings for GTK+
+
+LICENSE= GPLv3 LGPL3
+LICENSE_COMB= dual
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
-USE_PURE= ffi
+USES= pure:ffi
USE_GNOME= glib20 gtk20 atk pango
-.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/x11-toolkits/pure-gtk/pkg-descr ./pkg-descr
--- /usr/ports/x11-toolkits/pure-gtk/pkg-descr 2013-06-02 18:55:00.000000000 +0200
+++ ./pkg-descr 2013-04-05 23:43:40.000000000 +0200
@@ -2,4 +2,4 @@
with Pure. The bindings include the gtk (+gdk), glib, atk, cairo and pango
libraries, each in their own Pure module.
-WWW: http://docs.pure-lang.googlecode.com/hg/pure-gtk.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-gtk.html
--- pure-gtk-0.11_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list