aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/pcre/libpcrecpp.p5m44
-rw-r--r--examples/pcre/pcre.p5m (renamed from examples/pcre/libpcre.p5m)26
-rw-r--r--examples/pcre/pcrecpp.p5m21
3 files changed, 22 insertions, 69 deletions
diff --git a/examples/pcre/libpcrecpp.p5m b/examples/pcre/libpcrecpp.p5m
deleted file mode 100644
index 640598c..0000000
--- a/examples/pcre/libpcrecpp.p5m
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# 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 http://www.opensource.org/licenses/CDDL-1.0
-# 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.
-# 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) 2012, Nexenta Systems, Inc. All rights reserved.
-#
-
-
-set name=pkg.fmri value=pkg:/library/libpcrecpp@$(ips_version)
-set name=pkg.summary value="$(summary), C++ library"
-set name=info.upstream-url value="$(home)"
-set name=info.source_url value="$(download)"
-license $(license-file) license="$(license)"
-
-depend fmri=pkg:/library/libpcre@$(ips_version) type=require
-
-file path=usr/include/pcrecpp.h
-file path=usr/include/pcrecpparg.h
-file path=usr/lib/$(MACH64)/libpcrecpp.so.0.0.0
-file path=usr/lib/$(MACH64)/pkgconfig/libpcrecpp.pc
-file path=usr/lib/libpcrecpp.so.0.0.0
-file path=usr/lib/pkgconfig/libpcrecpp.pc
-file path=usr/share/man/man3/pcrecpp.3
-link path=usr/lib/$(MACH64)/libpcrecpp.so target=libpcrecpp.so.0.0.0
-link path=usr/lib/$(MACH64)/libpcrecpp.so.0 target=libpcrecpp.so.0.0.0
-link path=usr/lib/libpcrecpp.so target=libpcrecpp.so.0.0.0
-link path=usr/lib/libpcrecpp.so.0 target=libpcrecpp.so.0.0.0
-
diff --git a/examples/pcre/libpcre.p5m b/examples/pcre/pcre.p5m
index 3362037..c327045 100644
--- a/examples/pcre/libpcre.p5m
+++ b/examples/pcre/pcre.p5m
@@ -1,28 +1,4 @@
-#
-# 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 http://www.opensource.org/licenses/CDDL-1.0
-# 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.
-# 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) 2012, Nexenta Systems, Inc. All rights reserved.
-#
-
-
-set name=pkg.fmri value=pkg:/library/libpcre@$(ips_version)
+set name=pkg.fmri value=pkg:/library/pcre@$(ips_version)
set name=pkg.summary value="$(summary)"
set name=info.upstream-url value="$(home)"
set name=info.source_url value="$(download)"
diff --git a/examples/pcre/pcrecpp.p5m b/examples/pcre/pcrecpp.p5m
new file mode 100644
index 0000000..f985873
--- /dev/null
+++ b/examples/pcre/pcrecpp.p5m
@@ -0,0 +1,21 @@
+
+set name=pkg.fmri value=pkg:/library/pcrecpp@$(ips_version)
+set name=pkg.summary value="$(summary), C++ library"
+set name=info.upstream-url value="$(home)"
+set name=info.source_url value="$(download)"
+license $(license-file) license="$(license)"
+
+depend fmri=pkg:/library/pcre@$(ips_version) type=incorporate
+
+file path=usr/include/pcrecpp.h
+file path=usr/include/pcrecpparg.h
+file path=usr/lib/$(MACH64)/libpcrecpp.so.0.0.0
+file path=usr/lib/$(MACH64)/pkgconfig/libpcrecpp.pc
+file path=usr/lib/libpcrecpp.so.0.0.0
+file path=usr/lib/pkgconfig/libpcrecpp.pc
+file path=usr/share/man/man3/pcrecpp.3
+link path=usr/lib/$(MACH64)/libpcrecpp.so target=libpcrecpp.so.0.0.0
+link path=usr/lib/$(MACH64)/libpcrecpp.so.0 target=libpcrecpp.so.0.0.0
+link path=usr/lib/libpcrecpp.so target=libpcrecpp.so.0.0.0
+link path=usr/lib/libpcrecpp.so.0 target=libpcrecpp.so.0.0.0
+