[89553] trunk/dports/devel/ois/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Feb 2 07:57:15 PST 2012
Revision: 89553
http://trac.macports.org/changeset/89553
Author: ryandesign at macports.org
Date: 2012-02-02 07:57:15 -0800 (Thu, 02 Feb 2012)
Log Message:
-----------
ois: also install OIS.pc file; see #33116
Modified Paths:
--------------
trunk/dports/devel/ois/Portfile
Modified: trunk/dports/devel/ois/Portfile
===================================================================
--- trunk/dports/devel/ois/Portfile 2012-02-02 12:46:31 UTC (rev 89552)
+++ trunk/dports/devel/ois/Portfile 2012-02-02 15:57:15 UTC (rev 89553)
@@ -6,6 +6,7 @@
name ois
version 1.3
+revision 1
categories devel
platforms darwin
maintainers nomaintainer
@@ -60,7 +61,17 @@
destroot {
delete ${worksrcpath}/includes/Makefile.am
- copy ${worksrcpath}/includes/. ${destroot}${prefix}/include/OIS
+ set include_subdir OIS
+ copy ${worksrcpath}/includes ${destroot}${prefix}/include/${include_subdir}
xinstall -m 644 ${worksrcpath}/Mac/XCode-2.2/build/Release/libOIS.a \
${destroot}${prefix}/lib
+
+ set pc ${destroot}${prefix}/lib/pkgconfig/OIS.pc
+ xinstall -m 644 ${worksrcpath}/OIS.pc.in ${pc}
+ reinplace "s|@prefix@|${prefix}|g" ${pc}
+ reinplace "s|@exec_prefix@|\${prefix}|g" ${pc}
+ reinplace "s|@libdir@|\${exec_prefix}/lib|g" ${pc}
+ reinplace "s|@includedir@|\${prefix}/include|g" ${pc}
+ reinplace "s|@VERSION@|${version}|g" ${pc}
+ reinplace "s|@PACKAGE@|${include_subdir}|g" ${pc}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120202/1f407d63/attachment.html>
More information about the macports-changes
mailing list