Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
case "$1" in
install|uninstall|upgrade|activate )
echo "`date` $@" >> ~/.macports.log
;;
*)
esac
/opt/local/bin/port $@
@mvgrimes
mvgrimes / build.log
Created May 7, 2013 17:11
PDL 2.006 build log under MacPorts
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5.14 5.14.2_2 exists in the ports tree
:debug:main perl5.14 5.14.2_2 +universal is the latest installed
:debug:main perl5.14 5.14.2_2 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5.14
:debug:main OS darwin/12.3.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
@mvgrimes
mvgrimes / PKGBUILD
Created November 19, 2013 16:25
Revised PKGBUILD for Text::Glob that supports local::lib
# Maintainer: jsteel <mail at jsteel dot org>
# Contributor: Alan Young <[email protected]>
pkgname='perl-text-glob'
pkgver='0.09'
pkgrel='3'
pkgdesc="match globbing patterns against text"
_dist=Text-Glob
arch=('any')
license=('PerlArtistic' 'GPL')
@mvgrimes
mvgrimes / PKGBUILD
Created November 19, 2013 16:34
Updated PKGBUILD for perl-math-calc-units that supports local::lib, etc.
# Maintainer: sh0 <[email protected]>
pkgname=perl-math-calc-units
pkgver=1.07
pkgrel=1
pkgdesc="Human-readable unit-aware calculator"
_dist=Math-Calc-Units
arch=('any')
url="http://search.cpan.org/dist/$_dist"
license=('unknown')
depends=('perl>=5.10.0')
@mvgrimes
mvgrimes / SassMeister-input-HTML.html
Created November 4, 2014 21:43
Generated by SassMeister.com.
<div id="container">
<ul>
<li>one</li>
<li>two</li>
<li>three</li>
<li>four</li>
</ul>
</div>
# Maintainer: KAWAHARA Masashi <anthrax at unixuser.org>
# Contributor: Kevin Piche <kevin at archlinux.org>
# Contributor: K. Piche <kpiche at rogers.com>
# Contributor: Mark Grimes <mgrimes at peculier.com>
pkgname=swatch
pkgver=3.2.3
pkgrel=2
pkgdesc="The active log file monitoring tool"
_dist=swatch
@mvgrimes
mvgrimes / gist:5172dfeb41b0bcb85523
Created June 17, 2015 15:46
ledger mp-gcc48 failure: ./acprep opt make
acprep: INFO: Invoking primary phase: make
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: configure
acprep: INFO: System type is => Darwin
acprep: INFO: Setting up build flavor => opt
Scanning dependencies of target libledger
[ 1%] Building CXX object src/CMakeFiles/libledger.dir/stats.cc.o
In file included from /Users/mgrimes/pkg/ledger/ledger/src/amount.h:57:0,
@mvgrimes
mvgrimes / gist:085a3e5269f8e2cda2ca
Created June 17, 2015 15:49
ledger apple gcc failure: ./acprep opt make
acprep: INFO: Invoking primary phase: make
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: configure
acprep: INFO: System type is => Darwin
acprep: INFO: Setting up build flavor => opt
Scanning dependencies of target libledger
[ 1%] Building CXX object src/CMakeFiles/libledger.dir/stats.cc.o
In file included from /Users/mgrimes/pkg/ledger/ledger/src/stats.cc:34: