Skip to content

Instantly share code, notes, and snippets.

@fumi
Created February 20, 2010 06:59
Show Gist options
  • Save fumi/309555 to your computer and use it in GitHub Desktop.
Save fumi/309555 to your computer and use it in GitHub Desktop.
--- Portfile.bak 2010-02-20 15:56:50.000000000 +0900
+++ Portfile 2010-02-20 15:57:15.000000000 +0900
@@ -15,12 +15,12 @@
checksums md5 2e056df3a25335872c66e2057a2dade7
#extract.suffix .zip
#use_zip yes
-extract {system "mkdir -p ${workdir}/qkc-1.0.0"
- system "cd ${workdir}/qkc-1.0.0 && \
+extract {system "mkdir -p ${workpath}/qkc-1.0.0"
+ system "cd ${workpath}/qkc-1.0.0 && \
unzip -q ${distpath}/${distfiles}"}
configure {}
build.target {}
-post-build {system "cd ${workdir}/qkc-1.0.0 && \
+post-build {system "cd ${workpath}/qkc-1.0.0 && \
gzip qkc.1"}
pre-destroot {xinstall -d -m 755 ${destroot}/${prefix}/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment