#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2021 Andreas Wacknitz
#

set name=pkg.fmri \
    value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

# We don't deliver 32-bit executables but only libraries:
#file path=usr/bin/$(MACH32)/mkbitmap
#file path=usr/bin/$(MACH32)/potrace
file path=usr/bin/mkbitmap
file path=usr/bin/potrace
file path=usr/include/potracelib.h
link path=usr/lib/$(MACH64)/libpotrace.so target=libpotrace.so.0.0.6
link path=usr/lib/$(MACH64)/libpotrace.so.0 target=libpotrace.so.0.0.6
file path=usr/lib/$(MACH64)/libpotrace.so.0.0.6
link path=usr/lib/libpotrace.so target=libpotrace.so.0.0.6
link path=usr/lib/libpotrace.so.0 target=libpotrace.so.0.0.6
file path=usr/lib/libpotrace.so.0.0.6
file path=usr/share/doc/potrace/placement.pdf
file path=usr/share/man/man1/mkbitmap.1
file path=usr/share/man/man1/potrace.1