#
# 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.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License 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) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/library/libmilter@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Sendmail Mail Filter API"
set name=pkg.description \
value="The sendmail Mail Filter API (Milter) library allows access to mail messages as they are being processed in order to filter meta-information and content."
set name=com.oracle.info.description value="Sendmail Mail Filter API"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
value=org.opensolaris.category.2008:System/Libraries
set name=info.upstream value="Sendmail community"
set name=info.upstream-url value=http://www.milter.org/
set name=org.opensolaris.arc-caseid value=PSARC/2004/035
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
set name=org.opensolaris.version-unlockable value=true
file libmilter/README path=usr/include/libmilter/README
file include/libmilter/mfapi.h path=usr/include/libmilter/mfapi.h
file include/libmilter/mfdef.h path=usr/include/libmilter/mfdef.h
link path=usr/lib/$(MACH64)/libmilter.so target=libmilter.so.1
file $(MACH64)/$(LIBMILTER_BUILD_DIR)/libmilter/libmilter.so \
path=usr/lib/$(MACH64)/libmilter.so.1
file $(MACH64)/llib-lmilter.ln path=usr/lib/$(MACH64)/llib-lmilter.ln
link path=usr/lib/libmilter.so target=libmilter.so.1
file $(MACH32)/$(LIBMILTER_BUILD_DIR)/libmilter/libmilter.so \
path=usr/lib/libmilter.so.1
file llib-lmilter path=usr/lib/llib-lmilter
file $(MACH32)/llib-lmilter.ln path=usr/lib/llib-lmilter.ln
license LICENSE license=sendmail