diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-01-18 02:49:02 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-01-18 02:49:02 +0000 |
commit | f52c92b1c0d443d8e1ee6682b5b53e5906abc60f (patch) | |
tree | 1f1eb4299065af3e6f066e8afed45296f9aba05c /misc/sssnips | |
parent | Zetacoin is a free open source peer-to-peer electronic cash system that (diff) |
- Update from 0.04 to 0.05
- Convert USE_GMAKE to USES
- Add stage support
while here
- Add a patch to install the files as user (remove -o and -g parameters from install)
PR: ports/185700
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=340144
Diffstat (limited to 'misc/sssnips')
-rw-r--r-- | misc/sssnips/Makefile | 28 | ||||
-rw-r--r-- | misc/sssnips/distinfo | 4 | ||||
-rw-r--r-- | misc/sssnips/files/patch-Makefile | 15 |
3 files changed, 34 insertions, 13 deletions
diff --git a/misc/sssnips/Makefile b/misc/sssnips/Makefile index ee4c7e4171d1..66a88af158a5 100644 --- a/misc/sssnips/Makefile +++ b/misc/sssnips/Makefile @@ -2,24 +2,30 @@ # $FreeBSD$ PORTNAME= sssnips -PORTVERSION= 0.04 +PORTVERSION= 0.05 CATEGORIES= misc -MASTER_SITES= http://devel.ringlet.net/misc/sssnips/ +MASTER_SITES= http://devel.ringlet.net/files/misc/sssnips/ MAINTAINER= ports@FreeBSD.org COMMENT= Shell script snippets written by Peter Pentchev -LICENSE= BSD +LICENSE= BSD2CLAUSE -PROGRAMS= bigfile declean getkey hostsearch mkv noagent qidiff qpr \ - signfiles stun switch-link syspower vcr vcrtty ws -PLIST_FILES= ${PROGRAMS:S@^@bin/@} -MAN1= ${PROGRAMS:S/$/.1/} -MANCOMPRESSED= yes +USE_XZ= yes +USES= gmake +MAKE_ENV= BINGRP=wheel MANDIR=${MANPREFIX}/man/man -USE_GMAKE= 1 +PLIST_FILES= ${PROGRAMS:S@^@bin/@} \ + ${PROGRAMS:S@^@man/man1/@:S@$@.1.gz@} -MAKE_ENV+= BINGRP=wheel MANDIR=${PREFIX}/man/man +PROGRAMS= bigfile csort declean getkey git-ss git-ssnoq git-ssq \ + hostsearch mkv noagent qidiff qpr resock signfiles stun \ + switch-link syspower vcr vcrtty ws + +post-patch: +.for i in vcr.1 vcr.sh + @${REINPLACE_CMD} -e \ + 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/${i} +.endfor -NO_STAGE= yes .include <bsd.port.mk> diff --git a/misc/sssnips/distinfo b/misc/sssnips/distinfo index 35cdca0772b8..fa6055d078f8 100644 --- a/misc/sssnips/distinfo +++ b/misc/sssnips/distinfo @@ -1,2 +1,2 @@ -SHA256 (sssnips-0.04.tar.gz) = 0bcaef6bd7e0c89b1c6acb0ce8291870ca3372bad5a6f9bf47c429d26bb4cf8f -SIZE (sssnips-0.04.tar.gz) = 15255 +SHA256 (sssnips-0.05.tar.xz) = 9ab6872decaa64f87d1a584ccd3ea25de75471dbf7a5e0e5908e1720d1719bfd +SIZE (sssnips-0.05.tar.xz) = 15216 diff --git a/misc/sssnips/files/patch-Makefile b/misc/sssnips/files/patch-Makefile new file mode 100644 index 000000000000..98406d29ae97 --- /dev/null +++ b/misc/sssnips/files/patch-Makefile @@ -0,0 +1,15 @@ +--- ./Makefile.orig 2014-01-18 00:23:54.000000000 -0200 ++++ ./Makefile 2014-01-18 00:24:44.000000000 -0200 +@@ -72,9 +72,9 @@ + + COPY?= -c + STRIP?= -s +-INSTALL_PROGRAM?= ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} +-INSTALL_SCRIPT?= ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} +-INSTALL_DATA?= ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} ++INSTALL_PROGRAM?= ${INSTALL} ${COPY} ${STRIP} -m ${BINMODE} ++INSTALL_SCRIPT?= ${INSTALL} ${COPY} -m ${BINMODE} ++INSTALL_DATA?= ${INSTALL} ${COPY} -m ${SHAREMODE} + + all: ${SCRIPTS} ${MAN1} + |