ports/179405: [PATCH] devel/pure-stlvec: New Uses pure, add license
nemysis
nemysis at gmx.ch
Fri Jun 7 14:10:01 UTC 2013
>Number: 179405
>Category: ports
>Synopsis: [PATCH] devel/pure-stlvec: 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:10:00 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:
This Port is deprecated, please look ports/165865
http://docs.pure-lang.googlecode.com/hg/pure-stllib.html
Build log
https://redports.org/buildarchive/20130607020901-44145/
>Fix:
--- pure-stlvec-0.2_1.patch begins here ---
diff -ruN /usr/ports/devel/pure-stlvec/Makefile ./Makefile
--- /usr/ports/devel/pure-stlvec/Makefile 2013-06-02 18:59:04.000000000 +0200
+++ ./Makefile 2013-06-07 15:45:34.000000000 +0200
@@ -1,25 +1,41 @@
-# New ports collection makefile for: pure-stlvec
-# Date created: 2011-10-19
-# Whom: Zhihao Yuan <lichray at gmail.com>
-#
+# Created by: Zhihao Yuan <lichray at gmail.com>
# $FreeBSD: head/devel/pure-stlvec/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
PORTNAME= pure-stlvec
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= devel
+#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= Pure interface to C++ STL vector
-USE_PURE= yes
+LICENSE= BSD
-.include <bsd.port.pre.mk>
+USES= pure
post-patch:
@${REINPLACE_CMD} -e \
's|^PROD_FLAGS =.*|PROD_FLAGS = $$(CPPFLAGS) $$(CFLAGS) $$(LDFLAGS)|' \
${WRKSRC}/Makefile
-.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/devel/pure-stlvec/pkg-descr ./pkg-descr
--- /usr/ports/devel/pure-stlvec/pkg-descr 2013-06-02 18:59:04.000000000 +0200
+++ ./pkg-descr 2013-04-05 21:58:30.000000000 +0200
@@ -2,4 +2,4 @@
Pure expressions, and the C++ Standard Template Library algorithms that act
on them.
-WWW: http://docs.pure-lang.googlecode.com/hg/pure-stlvec.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-stlvec.html
--- pure-stlvec-0.2_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list