Index: Portfile
===================================================================
--- Portfile	(revision 91155)
+++ Portfile	(working copy)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       github 1.0
 PortGroup       python 1.0
 
+github.setup    mikemaccana python-docx 0.0.2
 name            py-docx
-version         0.0.2
 python.versions 26 27
 python.default_version 27
 revision        1
@@ -18,14 +19,11 @@
                   but could only find various hacks involving COM automation,\
                   calling .net or Java, or automating OpenOffice or MS Office.
 
-homepage        https://github.com/mikemaccana/python-docx
-
 fetch.type      git
-git.url         ${homepage}.git
 git.branch      7f0781e7a86ba26d69f5e09850ef7e4fc35d3795
 
 livecheck.type  regex
-livecheck.url   https://raw.github.com/mikemaccana/python-docx/master/setup.py
+livecheck.url   ${github.raw}/master/setup.py
 livecheck.regex   {version='(\d+(?:\.\d+)*)'}
 
 if {${name} != ${subport}} {
