ports/166040: Update port: lang/nickle to 2.73
KATO Tsuguru
tkato432 at yahoo.com
Tue Mar 13 18:10:09 UTC 2012
>Number: 166040
>Category: ports
>Synopsis: Update port: lang/nickle to 2.73
>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: Tue Mar 13 18:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 2.73
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/lang/nickle/Makefile lang/nickle/Makefile
--- /usr/ports/lang/nickle/Makefile 2012-02-15 16:23:30.000000000 +0900
+++ lang/nickle/Makefile 2012-03-04 03:30:56.000000000 +0900
@@ -6,7 +6,7 @@
#
PORTNAME= nickle
-PORTVERSION= 2.72
+PORTVERSION= 2.73
CATEGORIES= lang
MASTER_SITES= http://www.nickle.org/release/
@@ -17,6 +17,7 @@
USE_GMAKE= yes
GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
# Nickle now has bindings which are likely to pull in libraries that need
# libpthread. Link to it now explicitly, or it wouldn't work at runtime.
@@ -24,4 +25,19 @@
MAN1= nickle.1
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^SUBDIRS/s|examples|| ; \
+ s| -O2||' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NIPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${FIND} . ! \( -name "*Makefile*" -or \
+ -name "*.sgml" \) | ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} \
+ ${EXAMPLESDIR})
+ @${FIND} ${EXAMPLESDIR} -type d | ${XARGS} ${CHMOD} a+rx
+ @${FIND} ${EXAMPLESDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+.endif
+
.include <bsd.port.mk>
diff -urN /usr/ports/lang/nickle/distinfo lang/nickle/distinfo
--- /usr/ports/lang/nickle/distinfo 2012-02-15 16:23:30.000000000 +0900
+++ lang/nickle/distinfo 2012-03-04 02:59:41.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (nickle-2.72.tar.gz) = 23e94ac20743006e3d11319e0a3f239a4a868274455010b217854b28f523e98a
-SIZE (nickle-2.72.tar.gz) = 485042
+SHA256 (nickle-2.73.tar.gz) = 0844d563edd27c7a461c2966cbaeacc56e12c4b2a0c3077a78a2a3c907672e37
+SIZE (nickle-2.73.tar.gz) = 511708
diff -urN /usr/ports/lang/nickle/pkg-plist lang/nickle/pkg-plist
--- /usr/ports/lang/nickle/pkg-plist 2010-07-16 16:26:47.000000000 +0900
+++ lang/nickle/pkg-plist 2012-03-04 03:24:51.000000000 +0900
@@ -10,6 +10,36 @@
include/nickle/ref.h
include/nickle/stack.h
include/nickle/value.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/COPYING
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cribbage.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/erat.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fourfours.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/initializer.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/is-prime.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kaiser.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/menace2.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/miller-rabin.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mutextest.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/numbers.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/polynomial.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prime.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/qbrating.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/randtest.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/restart.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/roman.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa-demo.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rsa.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/skiplisttest.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smlng/COPYING
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smlng/context.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smlng/generate.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smlng/parse.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smlng/test.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle/COPYING
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle/snowflake.5c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle/snowflake.tex
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/turtle/turtle.5c
%%DATADIR%%/COPYING
%%DATADIR%%/abort.5c
%%DATADIR%%/arc4.5c
@@ -17,53 +47,25 @@
%%DATADIR%%/command.5c
%%DATADIR%%/ctype.5c
%%DATADIR%%/factorial.5c
-%%DATADIR%%/prime_sieve.5c
-%%DATADIR%%/examples/COPYING
-%%DATADIR%%/examples/comb.5c
-%%DATADIR%%/examples/cribbage.5c
-%%DATADIR%%/examples/erat.5c
-%%DATADIR%%/examples/initializer.5c
-%%DATADIR%%/examples/is-prime.5c
-%%DATADIR%%/examples/kaiser.5c
-%%DATADIR%%/examples/menace2.5c
-%%DATADIR%%/examples/miller-rabin.5c
-%%DATADIR%%/examples/mutextest.5c
-%%DATADIR%%/examples/numbers.5c
-%%DATADIR%%/examples/polynomial.5c
-%%DATADIR%%/examples/prime.5c
-%%DATADIR%%/examples/qbrating.5c
-%%DATADIR%%/examples/randtest.5c
-%%DATADIR%%/examples/restart.5c
-%%DATADIR%%/examples/roman.5c
-%%DATADIR%%/examples/rsa-demo.5c
-%%DATADIR%%/examples/rsa.5c
-%%DATADIR%%/examples/skiplist.5c
-%%DATADIR%%/examples/skiplisttest.5c
-%%DATADIR%%/examples/smlng/COPYING
-%%DATADIR%%/examples/smlng/context.5c
-%%DATADIR%%/examples/smlng/generate.5c
-%%DATADIR%%/examples/smlng/parse.5c
-%%DATADIR%%/examples/smlng/test.5c
-%%DATADIR%%/examples/sort.5c
-%%DATADIR%%/examples/turtle/COPYING
-%%DATADIR%%/examples/turtle/snowflake.5c
-%%DATADIR%%/examples/turtle/snowflake.tex
-%%DATADIR%%/examples/turtle/turtle.5c
-%%DATADIR%%/examples/fourfours.5c
%%DATADIR%%/file.5c
+%%DATADIR%%/gamma.5c
%%DATADIR%%/history.5c
+%%DATADIR%%/list.5c
%%DATADIR%%/math.5c
%%DATADIR%%/mutex.5c
%%DATADIR%%/parse-args.5c
+%%DATADIR%%/prime_sieve.5c
%%DATADIR%%/printf.5c
%%DATADIR%%/prng.5c
%%DATADIR%%/process.5c
%%DATADIR%%/scanf.5c
+%%DATADIR%%/skiplist.5c
%%DATADIR%%/socket.5c
+%%DATADIR%%/sort.5c
%%DATADIR%%/string.5c
%%DATADIR%%/svg.5c
- at dirrm %%DATADIR%%/examples/turtle
- at dirrm %%DATADIR%%/examples/smlng
- at dirrm %%DATADIR%%/examples
@dirrm %%DATADIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/turtle
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/smlng
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm include/nickle
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list