Revision: 77322 http://trac.macports.org/changeset/77322 Author: ryandesign@macports.org Date: 2011-03-27 00:44:09 -0700 (Sun, 27 Mar 2011) Log Message: ----------- bournal: new port, version 1.5; see #28870 Added Paths: ----------- trunk/dports/office/bournal/ trunk/dports/office/bournal/Portfile trunk/dports/office/bournal/files/ trunk/dports/office/bournal/files/patch-bournal.diff Added: trunk/dports/office/bournal/Portfile =================================================================== --- trunk/dports/office/bournal/Portfile (rev 0) +++ trunk/dports/office/bournal/Portfile 2011-03-27 07:44:09 UTC (rev 77322) @@ -0,0 +1,40 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 + +name bournal +version 1.5 +categories office +platforms darwin +maintainers perlhacker.org:sepp +license GPL-3+ +supported_archs noarch + +description bash script journal + +long_description Bournal is a bash script that allows you to write, search \ + and edit encrypted journal entries. Bournal has no internet \ + capabilities, and it will probably sass you so hard your \ + mother will weep. + +homepage http://becauseinter.net/bournal/ +master_sites ${homepage} + +checksums sha1 b6483696293bd56e467541201bd1f3fa67d0dfd7 \ + rmd160 087c355dca401de8a84cdc7f88359a972bc5e250 + +use_configure no + +patchfiles patch-bournal.diff + +build {} + +destroot { + xinstall -m 640 ${worksrcpath}/bournal.1.gz ${destroot}${prefix}/share/man/man1 + xinstall -m 755 -W ${worksrcpath} bournal bournal-convert ${destroot}${prefix}/bin + + set docdir ${destroot}${prefix}/share/doc/${name} + xinstall -d ${docdir} + xinstall -m 644 -W ${worksrcpath} LICENSE README changelog.txt ${docdir} +} Property changes on: trunk/dports/office/bournal/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: trunk/dports/office/bournal/files/patch-bournal.diff =================================================================== --- trunk/dports/office/bournal/files/patch-bournal.diff (rev 0) +++ trunk/dports/office/bournal/files/patch-bournal.diff 2011-03-27 07:44:09 UTC (rev 77322) @@ -0,0 +1,29 @@ +--- bournal.orig 2011-03-22 21:50:10.000000000 +0100 ++++ bournal 2011-03-22 21:54:09.000000000 +0100 +@@ -1,6 +1,14 @@ + #!/bin/bash + VERSION="Bournal 1.5, Codename: Sudo-cide" + ++unset LANG ++unset LC_COLLATE ++unset LC_CTYPE ++unset LC_MESSAGES ++unset LC_MONETARY ++unset LC_NUMERIC ++unset LC_TIME ++ + # parameter check + if [ -n "$1" -a "$1" != "-h" -a "$1" != "-i" -a "$1" != "-l" -a "$1" != "-ls" -a "$1" != "-lst" -a "$1" != "-d" -a "$1" != "-f" -a "$1" != "-fi" -a "$1" != "-r" -a "$1" != "-p" -a "$1" != "--help" -a "$1" != "-v" -a "$1" != "--version" -a "$1" != "--heh" ]; then + echo 'Invalid parameter. Type bournal -h for help.' +@@ -166,9 +174,9 @@ + + posty () + { +- EDCHK="$(md5sum "$FILE" | cut -d" " -f1)" ++ EDCHK="$(md5 "$FILE" | cut -d" " -f4)" + "$EDITOR" "$FILE" +- EDCHK2="$(md5sum "$FILE" | cut -d" " -f1)" ++ EDCHK2="$(md5 "$FILE" | cut -d" " -f4)" + gpg --passphrase "$PASS" -c "$FILE" 2>/dev/null + rm -f "$FILE" + if [ "$EDCHK" = "$EDCHK2" ]; then
participants (1)
-
ryandesign@macports.org