#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# See LICENSE.txt included in this distribution for the specific
# language governing permissions and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
#

i pkginfo
i depend

# Create directory structure
d none etc 0755 root sys
d none etc/opengrok 0755 root sys
d none lib 0755 root bin
d none lib/svc 755 root bin
d none lib/svc/method 755 root bin
d none usr 0755 root sys
d none usr/opengrok 0755 root sys
d none usr/opengrok/bin 0755 root bin
d none usr/opengrok/doc 0755 root sys
d none usr/opengrok/lib 0755 root bin
s none usr/opengrok/lib/lib=../lib
d none usr/opengrok/man 0755 root sys
d none usr/opengrok/man/man1 0755 root sys
d none var 0755 root sys
d none var/opengrok 0755 webservd webservd
d none var/opengrok/data 0755 webservd webservd
d none var/opengrok/etc 0755 webservd webservd
d none var/opengrok/log 0755 webservd webservd
d none var/opengrok/src 0755 webservd webservd
d none var/svc 755 root sys
d none var/svc/manifest 755 root sys
d none var/svc/manifest/application 755 root sys
f manifest var/svc/manifest/application/opengrok.xml=platform/solaris/smf/opengrok.xml 444 root sys
f none lib/svc/method/svc-opengrok=platform/solaris/smf/svc-opengrok 555 root bin
f none usr/opengrok/bin/OpenGrok=OpenGrok 0777 bin bin
f none usr/opengrok/doc/logging.properties=logging.properties 0444 root sys
f none usr/opengrok/doc/README.txt=README.txt 0444 root sys
f none usr/opengrok/doc/CHANGES.txt=CHANGES.txt 0444 root sys
f none usr/opengrok/doc/LICENSE.txt=LICENSE.txt 0444 root sys
f none usr/opengrok/doc/NOTICE.txt=NOTICE.txt 0444 root sys
f none usr/opengrok/doc/ctags.config=doc/ctags.config 0444 root sys
f none usr/opengrok/doc/paths.tsv=paths.tsv 0444 root sys
f none usr/opengrok/doc/EXAMPLE.txt=doc/EXAMPLE.txt 0444 root sys
f none usr/opengrok/doc/opengrok-agent.properties=platform/solaris/default/opengrok-agent.properties 0444 root sys
f none usr/opengrok/lib/opengrok.jar=dist/opengrok.jar 0444 root bin
f none usr/opengrok/lib/ant.jar=dist/lib/ant.jar 0444 root bin
f none usr/opengrok/lib/bcel-5.2.jar=lib/bcel-5.2.jar 0444 root bin
f none usr/opengrok/lib/lucene-core-4.7.1.jar=lib/lucene-core-4.7.1.jar 0444 root bin
f none usr/opengrok/lib/lucene-analyzers-common-4.7.1.jar=lib/lucene-analyzers-common-4.7.1.jar 0444 root bin
f none usr/opengrok/lib/lucene-queryparser-4.7.1.jar=lib/lucene-queryparser-4.7.1.jar 0444 root bin
f none usr/opengrok/lib/lucene-suggest-4.7.1.jar=lib/lucene-suggest-4.7.1.jar 0444 root bin
f none usr/opengrok/lib/jrcs.jar=lib/jrcs.jar 0444 root bin
f none usr/opengrok/lib/swing-layout-0.9.jar=lib/swing-layout-0.9.jar 0444 root bin
f none usr/opengrok/lib/ogindexd=platform/solaris/smf/ogindexd 0555 root bin
f none usr/opengrok/man/man1/opengrok.1=dist/opengrok.1 0444 root bin
f none usr/opengrok/lib/source.war=dist/source.war 0444 webservd webservd
