What does the installer do?
- copies the jenkins.war to /Applications/Jenkins
- create a simple LaunchAgent property file (org.jenkins-ci.plist) and add Jenkins as a service
with a specific JENKINS_HOME location in /Users/Shared/ - start the new Jenkins service after the installation finished
You can find the installer project on github.